]> git.armaanb.net Git - stagit.git/blob - style.css
Update style.
[stagit.git] / style.css
1 html {
2         font-size: 12px;
3         height: 100%;
4 }
5
6 body {
7         margin: 5rem auto;
8         color: #222;
9         background-color: #fff;
10         font-family: monospace;
11         width: 66rem;
12 }
13
14 h1, h2, h3, h4, h5, h6 {
15         font-size: 1em;
16         margin: 0;
17 }
18
19 img, h1, h2 {
20         vertical-align: middle;
21 }
22
23 img {
24         border: 0;
25 }
26
27 a:target {
28         background-color: #ccc;
29 }
30
31 a.d,
32 a.h,
33 a.i,
34 a.line {
35         text-decoration: none;
36 }
37
38 #blob {
39     display: block;
40     max-width: 100%;
41     overflow-x: scroll;
42 }
43
44 .linenos {
45         margin-right: 0;
46         border-right: 1px solid rgb(0 0 0 / 8%);
47         user-select: none;
48 }
49
50 .linenos a {
51         margin-right: 0.9em;
52         user-select: none;
53         text-decoration: none;
54 }
55
56 #blob a {
57         color: #777;
58 }
59
60 #blob a:hover {
61         color: blue;
62         text-decoration: none;
63 }
64
65 table thead td {
66         font-weight: bold;
67 }
68
69 table td {
70         padding: 0 0.4em;
71 }
72
73 #content table td {
74         vertical-align: top;
75         white-space: nowrap;
76 }
77
78 #branches tr:hover td,
79 #tags tr:hover td,
80 #index tr:hover td,
81 #log tr:hover td,
82 #files tr:hover td {
83         background-color: #eee;
84 }
85
86 #index tr td:nth-child(2),
87 #tags tr td:nth-child(3),
88 #branches tr td:nth-child(3),
89 #log tr td:nth-child(2) {
90         white-space: normal;
91 }
92
93 td.num {
94         text-align: right;
95 }
96
97 .desc {
98         color: #777;
99 }
100
101 hr {
102         border: 0;
103         border-top: 1px solid #777;
104         height: 1px;
105 }
106
107 pre {
108         font-family: monospace;
109 }
110
111 pre a.h {
112         color: #00a;
113 }
114
115 .A,
116 span.i,
117 pre a.i {
118         color: #070;
119 }
120
121 .D,
122 span.d,
123 pre a.d {
124         color: #e00;
125 }
126
127 pre a.h:hover,
128 pre a.i:hover,
129 pre a.d:hover {
130         text-decoration: none;
131 }
132
133 .url td:nth-child(2) {
134         padding-top:    0.2em;
135         padding-bottom: 0.9em;
136 }
137
138 .url td:nth-child(2) span {
139         padding: 1px 5px;
140         background-color: #eee;
141         border: 1px solid #ddd;
142         border-radius: 5px;
143 }
144
145 .url td:nth-child(2) span a {
146         color: #444;
147 }