stagit

Personal fork of stagit.
git clone git://git.samirparikh.com/stagit
Log | Files | Refs | README | LICENSE

style.css (2474B) - raw


      1 :root {
      2 	--diff-green: #181;
      3 	--diff-red: #e02;
      4 	--links: #00c;
      5 	--border: #d2d2d2;
      6 	--gray: #777;
      7 	--hover-bg: #eee;
      8 }
      9 
     10 body {
     11 	color: #000;
     12 	background-color: #fff;
     13 	font-family: sans-serif;
     14 	max-width: 800px;
     15 	margin: 8px auto;
     16 	padding: 5px;
     17 	line-height: 1.5;
     18 }
     19 
     20 #branches,
     21 #tags,
     22 #index,
     23 #log,
     24 #files {
     25 	font-family: monospace;
     26 }
     27 
     28 #head, #content, .table-container {
     29 	max-width: 800px;
     30 	overflow-x: auto;
     31 	margin: auto;
     32 }
     33 
     34 #log, #index {
     35 	min-width: 600px;
     36 	width: 100%;
     37 	overflow-x: auto;
     38 }
     39 
     40 pre:not(#about) {
     41 	overflow-x: auto;
     42 	border: 1px solid var(--border);
     43 	border-radius: 4px;
     44 	padding: 10px;
     45 }
     46 
     47 a {
     48 	color: var(--links);
     49 }
     50 
     51 #head table {
     52 	margin-top: 0.5em;
     53 	margin-bottom: 0.5em;
     54 }
     55 
     56 #head table td:first-child {
     57 	padding: 0 0.4em 0 0;
     58 }
     59 
     60 #head table td:last-child {
     61 	padding: 0 0 0 0.4em;
     62 }
     63 
     64 #head p {
     65 	margin: 0;
     66 }
     67 
     68 #files .dir {
     69 	font-weight: bold;
     70 	text-decoration: none;
     71 }
     72 
     73 .url {
     74 	font-family: monospace;
     75 }
     76 
     77 #home h1 {
     78 	font-size: 1.5em;
     79 	text-align: center;
     80 	margin-top: 1em;
     81 }
     82 
     83 #home h2 {
     84 	font-size: 1.25em;
     85 	margin-top: 2.5em;
     86 	margin-bottom: 1em;
     87 }
     88 
     89 h1, h2, h3, h4, h5, h6 {
     90 	font-size: 1em;
     91 	margin: 0;
     92 }
     93 
     94 .md h1 {
     95 	font-size: 1.5em;
     96 }
     97 
     98 .md h2 {
     99 	font-size: 1.25em;
    100 }
    101 
    102 img, h1, h2 {
    103 	vertical-align: middle;
    104 }
    105 
    106 img {
    107 	border: 0;
    108 }
    109 
    110 a:target {
    111 	background-color: #ccc;
    112 }
    113 
    114 a.d,
    115 a.h,
    116 a.i,
    117 a.line {
    118 	text-decoration: none;
    119 }
    120 
    121 #blob a {
    122 	color: var(--gray);
    123 }
    124 
    125 #blob a:hover {
    126 	color: blue;
    127 	text-decoration: none;
    128 }
    129 
    130 table thead td {
    131 	font-weight: bold;
    132 }
    133 
    134 table td {
    135 	padding: 0 0.4em;
    136 }
    137 
    138 #content table td {
    139 	vertical-align: top;
    140 	white-space: nowrap;
    141 }
    142 
    143 #branches tr:hover td,
    144 #tags tr:hover td,
    145 #index tr:hover td,
    146 #log tr:hover td,
    147 #files tr:hover td {
    148 	background-color: var(--hover-bg);
    149 }
    150 
    151 #index tr td:nth-child(2),
    152 #tags tr td:nth-child(3),
    153 #branches tr td:nth-child(3),
    154 #log tr td:nth-child(2) {
    155 	white-space: normal;
    156 }
    157 
    158 td.num {
    159 	text-align: right;
    160 }
    161 
    162 .desc {
    163 	color: var(--gray);
    164 }
    165 
    166 hr {
    167 	border: 0;
    168 	border-top: 1px solid var(--gray);
    169 	height: 1px;
    170 }
    171 
    172 pre {
    173 	font-family: monospace;
    174 }
    175 
    176 .A,
    177 span.i,
    178 pre a.i {
    179 	color: var(--diff-green);
    180 }
    181 
    182 .D,
    183 span.d,
    184 pre a.d {
    185 	color: var(--diff-red);
    186 }
    187 
    188 pre a.h:hover,
    189 pre a.i:hover,
    190 pre a.d:hover {
    191 	text-decoration: none;
    192 }
    193 
    194 .md table {
    195 	border-collapse: collapse;
    196 	margin: 1em 1em;
    197 	border: 1px solid var(--border);
    198 }
    199 .md table td,
    200 .md table th {
    201 	padding: 0.25em 1em;
    202 	border: 1px solid var(--border);
    203 }
    204 
    205 #index .cat td {
    206 	font-style: italic;
    207 }
    208 
    209 #index .repo td:first-child {
    210 	padding-left: 1.5em;
    211 }