Mostly done.

This commit is contained in:
Sam Tobin-Hochstadt 2013-12-05 13:42:07 -05:00 committed by Matthew Flatt
parent ed5a6b1fbf
commit 644ae2238b
8 changed files with 26 additions and 21 deletions

View File

@ -203,7 +203,7 @@
@;@link[rel: "stylesheet" href: (resources "style.css")]
@; TODO: Modify `racket-style' definition (and what it depends on)
@; in "resources.rkt", possibly do something similar with the new files
@;@link[rel: "stylesheet" type: "text/css" href: style title: "default"]
@link[rel: "stylesheet" type: "text/css" href: style title: "default"]
@; TODO: Edit the `more.css' definition in www/index.rkt
@; More ideas for your <head> here: h5bp.com/d/head-Tips
@; All JavaScript at the bottom, except for Modernizr / Respond.

View File

@ -56,7 +56,7 @@
;; There are still some clients that look for a favicon.ico file
,(copyfile "resources/plticon.ico" "favicon.ico")
@,pagefile["page-not-found.html"]{
@h1[style: "text-align: center; margin: 3em 0 1em 0;"]{
@h3[style: "text-align: center; margin: 3em 0 1em 0;"]{
Page not found}
@(λ xs (table align: 'center (tr (td (pre xs))))){
> (@a[href: "/"]{(uncaught-exception-handler)}
@ -164,4 +164,11 @@
margin-bottom: 0.5em;
margin-left: 2em;
}
tt {
font-family: Inconsolata;
}
i { font-style: italic; }
})

View File

@ -21,4 +21,5 @@ However, this blank file is available if you prefer
@media only screen and (max-width: 767px) {
.wide_only { display: none; }
.narrow_only { display: block; }
}
}

View File

@ -138,11 +138,11 @@
programs, parts of it require some interpretation to apply to Racket in
detail. The following is how the Racket maintainers interpret the
license.
@~ @ul*{
@~ First, if you distribute your Racket application in source form or as
@~ @blockquote{
@p{First, if you distribute your Racket application in source form or as
compiled bytecode files, the Racket license does not restrict you at
all.
@~ Second, if you distribute your Racket application as compiled binary
all.}
@p{Second, if you distribute your Racket application as compiled binary
generated by @tt{raco exe}, there are no requirements placed on the
licensing of your software. However, the LGPL requires that you make
it possible to re-link your software with modified versions of
@ -154,7 +154,7 @@
compiled bytecode files available to the public or let other people
redistribute them. Furthermore, this is not revealing any more of
your source code than the @tt{raco exe} format, since the bytecode is
embedded in an extractable way in the resulting executable.}
embedded in an extractable way in the resulting executable.}}
@~ We are, of course, not lawyers, and this should not be taken as legal
advice. However, we wanted to make it clear that Racket is an
appropriate building block for all kinds of software, and to clarify how

View File

@ -1,6 +1,6 @@
#lang meta/web
(require "resources.rkt" "people.rkt" "irc.rkt"
(require "resources.rkt" "people.rkt" "irc.rkt" "gumby.rkt"
"../minis/lists.rkt" "../minis/bugs.rkt"
"../stubs/blog.rkt" "../stubs/git.rkt"
(prefix-in pre: "../stubs/pre.rkt"))
@ -11,6 +11,7 @@
#:description
@'{Racket-related community resources: mailing lists, IRC channel, @;
resources for developers, RacketCon, blog, and more.}]{
@columns[12 #:center? #t #:row? #t]{
@mailing-lists-quick
@irc-quick
@parlist[@strong{RacketCon}
@ -44,4 +45,4 @@
@a[href: "http://microsoft.com"]{Microsoft},
@a[href: "http://mozilla.org"]{Mozilla},
and @a[href: "http://google.com"]{Google}
for their generous support over the years.}]})
for their generous support over the years.}]}})

View File

@ -9,7 +9,7 @@
'@{Racket-related learning resources. Introductions to Racket, @;
the Racket Guide, Computer Science textbooks that use Racket, @;
outreach programs, and graduate studies.}]{
@columns[8 #:row? #t]{
@columns[10 #:row? #t]{
@parlist[@strong{Resources for Learning}
(apply parlist @text{Documentation for getting started:} intros)
@text{@-htdp a textbook for introductory programming, but also
@ -52,7 +52,7 @@
@a[href: (person-url person)]{
@(regexp-replace #rx" .*$" (person-name person) "")})
", "))
@columns[8 #:row? #t]{
@columns[12 #:row? #t]{
@h2{Graduate Study with PLT}
@p{An open letter to graduate applicants:}
@div[style: (box-style 3 "#dddddd")]{

View File

@ -2,21 +2,18 @@
(require "resources.rkt")
(define (name . a) (apply span class: 'italic a))
(define name i)
(define (url str) (tt (a href: str str)))
(define styles
@style/inline{
.italic { font-style: italic; }
tt { font-family: Inconsolata; }
.nestedheading {
text-align: center;
font-weight: bold;
font-size: large;
}
.nested {
width: 40%;
margin-left: auto;
margin-right: auto;
margin-top: 1em;
@ -26,7 +23,6 @@
margin-left: auto;
margin-right: auto;
margin-top: 2em;
width: 45%;
}
.faqques {
font-weight: bold;

View File

@ -44,11 +44,11 @@
@(and note @div[style: "margin-top: 1ex; font-size: small;"]{
@note})})
(define ((refblock . title) . body)
@list{@h2{@title}
@list{@h4{@title}
@blockquote{@PRE{@body}}})
(define cite-page
@page[#:file (format "tr~a/" num) #:title tr-name #:part-of 'learning]{
@h1{@title-line[#f]}
@h3{@title-line[#f]}
@p*{@blockquote{@big{@content}}
@~ For citations of the @desc, please use @TT{\cite{plt-tr@num}} in
LaTeX, or @TT|{@cite[plt-tr1]}| in Scribble, using the definitions
@ -75,7 +75,7 @@
#:location (techrpt-location #:institution "PLT Inc."
#:number "|@tr-name")
#:url "|@(url-of cite-page #t)"))}|
@h2{Specific Versions}
@h4{Specific Versions}
@blockquote{
@table[frame: 'box rules: 'rows cellpadding: 10]{
@(for/list ([r (in-list all-releases)])
@ -87,7 +87,7 @@
@p{@small{Reminder: the release dates should not be included in the
entry or the citation.}}}})
@list{@dt{@title-line[#t]}
@dd[style: "margin-bottom: 1.5ex;"]{
@dd[style: "margin-bottom: 1.5ex; margin-left: 40px;"]{
@content}})
(provide techreports)