git.grace.moe

Source for the git site git.grace.moe
git clone https://git.grace.moe/git.grace.moe
Log | Files | Refs | Submodules

style.css (2153B)


      1 body {
      2   color: #000;
      3   background-color: #fff;
      4   font-family: Arial, Helvetica, sans-serif;
      5   -webkit-font-smoothing: antialiased;
      6 }
      7 
      8 #content > pre:first-child {
      9   font-family: Arial, Helvetica, sans-serif;
     10 }
     11 
     12 #content > pre:first-child > table > tbody > tr > td:last-child,
     13 #content > pre:first-child > table > tbody > tr > td:first-child,
     14 #content > pre:last-child {
     15   font-family: 'Courier New', Courier, monospace;
     16   font-size: 10pt;
     17 }
     18 
     19 h1,
     20 h2,
     21 h3,
     22 h4,
     23 h5,
     24 h6 {
     25   font-size: 1em;
     26   margin: 0;
     27 }
     28 
     29 img,
     30 svg,
     31 h1,
     32 h2 {
     33   vertical-align: middle;
     34 }
     35 
     36 img {
     37   border: 0;
     38 }
     39 
     40 a:target {
     41   background-color: #ccc;
     42 }
     43 
     44 a.d,
     45 a.h,
     46 a.i,
     47 a.line {
     48   text-decoration: none;
     49 }
     50 
     51 #blob a {
     52   color: #555;
     53 }
     54 
     55 #blob a:hover {
     56   color: blue;
     57   text-decoration: none;
     58 }
     59 
     60 table thead td {
     61   font-weight: bold;
     62 }
     63 
     64 table td {
     65   padding: 0 0.4em;
     66 }
     67 
     68 #content table td {
     69   vertical-align: top;
     70   white-space: nowrap;
     71 }
     72 
     73 #branches tr:hover td,
     74 #tags tr:hover td,
     75 #index tr:hover td,
     76 #log tr:hover td,
     77 #files tr:hover td {
     78   background-color: #eee;
     79 }
     80 
     81 #index tr td:nth-child(2),
     82 #tags tr td:nth-child(3),
     83 #branches tr td:nth-child(3),
     84 #log tr td:nth-child(2) {
     85   white-space: normal;
     86 }
     87 
     88 td.num {
     89   text-align: right;
     90 }
     91 
     92 .desc {
     93   color: #555;
     94 }
     95 
     96 hr {
     97   border: 0;
     98   border-top: 1px solid #555;
     99   height: 1px;
    100 }
    101 
    102 pre {
    103   font-family: monospace;
    104 }
    105 
    106 pre a.h {
    107   color: #00a;
    108 }
    109 
    110 .A,
    111 span.i,
    112 pre a.i {
    113   color: #070;
    114 }
    115 
    116 .D,
    117 span.d,
    118 pre a.d {
    119   color: #e00;
    120 }
    121 
    122 pre a.h:hover,
    123 pre a.i:hover,
    124 pre a.d:hover {
    125   text-decoration: none;
    126 }
    127 
    128 @media (prefers-color-scheme: dark) {
    129   body {
    130     background-color: #000;
    131     color: #bdbdbd;
    132   }
    133 
    134   hr {
    135     border-color: #222;
    136   }
    137 
    138   a {
    139     color: #56c8ff;
    140   }
    141 
    142   a:target {
    143     background-color: #222;
    144   }
    145 
    146   .desc {
    147     color: #aaa;
    148   }
    149 
    150   #blob a {
    151     color: #555;
    152   }
    153 
    154   #blob a:target {
    155     color: #eee;
    156   }
    157 
    158   #blob a:hover {
    159     color: #56c8ff;
    160   }
    161 
    162   pre a.h {
    163     color: #00cdcd;
    164   }
    165 
    166   .A,
    167   span.i,
    168   pre a.i {
    169     color: #00cd00;
    170   }
    171 
    172   .D,
    173   span.d,
    174   pre a.d {
    175     color: #cd0000;
    176   }
    177 
    178   #branches tr:hover td,
    179   #tags tr:hover td,
    180   #index tr:hover td,
    181   #log tr:hover td,
    182   #files tr:hover td {
    183     background-color: #111;
    184   }
    185 }