]> git.armaanb.net Git - stagit.git/blob - style.css
bb20ae7c94b37e8741537945539c52183e373fea
[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 article.markup {
45     border: 2px solid #00000017;
46     border-radius: 10px;
47     font-family: sans-serif;
48     padding: 1em 2.5em;
49     margin: 2em 0;
50 }
51
52 .linenos {
53         margin-right: 0;
54         border-right: 1px solid rgb(0 0 0 / 8%);
55         user-select: none;
56 }
57
58 .linenos a {
59         margin-right: 0.9em;
60         user-select: none;
61         text-decoration: none;
62 }
63
64 #blob a {
65         color: #777;
66 }
67
68 #blob a:hover {
69         color: blue;
70         text-decoration: none;
71 }
72
73 table thead td {
74         font-weight: bold;
75 }
76
77 table td {
78         padding: 0 0.4em;
79 }
80
81 #content table td {
82         vertical-align: top;
83         white-space: nowrap;
84 }
85
86 #branches tr:hover td,
87 #tags tr:hover td,
88 #index tr:hover td,
89 #log tr:hover td,
90 #files tr:hover td {
91         background-color: #eee;
92 }
93
94 #index tr td:nth-child(2),
95 #tags tr td:nth-child(3),
96 #branches tr td:nth-child(3),
97 #log tr td:nth-child(2) {
98         white-space: normal;
99 }
100
101 td.num {
102         text-align: right;
103 }
104
105 .desc {
106         color: #777;
107 }
108
109 hr {
110         border: 0;
111         border-top: 1px solid #777;
112         height: 1px;
113 }
114
115 pre {
116         font-family: monospace;
117 }
118
119 pre a.h {
120         color: #00a;
121 }
122
123 .A,
124 span.i,
125 pre a.i {
126         color: #070;
127 }
128
129 .D,
130 span.d,
131 pre a.d {
132         color: #e00;
133 }
134
135 pre a.h:hover,
136 pre a.i:hover,
137 pre a.d:hover {
138         text-decoration: none;
139 }
140
141 .url td:nth-child(2) {
142         padding-top:    0.2em;
143         padding-bottom: 0.9em;
144 }
145
146 .url td:nth-child(2) span {
147         padding: 1px 5px;
148         background-color: #eee;
149         border: 1px solid #ddd;
150         border-radius: 5px;
151 }
152
153 .url td:nth-child(2) span a {
154         color: #444;
155 }