gdritter repos when-computer / 48048c9
Added several new tags + css styles Getty Ritter 9 years ago
2 changed file(s) with 13 addition(s) and 3 deletion(s). Collapse all Expand all
117117 (list (simple-tag 'em)
118118 (simple-tag 'strong)
119119 (simple-tag 'li)
120 (simple-tag 'code)
121120 (simple-tag 'h1)
122121 (simple-tag 'h2)
123122 (list-tag 'sub)
124123 (list-tag 'p)
125124 (list-tag 'ul)
126125 (list-tag 'ol)
126 (simple-tag 'blockquote)
127 (cons 'ttcom (lambda (n) `(span (@ (class comment)) ,n)))
128 (cons 'ttkw (lambda (n) `(span (@ (class keyword)) ,n)))
129 (cons 'ttcn (lambda (n) `(span (@ (class constr)) ,n)))
130 (cons 'ttstr (lambda (n) `(span (@ (class string)) ,n)))
131 (cons 'tt (lambda (n) (list 'code n)))
127132 (cons 'br (lambda _ `(br)))
128 (simple-tag 'blockquote)
133 (cons 'code (lambda (n) `(pre (code ,n))))
129134 (cons 'comment (lambda _ ""))
130135 (cons 'link (lambda (url name)
131136 `(a (@ (href ,(apply string-append url))) ,name)))
158158 (position absolute)
159159 (-webkit-transform "translateX(-100%) translateX(-0.25rem)")
160160 (-ms-transform "translateX(-100%) translateX(-0.25rem)")
161 (transform "translateX(-100%) translateX(-0.25rem)"))))
161 (transform "translateX(-100%) translateX(-0.25rem)"))
162
163 ((= class constr) (color "#993366"))
164 ((= class string) (color "#339966"))
165 ((= class comment) (color "#666666"))
166 ((= class keyword) (color "#336699"))))
162167
163168 ;; the SXML chunk representing the navigation menu
164169 (define menu