tongong.net

personal website
git clone https://tongong.net/git/tongong.net.git
Log | Files | Refs

style.css (1482B)


      1 :root {
      2     --b-txt: #afbac4;
      3     --b-bg-1: #242930;
      4     --b-bg-2: #353b43;
      5     --b-line: #afbac4;
      6     --b-link: #57cc8a;
      7     --b-btn-bg: #353b43;
      8     --b-btn-txt: #afbac4;
      9     --b-focus: #88c0d0;
     10 }
     11 
     12 body {
     13     background-color: var(--b-bg-1);
     14     color: var(--b-txt);
     15     font-family: monospace;
     16 }
     17 
     18 h1, h2, h3, h4, h5, h6 {
     19     font-size: 1em;
     20     margin: 0;
     21 }
     22 
     23 img, h1, h2 {
     24     vertical-align: middle;
     25 }
     26 
     27 img {
     28     border: 0;
     29 }
     30 
     31 a {
     32     color: var(--b-link);
     33 }
     34 
     35 a.d,
     36 a.h,
     37 a.i,
     38 a.line {
     39     text-decoration: none;
     40 }
     41 
     42 #blob a {
     43     color: #555;
     44 }
     45 #blob a:target {
     46     color: var(--b-link);
     47     background-color: var(--b-bg-2);
     48 }
     49 
     50 #blob a:hover {
     51     color: var(--b-link);
     52     text-decoration: none;
     53 }
     54 
     55 table thead td {
     56     font-weight: bold;
     57 }
     58 
     59 table td {
     60     padding: 0 0.4em;
     61 }
     62 
     63 #content table td {
     64     vertical-align: top;
     65     white-space: nowrap;
     66 }
     67 
     68 #branches tr:hover td,
     69 #tags tr:hover td,
     70 #index tr:hover td,
     71 #log tr:hover td,
     72 #files tr:hover td {
     73     background-color: var(--b-bg-2);
     74 }
     75 
     76 #index tr td:nth-child(2),
     77 #tags tr td:nth-child(3),
     78 #branches tr td:nth-child(3),
     79 #log tr td:nth-child(2) {
     80     white-space: normal;
     81 }
     82 
     83 td.num {
     84     text-align: right;
     85 }
     86 
     87 hr {
     88     border: 0;
     89     border-top: 1px solid var(--b-line);
     90     height: 1px;
     91 }
     92 
     93 pre {
     94     font-family: monospace;
     95 }
     96 
     97 pre a.h {
     98     color: #ebcb8b;
     99 }
    100 .A,
    101 span.i,
    102 pre a.i {
    103     color: #a3be8c;
    104 }
    105 .D,
    106 span.d,
    107 pre a.d {
    108     color: #bf616a;
    109 }
    110 
    111 pre a.h:hover,
    112 pre a.i:hover,
    113 pre a.d:hover {
    114     text-decoration: none;
    115 }