]> git.armaanb.net Git - stagit.git/blob - style.css
04f07a7243b9fa3e7739765d329bcd743e58825b
[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 .loc {
39         margin-left: 0.9em;
40 }
41
42 .line {
43         user-select: none;
44 }
45
46 #blob a {
47         color: #777;
48 }
49
50 #blob a:hover {
51         color: blue;
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: #eee;
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 .desc {
88         color: #777;
89 }
90
91 hr {
92         border: 0;
93         border-top: 1px solid #777;
94         height: 1px;
95 }
96
97 pre {
98         font-family: monospace;
99 }
100
101 pre a.h {
102         color: #00a;
103 }
104
105 .A,
106 span.i,
107 pre a.i {
108         color: #070;
109 }
110
111 .D,
112 span.d,
113 pre a.d {
114         color: #e00;
115 }
116
117 pre a.h:hover,
118 pre a.i:hover,
119 pre a.d:hover {
120         text-decoration: none;
121 }
122
123 .url td:nth-child(2) {
124         padding-top:    0.2em;
125         padding-bottom: 0.9em;
126 }
127
128 .url td:nth-child(2) span {
129         padding: 1px 5px 2px 5px;
130         background-color: #eee;
131         border: 1px solid #ddd;
132         border-radius: 5px;
133 }
134
135 .url td:nth-child(2) span a {
136         color: #444;
137 }