stagit

Fork of stagit (git://git.codemadness.org/stagit) with personal tweaks.
git clone https://git.philomathiclife.com/repos/stagit
Log | Files | Refs | README | LICENSE

style.css (1659B)


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