stagit-scripts

stagit openbsd settings
git clone git://git.nirm.al/stagit-scripts.git
Log | Files | Refs

style.css (2233B)


      1 @font-face {
      2   font-family: '_GitFont';
      3   src: url('GitLabMono.woff2') format('woff2');
      4 }
      5 
      6 *,
      7 *::before,
      8 *::after {
      9   margin: 0;
     10   padding: 0;
     11   box-sizing: inherit;
     12 }
     13 
     14 html {
     15   font-size: 62.5%;
     16 }
     17 
     18 body {
     19   font-size: 1.6rem;
     20   color: #000;
     21   background-color: #fff;
     22   font-family: '_GitFont', monospace;
     23 }
     24 
     25 h1, h2, h3, h4, h5, h6 {
     26   font-size: 1em;
     27   margin: 0;
     28 }
     29 
     30 img, h1, h2 {
     31   vertical-align: middle;
     32 }
     33 
     34 img {
     35   border: 0;
     36 }
     37 
     38 a:target {
     39   background-color: #ccc;
     40 }
     41 
     42 a.d,
     43 a.h,
     44 a.i,
     45 a.line {
     46   text-decoration: none;
     47 }
     48 
     49 #blob a {
     50   color: #555;
     51 }
     52 
     53 #blob a:hover {
     54   color: blue;
     55   text-decoration: none;
     56 }
     57 
     58 table thead td {
     59   font-weight: bold;
     60 }
     61 
     62 table td {
     63   padding: 0 0.4em;
     64 }
     65 
     66 #content table td {
     67   vertical-align: top;
     68   white-space: nowrap;
     69 }
     70 
     71 #branches tr:hover td,
     72 #tags tr:hover td,
     73 #index tr:hover td,
     74 #log tr:hover td,
     75 #files tr:hover td {
     76   background-color: #eee;
     77 }
     78 
     79 #index tr td:nth-child(2),
     80 #tags tr td:nth-child(3),
     81 #branches tr td:nth-child(3),
     82 #log tr td:nth-child(2) {
     83   white-space: normal;
     84 }
     85 
     86 td.num {
     87   text-align: right;
     88 }
     89 
     90 .desc {
     91   color: #555;
     92 }
     93 
     94 hr {
     95   border: 0;
     96   border-top: 1px solid #555;
     97   height: 1px;
     98 }
     99 
    100 pre {
    101   font-family: '_GitFont', monospace;
    102   font-size: 1.4rem;
    103   line-height: 1.4em;
    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   hr {
    134      border-color: #222;
    135   }
    136   a {
    137     color: #56c8ff;
    138   }
    139   a:target {
    140     background-color: #222;
    141   }
    142   .desc {
    143     color: #aaa;
    144   }
    145   #blob a {
    146     color: #555;
    147   }
    148   #blob a:target {
    149     color: #eee;
    150   }
    151   #blob a:hover {
    152     color: #56c8ff;
    153   }
    154   pre a.h {
    155     color: #00cdcd;
    156   }
    157   .A,
    158   span.i,
    159   pre a.i {
    160     color: #00cd00;
    161   }
    162   .D,
    163   span.d,
    164   pre a.d {
    165     color: #cd0000;
    166   }
    167   #branches tr:hover td,
    168   #tags tr:hover td,
    169   #index tr:hover td,
    170   #log tr:hover td,
    171   #files tr:hover td {
    172     background-color: #111;
    173   }
    174 }