Check-in [bb542b80c7]
Not logged in
Overview

SHA1 Hash:bb542b80c70a26286a983fd232fe94fcd1c70419
Date: 2008-05-16 15:54:00
User: stephan
Comment:renamed fossil-verbatim to verbatim for consistency with other CSS elements. Added a reasonable default .verbatim entry.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/style.c from [93f13836b2] to [ba8c800cff].

@@ -304,10 +304,16 @@
 @   padding: 5px 10px 5px 10px;
 @   text-align: right;
 @   background-color: #558195;
 @   color: white;
 @ }
+@
+@ /* <verbatim> blocks */
+@ pre.verbatim {
+@    background-color: #f5f5f5;
+@    padding: 0.5em;
+@}
 @
 @ /* The label/value pairs on (for example) the vinfo page */
 @ table.label-value th {
 @   vertical-align: top;
 @   text-align: right;

Modified src/wikiformat.c from [3a4588a16c] to [33d82dd4cf].

@@ -1021,11 +1021,11 @@
             p->zVerbatimId = 0;
           }
           p->inVerbatim = 1;
           p->preVerbState = p->state;
           p->state &= ~ALLOW_WIKI;
-          blob_append(p->pOut, "<pre class='fossil-verbatim'>",-1);
+          blob_append(p->pOut, "<pre class='verbatim'>",-1);
           p->wantAutoParagraph = 0;
         }else if( markup.iType==MUTYPE_LI ){
           if( backupToType(p, MUTYPE_LIST)==0 ){
             pushStack(p, MARKUP_UL);
             blob_append(p->pOut, "<ul>", 4);