Skip to content
Browse files

Fixed history list of revisions display (broken in pretty tables patch).

  • Loading branch information...
1 parent 8afd60b commit 57ed384437b493263f0ce936445f7c929d274412 @vsedach committed Nov 30, 2011
Showing with 16 additions and 11 deletions.
  1. +4 −3 src/markup.lisp
  2. +12 −8 static/css/style.css
View
7 src/markup.lisp
@@ -35,9 +35,10 @@
("q" . (("cite" . (:http :https :relative))))))
(defun generate-html-from-markup (markup)
- (princ
- (parse-cliki-markup (sanitize:clean markup +cliki-tags+))
- *html-stream*))
+ #H[<div id="article">]
+ (princ (parse-cliki-markup (sanitize:clean markup +cliki-tags+))
+ *html-stream*)
+ #H[</div>])
(defun parse-cliki-markup (markup)
(loop for prefix in '("_" "_H" "\\*" "\\/" "_P")
View
20 static/css/style.css
@@ -219,16 +219,16 @@
#content a.hyperspec { color: #4040f2;}
#content a.download { color: #00E; font-weight: bold; }
-#content th {
- background:#cfe7fb;
-}
-
-#content table {
+#article table {
background: #F7FBFD;
border: 1px solid #AACC99;
}
-#content td {
+#article th {
+ background:#cfe7fb;
+}
+
+#article td {
background: #ecf4f8;
}
@@ -244,10 +244,14 @@
pre, pre *, .code, .code * { font-family: monospace; }
#pagehistory {
- list-style-type: none;
+ background:none;
+ border:0;
}
-#pagehistory td { padding-right: 0.5em; }
+#pagehistory td {
+ background:none;
+ padding-right: 0.5em;
+}
#pagehistory tr { line-height: 19pt; }

0 comments on commit 57ed384

Please sign in to comment.
Something went wrong with that request. Please try again.