1 /* darcsweb CSS 2 * Alberto Bertogli (albertito@blitiri.com.ar) 3 * 4 * Copied almost entirely from gitweb's, written by Kay Sievers 5 * <kay.sievers@vrfy.org> and Christian Gierke <ch@gierke.de>. 6 */ 7 8 9 body { 10 font-family: sans-serif; 11 font-size: 1em; 12 margin:0px; 13 border:solid #d9d8d1; 14 border-width:1px; 15 margin:0.8em; 16 margin-bottom: 60%; 17 } 18 19 a { 20 color:#0000cc; 21 } 22 23 a:hover, a:visited, a:active { 24 color:#880000; 25 } 26 27 div.page_header { 28 padding:0.5em; 29 font-size:1.5em; 30 font-weight:bold; 31 background-color:#d9d8d1; 32 } 33 34 div.page_header a:hover { 35 color:#880000; 36 } 37 38 div.page_nav { 39 padding:0.5em; 40 } 41 42 div.page_path { 43 padding:0.5em; 44 border:solid #d9d8d1; 45 border-width:0px 0px 1px 46 } 47 48 div.page_footer { 49 overflow:auto; 50 padding:0.25em 0.5em; 51 background-color: #d9d8d1; 52 } 53 54 div.page_footer_text { 55 float:left; 56 color:#555555; 57 font-style:italic; 58 } 59 60 div.page_body { 61 padding:0.5em; 62 } 63 64 div.search_box { 65 float:right; 66 text-align:right; 67 } 68 69 input.search_text { 70 font-size:0.66em; 71 background-color: #edece6; 72 } 73 74 input.search_button { 75 font-size:0.66em; 76 } 77 78 div.title, a.title { 79 display:block; padding:0.5em; 80 font-weight:bold; 81 background-color:#edece6; 82 text-decoration:none; 83 color:#000000; 84 } 85 86 a.title:hover { 87 background-color: #d9d8d1; 88 } 89 90 div.title_text { 91 padding: 0.5em 0; 92 border: solid #d9d8d1; 93 border-width:0px 0px 1px; 94 } 95 96 div.log_body { 97 padding:0.5em; 98 padding-left:10.5em; 99 } 100 101 span.age { 102 position:relative; 103 float:left; 104 width:10em; 105 font-style:italic; 106 } 107 108 div.log_link { 109 padding:0 0 0 0.625em; 110 font-size:0.8em; 111 font-family:sans-serif; 112 font-style:normal; 113 position:relative; 114 float:left; 115 width:12.5em; 116 } 117 118 div.list_head { 119 padding:0.5em; 120 border:solid #d9d8d1; 121 border-width:1px 0px 0px; 122 font-style:italic; 123 } 124 125 a.list { 126 text-decoration:none; 127 color:#000000; 128 } 129 130 a.list:hover { 131 text-decoration:underline; 132 color:#880000; 133 } 134 135 a.line { 136 text-decoration:none; 137 color:#000000; 138 } 139 140 a.line:hover { 141 text-decoration:none; 142 color:#880000; 143 } 144 145 table { 146 /*clear:both;*/ 147 padding:0.5em 0.25em; 148 } 149 150 th { 151 padding:0.25em 0.5em; 152 text-align:left; 153 } 154 155 .light:hover { 156 background-color:#edece6; 157 } 158 159 .dark { 160 background-color:#f6f6f0; 161 } 162 163 .dark:hover { 164 background-color:#edece6; 165 } 166 167 .tag { 168 background-color:#f0f0ff; 169 } 170 171 .tag:hover { 172 background-color:#e0e0ff; 173 } 174 175 td { 176 padding:0.25em 0.5em; 177 } 178 179 td.link { 180 font-size:0.8em; 181 } 182 183 div.pre { 184 font-family:monospace; 185 white-space:pre; 186 } 187 188 div.diff_info { 189 font-family:monospace; 190 color:#000099; 191 background-color:#edece6; 192 font-style:italic; 193 } 194 195 div.index_include { 196 border:solid #d9d8d1; 197 border-width:0px 0px 1px; 198 padding:12px 8px; 199 } 200 201 div.search { 202 margin:4px 8px; 203 position:absolute; 204 top:56px; 205 right:12px; 206 } 207 208 a.linenr, .linenos { 209 color:#999999; 210 text-decoration:none; 211 } 212 213 a.annotate_desc { 214 color:#999999; 215 text-decoration:none; 216 } 217 218 a.annotate_desc:hover { 219 color:#880000; 220 } 221 222 a.rss_logo { 223 float:right; 224 padding:0.25em 0.5em; 225 border:1px outset; 226 color:#ffffff; 227 background-color:#ff6600; 228 font-weight:bold; 229 font-family:sans-serif; 230 font-size:0.8em; 231 text-align:center; 232 text-decoration:none; 233 } 234 235 a.rss_logo:hover { 236 background-color:#ee5500; 237 } 238 239 img.logo { 240 border-width:0; 241 vertical-align:top; 242 margin-left:1em; 243 margin-right:0.25em; 244 } 245 246 247 /* Syntax highlighting related styles. This is highly dependent on what 248 * python-pygments generates. 249 * This was generated using the following commands in a python interpreter and 250 * slightly modified after. 251 * >>> import pygments 252 * >>> pygments.formatters.HtmlFormatter().get_style_defs('.page_body') 253 */ 254 .page_body table { margin: 0; padding: 0;} 255 .page_body pre { margin : 0; padding: 0; } 256 .page_body .c { color: #008800; font-style: italic } /* Comment */ 257 .page_body .err { border: 1px solid #FF0000 } /* Error */ 258 .page_body .k { color: #AA22FF; font-weight: bold } /* Keyword */ 259 .page_body .o { color: #666666 } /* Operator */ 260 .page_body .cm { color: #008800; font-style: italic } /* Comment.Multiline */ 261 .page_body .cp { color: #008800 } /* Comment.Preproc */ 262 .page_body .c1 { color: #008800; font-style: italic } /* Comment.Single */ 263 .page_body .gd { color: #A00000 } /* Generic.Deleted */ 264 .page_body .ge { font-style: italic } /* Generic.Emph */ 265 .page_body .gr { color: #FF0000 } /* Generic.Error */ 266 .page_body .gh { color: #000080; font-weight: bold } /* Generic.Heading */ 267 .page_body .gi { color: #00A000 } /* Generic.Inserted */ 268 .page_body .go { color: #808080 } /* Generic.Output */ 269 .page_body .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ 270 .page_body .gs { font-weight: bold } /* Generic.Strong */ 271 .page_body .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ 272 .page_body .gt { color: #0040D0 } /* Generic.Traceback */ 273 .page_body .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */ 274 .page_body .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */ 275 .page_body .kp { color: #AA22FF } /* Keyword.Pseudo */ 276 .page_body .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */ 277 .page_body .kt { color: #AA22FF; font-weight: bold } /* Keyword.Type */ 278 .page_body .m { color: #666666 } /* Literal.Number */ 279 .page_body .s { color: #BB4444 } /* Literal.String */ 280 .page_body .na { color: #BB4444 } /* Name.Attribute */ 281 .page_body .nb { color: #AA22FF } /* Name.Builtin */ 282 .page_body .nc { color: #0000FF } /* Name.Class */ 283 .page_body .no { color: #880000 } /* Name.Constant */ 284 .page_body .nd { color: #AA22FF } /* Name.Decorator */ 285 .page_body .ni { color: #999999; font-weight: bold } /* Name.Entity */ 286 .page_body .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ 287 .page_body .nf { color: #00A000 } /* Name.Function */ 288 .page_body .nl { color: #A0A000 } /* Name.Label */ 289 .page_body .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ 290 .page_body .nt { color: #008000; font-weight: bold } /* Name.Tag */ 291 .page_body .nv { color: #B8860B } /* Name.Variable */ 292 .page_body .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ 293 .page_body .mf { color: #666666 } /* Literal.Number.Float */ 294 .page_body .mh { color: #666666 } /* Literal.Number.Hex */ 295 .page_body .mi { color: #666666 } /* Literal.Number.Integer */ 296 .page_body .mo { color: #666666 } /* Literal.Number.Oct */ 297 .page_body .sb { color: #BB4444 } /* Literal.String.Backtick */ 298 .page_body .sc { color: #BB4444 } /* Literal.String.Char */ 299 .page_body .sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */ 300 .page_body .s2 { color: #BB4444 } /* Literal.String.Double */ 301 .page_body .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ 302 .page_body .sh { color: #BB4444 } /* Literal.String.Heredoc */ 303 .page_body .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ 304 .page_body .sx { color: #008000 } /* Literal.String.Other */ 305 .page_body .sr { color: #BB6688 } /* Literal.String.Regex */ 306 .page_body .s1 { color: #BB4444 } /* Literal.String.Single */ 307 .page_body .ss { color: #B8860B } /* Literal.String.Symbol */ 308 .page_body .bp { color: #AA22FF } /* Name.Builtin.Pseudo */ 309 .page_body .vc { color: #B8860B } /* Name.Variable.Class */ 310 .page_body .vg { color: #B8860B } /* Name.Variable.Global */ 311 .page_body .vi { color: #B8860B } /* Name.Variable.Instance */ 312 .page_body .il { color: #666666 } /* Literal.Number.Integer.Long */