Browse Source

Export: Use color values in CSS for validation.

Carsten Dominik 17 years ago
parent
commit
5e9d37949b
2 changed files with 6 additions and 3 deletions
  1. 3 0
      lisp/ChangeLog
  2. 3 3
      lisp/org-exp.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-exp.el (org-export-html-style-default): Use color values
+	instead of names for XHTML validation.
+
 	* org.el (org-get-scheduled-time, org-get-deadline-time): New
 	functions.
 	(org-return-follows-link): Revert making this the default untile

+ 3 - 3
lisp/org-exp.el

@@ -560,10 +560,10 @@ Org-mode file."
   .title  { text-align: center; }
   .todo   { color: red; }
   .done   { color: green; }
-  .tag    { background-color:lightblue; font-weight:normal }
+  .tag    { background-color: #add8e6; font-weight:normal }
   .target { }
-  .timestamp { color: grey }
-  .timestamp-kwd { color: CadetBlue }
+  .timestamp { color: #bebebe; }
+  .timestamp-kwd { color: #5f9ea0; }
   p.verse { margin-left: 3% }
   pre {
 	border: 1pt solid #AEBDCC;