]> git.armaanb.net Git - stagit.git/blob - resources/style.css
Fix CSS widths
[stagit.git] / resources / style.css
1 body {
2         font-size: 0.8rem;
3         font-family: monospace;
4         color: #ebdbb2;
5         background-color: #282828;
6         max-width: 100%;
7         width: max-content;
8 }
9
10 h1, h2, h3, h4, h5, h6 {
11         margin: 0;
12 }
13
14 img, h1, h2 {
15         vertical-align: middle;
16 }
17
18 img {
19         border: 0;
20 }
21
22 a:target {
23         background-color: #eee;
24 }
25
26 a.d,
27 a.h,
28 a.i,
29 a.line {
30         text-decoration: none;
31 }
32
33 article img {
34         max-width: 100%;
35 }
36
37 a {
38         color: #83a598;
39 }
40
41 table thead td {
42         font-weight: bold;
43 }
44
45 table td {
46         padding: 0 0.4em;
47 }
48
49 #content table td {
50         vertical-align: top;
51         white-space: nowrap;
52 }
53
54 #branches tr:hover td,
55 #tags tr:hover td,
56 #index tr:hover td,
57 #log tr:hover td,
58 #files tr:hover td {
59         background-color: #333;
60 }
61
62 #index tr td:nth-child(2),
63 #tags tr td:nth-child(3),
64 #branches tr td:nth-child(3),
65 #log tr td:nth-child(2) {
66         white-space: normal;
67 }
68
69 #log tr td:nth-child(3) {
70         max-width: 35ch;
71 }
72
73 #log tr td:nth-child(2) {
74         max-width: 65ch;
75 }
76
77 .desc {
78         color: #928374;
79 }
80
81 hr {
82         border: 0;
83         border-top: 1px solid #928374;
84         height: 1px;
85 }
86
87 pre a.h {
88         color: #fe8019;
89 }
90
91 .A,
92 span.i,
93 pre a.i {
94         color: #b8bb26;
95 }
96
97 .D,
98 span.d,
99 pre a.d {
100         color: #fb4934;
101 }
102
103 pre a.h:hover,
104 pre a.i:hover,
105 pre a.d:hover {
106         text-decoration: none;
107 }
108
109 .url td:nth-child(2) {
110         padding-top:    0.2em;
111         padding-bottom: 0.9em;
112 }
113
114 .url td:nth-child(2) span {
115         padding: 1px 5px;
116         border: 1px solid #ebdbb2;
117         border-radius: 5px;
118 }
119
120 .url td:nth-child(2) span a {
121         color: #ebdbb2;
122 }