Changeset 191


Ignore:
Timestamp:
Dec 4, 2009, 12:41:53 AM (10 years ago)
Author:
carmie
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • web/trunk/trac/htdocs/main.css

    r190 r191  
    6969background-color: #000;
    7070}
     71
     72/***************************************
     73
     74code
     75
     76***************************************/
     77
     78div.code {
     79 background: #333;
     80 border: 1px solid #666;
     81 margin: 1em 1.75em;
     82 padding: .25em;
     83 overflow: auto
     84}
     85
     86div.code pre { margin: 0; }
     87
     88table.code {
     89 border: 1px solid #999;
     90 border-spacing: 0;
     91 border-top: 0;
     92 border-collapse: collapse;
     93 empty-cells: show;
     94 font-size: 12px;
     95 line-height: 130%;
     96 padding: 0;
     97 margin: 0 auto;
     98 table-layout: fixed;
     99 width: 100%;
     100}
     101table.code th {
     102 border-right: 1px solid #666;
     103 border-bottom: 1px solid #998;
     104 font-size: 11px;
     105}
     106table.code th.lineno { width: 4em }
     107table.code thead th {
     108 background: #eee;
     109 border-top: 1px solid #666;
     110 color: #999;
     111 padding: 0 .25em;
     112 text-align: center;
     113 white-space: nowrap;
     114}
     115table.code tbody th {
     116 background: #eed;
     117 color: #886;
     118 font-weight: normal;
     119 padding: 0 .5em;
     120 text-align: right;
     121 vertical-align: top;
     122}
     123table.code tbody th :link, table.code tbody th :visited {
     124 border: none;
     125 color: #886;
     126 text-decoration: none;
     127}
     128table.code tbody th :link:hover, table.code tbody th :visited:hover {
     129 color: #fff;
     130}
     131table.code td {
     132 font: normal 11px monospace;
     133 overflow: hidden;
     134 padding: 1px 2px;
     135 vertical-align: top;
     136}
     137table.code tr.hilite th {
     138 background: #ccf;
     139}
     140table.code tr.hilite td {
     141 background: #ddf;
     142}
     143.image-file { background: #eee; padding: .3em }
     144.image-file img { background: url(../imggrid.png) }
     145
     146/* Default */
     147.code-block span { font-family: monospace; }
     148
     149/* Comments */
     150.code-comment, .css_comment, .c_comment, .c_commentdoc, .c_commentline,
     151.c_commentlinedoc, .h_comment,.pl_commentline, .p_commentblock,
     152.p_commentline, .hphp_comment, .hphp_commentblock, .hphp_commentline,
     153.yaml_comment {
     154 color: #998;
     155 font-style: italic;
     156}
     157
     158/* Language keyword */
     159.code-keyword, .pl_word  { color: #789; font-weight: bold }
     160
     161/* Type */
     162.code-type, .c_word, .c_word2, .p_classname, .hphp_classname{
     163 color: #468;
     164 font-weight: bold;
     165}
     166
     167/* Function */
     168.code-func, .p_defname {
     169 color: #900;
     170 font-weight: bold;
     171 border-bottom: none;
     172}
     173
     174/* Pre-processor */
     175.code-prep, .c_preprocessor, .pl_preprocessor, .yaml_identifier {
     176 color: #999;
     177 font-weight: bold;
     178}
     179
     180/* Language construct */
     181.code-lang, .p_word { color: #fff; font-weight: bold }
     182
     183/* String */
     184.code-string, .c_string, .c_stringeol, .css_doublestring, .css_singlestring,
     185.h_singlestring, .h_doublestring, .pl_string, .pl_string_q, .pl_string_qq,
     186.pl_string_qr, .pl_string_qw, .pl_string_qx, .pl_backticks, .pl_character,
     187.p_string, .p_stringeol, .hphp_string, .hphp_stringeol, .hphp_triple,
     188.hphp_tripledouble, .p_character, .p_triple, .p_tripledouble {
     189 color: #b84;
     190 font-weight: normal;
     191}
     192
     193/* Variable name */
     194.code-var { color: #f9f }
     195
     196/* SilverCity-specific styles */
     197.css_id, .css_class, .css_pseudoclass, .css_tag { color: #900000 }
     198.css_directive { color: #009000; font-weight: bold }
     199.css_important { color: blue }
     200.css_operator { color: #fff090; font-weight: bold }
     201.css_tag { font-weight: bold }
     202.css_unknown_identifier, .css_unknown_pseudoclass { color: red }
     203.css_value { color: navy }
     204.c_commentdockeyword { color: navy; font-weight: bold }
     205.c_commentdockeyworderror { color: red; font-weight: bold }
     206.c_character, .c_regex, .c_uuid, .c_verbatim { color: olive }
     207.c_number { color: #099 }
     208.h_asp { color: #ff0 }
     209.h_aspat { color: #ffdf00 }
     210.h_attribute { color: teal }
     211.h_attributeunknown { color: red }
     212.h_cdata { color: #green }
     213.h_entity { color: purple }
     214.h_number { color: #099 }
     215.h_other { color: purple }
     216.h_script, .h_tag, .h_tagend { color: navy }
     217.h_tagunknown { color: red }
     218.h_xmlend, .h_xmlstart { color: blue }
     219.pl_datasection { color: olive }
     220.pl_error { color: red; font-weight: bold }
     221.pl_hash { color: #fff }
     222.pl_here_delim, .pl_here_q, .pl_here_qq, .pl_here_qx, .pl_longquote { color: olive }
     223.pl_number { color: #099 }
     224.pl_pod { font-style: italic }
     225.pl_regex, .pl_regsubst { color: olive }
     226.p_number { color: #099 }
     227.hphp_character { color: olive }
     228.hphp_defname { color: #099; font-weight: bold }
     229.hphp_number { color: #099 }
     230.hphp_word { color: navy; font-weight: bold }
     231.yaml_document { color: gray; font-style: italic }
     232.yaml_keyword { color: purple}
     233.yaml_number { color: red }
     234.yaml_reference { color: #088 }
     235.v_comment { color: gray; font-style: italic }
     236.v_commentline, .v_commentlinebang { color: red; font-style: italic }
     237.v_number, .v_preprocessor { color: #099 }
     238.v_string, .v_stringeol { color: olive }
     239.v_user{ color: blue; font-weight: bold }
     240.v_word, .v_word3 { color: navy; font-weight: bold }
     241.v_word2 { color: green; font-weight: bold }
Note: See TracChangeset for help on using the changeset viewer.