pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

index.css (1139B)


      1 /* Dark Mode: Default */
      2 :root {
      3     --fg1: #dadadb;
      4     --fg2: #8d8e8f;
      5     --bg1: #1d1e20;
      6     --bg2: #2e2e33;
      7     --hl1: #8c90d4;
      8     --del: #db4325;
      9     --add: #006164;
     10 }
     11 
     12 /* Bright Mode */
     13 @media (prefers-color-scheme: light) {
     14     :root {
     15         --fg1: #1e1e1e;
     16         --fg2: #8d8e8f;
     17         --bg1: #f5f5f5;
     18         --bg2: #ffffff;
     19         --hl1: #6c71c4;
     20         --del: #db4325;
     21         --add: #006164;
     22     }
     23 }
     24 
     25 /* Hide server details */
     26 address {
     27     display: none;
     28 }
     29 
     30 /* Hide Description column in table */
     31 .indexcoldesc {
     32     display: none;
     33 }
     34 
     35 body {
     36     background-color: var(--bg1);
     37     font-family: sans-serif, serif;
     38     color: var(--fg1);
     39 }
     40 
     41 h1, h2, h3, h4, h5, h6 {
     42     text-align: center;
     43 }
     44 
     45 table {
     46     width: 100%;
     47     max-width: 1000px;
     48     margin-left: auto;
     49     margin-right: auto;
     50     font-size: 1.25em;
     51 }
     52 
     53 th, td {
     54     white-space: nowrap;
     55     /* Makes navigation easier on mobile */
     56     padding: 0.25em;
     57     
     58 }
     59 a {
     60   color: var(--hl1);
     61   padding: 5px;
     62   border-radius: 5px;
     63 }
     64 
     65 a:hover, a:active {
     66     background-color: var(--bg2);
     67 }
     68 
     69 hr {
     70     border: 0;
     71     border-top: 3px solid var(--fg2);
     72     height: 3px;
     73 }