gitweb / gitweb.csson commit Introduce usagef() that takes a printf-style format (64b1cb7)
   1body {
   2        font-family: sans-serif;
   3        font-size: small;
   4        border: solid #d9d8d1;
   5        border-width: 1px;
   6        margin: 10px;
   7        background-color: #ffffff;
   8        color: #000000;
   9}
  10
  11a {
  12        color: #0000cc;
  13}
  14
  15a:hover, a:visited, a:active {
  16        color: #880000;
  17}
  18
  19span.cntrl {
  20        border: dashed #aaaaaa;
  21        border-width: 1px;
  22        padding: 0px 2px 0px 2px;
  23        margin:  0px 2px 0px 2px;
  24}
  25
  26img.logo {
  27        float: right;
  28        border-width: 0px;
  29}
  30
  31img.avatar {
  32        vertical-align: middle;
  33}
  34
  35a.list img.avatar {
  36        border-style: none;
  37}
  38
  39div.page_header {
  40        height: 25px;
  41        padding: 8px;
  42        font-size: 150%;
  43        font-weight: bold;
  44        background-color: #d9d8d1;
  45}
  46
  47div.page_header a:visited, a.header {
  48        color: #0000cc;
  49}
  50
  51div.page_header a:hover {
  52        color: #880000;
  53}
  54
  55div.page_nav {
  56        padding: 8px;
  57}
  58
  59div.page_nav a:visited {
  60        color: #0000cc;
  61}
  62
  63div.page_path {
  64        padding: 8px;
  65        font-weight: bold;
  66        border: solid #d9d8d1;
  67        border-width: 0px 0px 1px;
  68}
  69
  70div.page_footer {
  71        height: 17px;
  72        padding: 4px 8px;
  73        background-color: #d9d8d1;
  74}
  75
  76div.page_footer_text {
  77        float: left;
  78        color: #555555;
  79        font-style: italic;
  80}
  81
  82div.page_body {
  83        padding: 8px;
  84        font-family: monospace;
  85}
  86
  87div.title, a.title {
  88        display: block;
  89        padding: 6px 8px;
  90        font-weight: bold;
  91        background-color: #edece6;
  92        text-decoration: none;
  93        color: #000000;
  94}
  95
  96div.readme {
  97        padding: 8px;
  98}
  99
 100a.title:hover {
 101        background-color: #d9d8d1;
 102}
 103
 104div.title_text {
 105        padding: 6px 0px;
 106        border: solid #d9d8d1;
 107        border-width: 0px 0px 1px;
 108        font-family: monospace;
 109}
 110
 111div.log_body {
 112        padding: 8px 8px 8px 150px;
 113}
 114
 115span.age {
 116        position: relative;
 117        float: left;
 118        width: 142px;
 119        font-style: italic;
 120}
 121
 122span.signoff {
 123        color: #888888;
 124}
 125
 126div.log_link {
 127        padding: 0px 8px;
 128        font-size: 70%;
 129        font-family: sans-serif;
 130        font-style: normal;
 131        position: relative;
 132        float: left;
 133        width: 136px;
 134}
 135
 136div.list_head {
 137        padding: 6px 8px 4px;
 138        border: solid #d9d8d1;
 139        border-width: 1px 0px 0px;
 140        font-style: italic;
 141}
 142
 143.author_date, .author {
 144        font-style: italic;
 145}
 146
 147div.author_date {
 148        padding: 8px;
 149        border: solid #d9d8d1;
 150        border-width: 0px 0px 1px 0px;
 151}
 152
 153a.list {
 154        text-decoration: none;
 155        color: #000000;
 156}
 157
 158a.subject, a.name {
 159        font-weight: bold;
 160}
 161
 162table.tags a.subject {
 163        font-weight: normal;
 164}
 165
 166a.list:hover {
 167        text-decoration: underline;
 168        color: #880000;
 169}
 170
 171a.text {
 172        text-decoration: none;
 173        color: #0000cc;
 174}
 175
 176a.text:visited {
 177        text-decoration: none;
 178        color: #880000;
 179}
 180
 181a.text:hover {
 182        text-decoration: underline;
 183        color: #880000;
 184}
 185
 186table {
 187        padding: 8px 4px;
 188        border-spacing: 0;
 189}
 190
 191table.diff_tree {
 192        font-family: monospace;
 193}
 194
 195table.combined.diff_tree th {
 196        text-align: center;
 197}
 198
 199table.combined.diff_tree td {
 200        padding-right: 24px;
 201}
 202
 203table.combined.diff_tree th.link,
 204table.combined.diff_tree td.link {
 205        padding: 0px 2px;
 206}
 207
 208table.combined.diff_tree td.nochange a {
 209        color: #6666ff;
 210}
 211
 212table.combined.diff_tree td.nochange a:hover,
 213table.combined.diff_tree td.nochange a:visited {
 214        color: #d06666;
 215}
 216
 217table.blame {
 218        border-collapse: collapse;
 219}
 220
 221table.blame td {
 222        padding: 0px 5px;
 223        font-size: 100%;
 224        vertical-align: top;
 225}
 226
 227th {
 228        padding: 2px 5px;
 229        font-size: 100%;
 230        text-align: left;
 231}
 232
 233/* do not change row style on hover for 'blame' view */
 234tr.light,
 235table.blame .light:hover {
 236        background-color: #ffffff;
 237}
 238
 239tr.dark,
 240table.blame .dark:hover {
 241        background-color: #f6f6f0;
 242}
 243
 244/* currently both use the same, but it can change */
 245tr.light:hover,
 246tr.dark:hover {
 247        background-color: #edece6;
 248}
 249
 250/* boundary commits in 'blame' view */
 251/* and commits without "previous" */
 252tr.boundary td.sha1,
 253tr.no-previous td.linenr {
 254        font-weight: bold;
 255}
 256
 257td {
 258        padding: 2px 5px;
 259        font-size: 100%;
 260        vertical-align: top;
 261}
 262
 263td.link, td.selflink {
 264        padding: 2px 5px;
 265        font-family: sans-serif;
 266        font-size: 70%;
 267}
 268
 269td.selflink {
 270        padding-right: 0px;
 271}
 272
 273td.sha1 {
 274        font-family: monospace;
 275}
 276
 277.error {
 278        color: red;
 279        background-color: yellow;
 280}
 281
 282td.current_head {
 283        text-decoration: underline;
 284}
 285
 286table.diff_tree span.file_status.new {
 287        color: #008000;
 288}
 289
 290table.diff_tree span.file_status.deleted {
 291        color: #c00000;
 292}
 293
 294table.diff_tree span.file_status.moved,
 295table.diff_tree span.file_status.mode_chnge {
 296        color: #777777;
 297}
 298
 299table.diff_tree span.file_status.copied {
 300  color: #70a070;
 301}
 302
 303/* noage: "No commits" */
 304table.project_list td.noage {
 305        color: #808080;
 306        font-style: italic;
 307}
 308
 309/* age2: 60*60*24*2 <= age */
 310table.project_list td.age2, table.blame td.age2 {
 311        font-style: italic;
 312}
 313
 314/* age1: 60*60*2 <= age < 60*60*24*2 */
 315table.project_list td.age1 {
 316        color: #009900;
 317        font-style: italic;
 318}
 319
 320table.blame td.age1 {
 321        color: #009900;
 322        background: transparent;
 323}
 324
 325/* age0: age < 60*60*2 */
 326table.project_list td.age0 {
 327        color: #009900;
 328        font-style: italic;
 329        font-weight: bold;
 330}
 331
 332table.blame td.age0 {
 333        color: #009900;
 334        background: transparent;
 335        font-weight: bold;
 336}
 337
 338td.pre, div.pre, div.diff {
 339        font-family: monospace;
 340        font-size: 12px;
 341        white-space: pre;
 342}
 343
 344td.mode {
 345        font-family: monospace;
 346}
 347
 348/* format of (optional) objects size in 'tree' view */
 349td.size {
 350        font-family: monospace;
 351        text-align: right;
 352}
 353
 354/* styling of diffs (patchsets): commitdiff and blobdiff views */
 355div.diff.header,
 356div.diff.extended_header {
 357        white-space: normal;
 358}
 359
 360div.diff.header {
 361        font-weight: bold;
 362
 363        background-color: #edece6;
 364
 365        margin-top: 4px;
 366        padding: 4px 0px 2px 0px;
 367        border: solid #d9d8d1;
 368        border-width: 1px 0px 1px 0px;
 369}
 370
 371div.diff.header a.path {
 372        text-decoration: underline;
 373}
 374
 375div.diff.extended_header,
 376div.diff.extended_header a.path,
 377div.diff.extended_header a.hash {
 378        color: #777777;
 379}
 380
 381div.diff.extended_header .info {
 382        color: #b0b0b0;
 383}
 384
 385div.diff.extended_header {
 386        background-color: #f6f5ee;
 387        padding: 2px 0px 2px 0px;
 388}
 389
 390div.diff a.list,
 391div.diff a.path,
 392div.diff a.hash {
 393        text-decoration: none;
 394}
 395
 396div.diff a.list:hover,
 397div.diff a.path:hover,
 398div.diff a.hash:hover {
 399        text-decoration: underline;
 400}
 401
 402div.diff.to_file a.path,
 403div.diff.to_file {
 404        color: #007000;
 405}
 406
 407div.diff.add {
 408        color: #008800;
 409}
 410
 411div.diff.from_file a.path,
 412div.diff.from_file {
 413        color: #aa0000;
 414}
 415
 416div.diff.rem {
 417        color: #cc0000;
 418}
 419
 420div.diff.chunk_header a,
 421div.diff.chunk_header {
 422        color: #990099;
 423}
 424
 425div.diff.chunk_header {
 426        border: dotted #ffe0ff;
 427        border-width: 1px 0px 0px 0px;
 428        margin-top: 2px;
 429}
 430
 431div.diff.chunk_header span.chunk_info {
 432        background-color: #ffeeff;
 433}
 434
 435div.diff.chunk_header span.section {
 436        color: #aa22aa;
 437}
 438
 439div.diff.incomplete {
 440        color: #cccccc;
 441}
 442
 443div.diff.nodifferences {
 444        font-weight: bold;
 445        color: #600000;
 446}
 447
 448div.index_include {
 449        border: solid #d9d8d1;
 450        border-width: 0px 0px 1px;
 451        padding: 12px 8px;
 452}
 453
 454div.search {
 455        font-size: 100%;
 456        font-weight: normal;
 457        margin: 4px 8px;
 458        float: right;
 459        top: 56px;
 460        right: 12px
 461}
 462
 463p.projsearch {
 464        text-align: center;
 465}
 466
 467td.linenr {
 468        text-align: right;
 469}
 470
 471a.linenr {
 472        color: #999999;
 473        text-decoration: none
 474}
 475
 476a.rss_logo {
 477        float: right;
 478        padding: 3px 0px;
 479        width: 35px;
 480        line-height: 10px;
 481        border: 1px solid;
 482        border-color: #fcc7a5 #7d3302 #3e1a01 #ff954e;
 483        color: #ffffff;
 484        background-color: #ff6600;
 485        font-weight: bold;
 486        font-family: sans-serif;
 487        font-size: 70%;
 488        text-align: center;
 489        text-decoration: none;
 490}
 491
 492a.rss_logo:hover {
 493        background-color: #ee5500;
 494}
 495
 496a.rss_logo.generic {
 497        background-color: #ff8800;
 498}
 499
 500a.rss_logo.generic:hover {
 501        background-color: #ee7700;
 502}
 503
 504span.refs span {
 505        padding: 0px 4px;
 506        font-size: 70%;
 507        font-weight: normal;
 508        border: 1px solid;
 509        background-color: #ffaaff;
 510        border-color: #ffccff #ff00ee #ff00ee #ffccff;
 511}
 512
 513span.refs span a {
 514        text-decoration: none;
 515        color: inherit;
 516}
 517
 518span.refs span a:hover {
 519        text-decoration: underline;
 520}
 521
 522span.refs span.indirect {
 523        font-style: italic;
 524}
 525
 526span.refs span.ref {
 527        background-color: #aaaaff;
 528        border-color: #ccccff #0033cc #0033cc #ccccff;
 529}
 530
 531span.refs span.tag {
 532        background-color: #ffffaa;
 533        border-color: #ffffcc #ffee00 #ffee00 #ffffcc;
 534}
 535
 536span.refs span.head {
 537        background-color: #aaffaa;
 538        border-color: #ccffcc #00cc33 #00cc33 #ccffcc;
 539}
 540
 541span.atnight {
 542        color: #cc0000;
 543}
 544
 545span.match {
 546        color: #e00000;
 547}
 548
 549div.binary {
 550        font-style: italic;
 551}