Files: fd5a0b93e7509a3157c5767fc08919dfd327aa32 / static / styles.css
1839 bytesRaw
1 | body { |
2 | margin: 1ex 1em; |
3 | line-height: 1.6; |
4 | background-color: #eee; |
5 | font-family: sans-serif; |
6 | } |
7 | |
8 | /* header */ |
9 | |
10 | header { |
11 | max-width: 45em; |
12 | margin: 0 auto; |
13 | } |
14 | |
15 | header h1 { |
16 | font-weight: inherit; |
17 | font-size: 1.5em; |
18 | } |
19 | |
20 | header h1 a { |
21 | color: #666; |
22 | } |
23 | |
24 | header h1 sub { |
25 | color: #444; |
26 | font-style: oblique; |
27 | font-size: small; |
28 | } |
29 | |
30 | /* content */ |
31 | |
32 | article { |
33 | max-width: 45em; |
34 | margin: 0 auto; |
35 | } |
36 | |
37 | section { |
38 | background-color: white; |
39 | padding: 1ex 1ex; |
40 | margin-bottom: 1ex; |
41 | border-radius: .5ex; |
42 | border: 1px #ccc; |
43 | border-style: none solid solid none; |
44 | } |
45 | |
46 | section.collapse { |
47 | margin-bottom: 0; |
48 | } |
49 | |
50 | h1, h2, h3, h4, h5, h6 { |
51 | margin: 0; |
52 | } |
53 | |
54 | a { |
55 | color: #006eff; |
56 | text-decoration: none; |
57 | } |
58 | a:hover { |
59 | color: #1f8fff; |
60 | } |
61 | |
62 | hr { |
63 | border: 0; |
64 | border-bottom: 1px solid #ddd; |
65 | } |
66 | |
67 | /* repo page */ |
68 | |
69 | .repo-title h2 { |
70 | color: #888; |
71 | } |
72 | |
73 | .upvotes { |
74 | float: right; |
75 | display: inline-block; |
76 | margin-top: .25em; |
77 | } |
78 | |
79 | .upvotes button { |
80 | font-size: 1em; |
81 | border-radius: .5ex; |
82 | |
83 | background-color: white; |
84 | border: 1px #ccc; |
85 | border-style: none solid solid none; |
86 | border-radius: .5ex; |
87 | cursor: pointer; |
88 | } |
89 | .upvotes button:hover { |
90 | background-color: #f6f6f6; |
91 | } |
92 | |
93 | .clone-url { |
94 | color: #666; |
95 | padding: .3em 1ex; |
96 | background-color: white; |
97 | border: 1px #ccc; |
98 | border-style: none solid solid none; |
99 | border-radius: .5ex; |
100 | float: right; |
101 | margin: 0; |
102 | } |
103 | .clone-url:hover { |
104 | background-color: #f6f6f6; |
105 | } |
106 | |
107 | .repo-nav { |
108 | margin: 1em 0 1ex 0; |
109 | } |
110 | |
111 | .repo-nav a { |
112 | border-radius: .5ex; |
113 | padding: 0 .5ex; |
114 | display: inline-block; |
115 | margin-right: .5ex; |
116 | } |
117 | .repo-nav a:hover { |
118 | color: #1a86ff; |
119 | } |
120 | |
121 | .raw-link { |
122 | float: right; |
123 | margin-top: .25em; |
124 | } |
125 | |
126 | /* files list */ |
127 | |
128 | .files td:first-child { |
129 | padding: 0 1ex; |
130 | } |
131 | |
132 | /* user page */ |
133 | |
134 | .user-id { |
135 | float: right; |
136 | font-size: 16px; |
137 | font-weight: normal; |
138 | display: inline-block; |
139 | margin: 0; |
140 | padding-top: .5em; |
141 | } |
142 |
Built with git-ssb-web