Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | @red: #ff0000; |
2 | @black: #000000; | ||||
3 | @white: #ffffff; | ||||
4 | @light-grey: #eeeeee; | ||||
5 | @med-grey: #999999; | ||||
6 | @dark-grey: #4d4d4d; | ||||
7 | @blue: #0e94ec; | ||||
8 | @accent: @blue; | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 9 | @sans: 'PT Sans', sans-serif; |
10 | @serif: 'PT Serif', serif; | ||||
11 | @mono: 'PT Mono', monospace; | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 12 | |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 13 | @side_size: 250px; |
14 | @main_size: 755px; | ||||
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame^] | 15 | @border_color: #C2C2C2; |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 16 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 17 | body { |
18 | margin: 0; | ||||
19 | padding: 0; | ||||
20 | background-color: @white; | ||||
21 | color: @dark-grey; | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 22 | font-family: @sans; |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 23 | font-size: 18px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 24 | } |
25 | |||||
26 | a { | ||||
27 | color: @black; | ||||
28 | text-decoration: none; | ||||
29 | } | ||||
30 | |||||
pR0Ps | 41bf7d3 | 2013-12-05 16:33:55 -0500 | [diff] [blame] | 31 | a[href]:not(.nohover) { |
32 | &:hover{ | ||||
33 | color: @accent; | ||||
34 | } | ||||
35 | } | ||||
36 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 37 | hr { |
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame^] | 38 | color: @border_color; |
39 | background-color: @border_color; | ||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 40 | height: 1px; |
41 | border: none; | ||||
42 | } | ||||
43 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 44 | aside { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 45 | div#user_meta { |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 46 | padding: 40px 20px 40px 20px; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 47 | text-align: center; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 48 | |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 49 | h2 { |
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 50 | margin: 15px 0 5px 0; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 51 | } |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 52 | |
53 | p { | ||||
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 54 | margin: 0 0 15px 0; |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 55 | font-size: 14px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 56 | } |
Giulio Fidente | e88666d | 2013-04-29 12:25:51 +0200 | [diff] [blame] | 57 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 58 | ul { |
Giulio Fidente | 4a7ae15 | 2013-03-30 10:44:45 +0100 | [diff] [blame] | 59 | margin: 40px 0 0 0; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 60 | padding-left: 0; |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 61 | font-size: 16px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 62 | list-style-type: none; |
Giulio Fidente | e88666d | 2013-04-29 12:25:51 +0200 | [diff] [blame] | 63 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 64 | li { |
pR0Ps | fee5225 | 2013-12-11 11:47:26 -0500 | [diff] [blame] | 65 | display: block; |
66 | line-height: 2em; | ||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 67 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 68 | a { |
pR0Ps | fee5225 | 2013-12-11 11:47:26 -0500 | [diff] [blame] | 69 | i { |
70 | padding: 0px 0px 0px 10px; | ||||
71 | color: @black; | ||||
72 | //width: 35px; | ||||
73 | text-align: center; | ||||
74 | vertical-align: middle; | ||||
75 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 76 | } |
77 | } | ||||
78 | } | ||||
Giulio Fidente | e88666d | 2013-04-29 12:25:51 +0200 | [diff] [blame] | 79 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 80 | } |
81 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 82 | main { |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 83 | max-width: @main_size; |
84 | position: relative; | ||||
85 | width: 100%; | ||||
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 86 | margin: auto; |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 87 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 88 | header { |
pR0Ps | 09af9c4 | 2013-12-06 04:51:29 -0500 | [diff] [blame] | 89 | padding: 20px 40px 20px 40px; |
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame^] | 90 | border-top: @border_color 1px solid; |
91 | border-bottom: @border_color 1px solid; | ||||
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 92 | text-align: center; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 93 | |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 94 | p { |
95 | font-weight: bold; | ||||
pR0Ps | c2a6b97 | 2013-12-05 14:46:43 -0500 | [diff] [blame] | 96 | font-size: 15px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 97 | text-transform: uppercase; |
98 | } | ||||
pR0Ps | 09af9c4 | 2013-12-06 04:51:29 -0500 | [diff] [blame] | 99 | |
100 | p#header { | ||||
101 | color: @black; | ||||
102 | } | ||||
103 | |||||
104 | p:not(#header){ | ||||
105 | a { | ||||
106 | color: @dark-grey; | ||||
107 | &:hover{ | ||||
108 | color: @accent; | ||||
109 | } | ||||
110 | } | ||||
111 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 112 | } |
113 | |||||
114 | article { | ||||
pR0Ps | bd316a1 | 2013-12-06 03:51:43 -0500 | [diff] [blame] | 115 | padding: 10px 40px 10px 40px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 116 | |
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 117 | div.article_title { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 118 | } |
119 | |||||
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 120 | div.article_text { |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 121 | line-height: 1.375em; |
Giulio Fidente | 5b17419 | 2013-03-22 23:40:00 +0100 | [diff] [blame] | 122 | a { |
123 | text-decoration: underline; | ||||
124 | } | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 125 | |
126 | code { | ||||
127 | margin: 2px; | ||||
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 128 | padding: 0; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 129 | color: @black; |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 130 | font-size: 14px; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 131 | font-family: @mono; |
132 | background: @light-grey; | ||||
133 | } | ||||
134 | |||||
135 | pre { | ||||
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 136 | margin: 22px 2px 22px 2px; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 137 | padding: 2px; |
138 | color: @black; | ||||
139 | border-left: 3px solid @accent; | ||||
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 140 | font-size: 14px; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 141 | font-family: @mono; |
142 | background: @light-grey; | ||||
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 143 | line-height: 1.125em; |
Giulio Fidente | 28d7964 | 2013-04-14 02:48:44 +0200 | [diff] [blame] | 144 | overflow-x: auto; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 145 | } |
146 | |||||
147 | blockquote { | ||||
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 148 | margin: 22px 2px 22px 2px; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 149 | padding-left: 40px; |
150 | color: @med-grey; | ||||
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 151 | font-style: italic; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 152 | } |
pR0Ps | ba37f02 | 2013-12-05 16:46:27 -0500 | [diff] [blame] | 153 | |
154 | .footnote-reference { | ||||
155 | vertical-align: super; | ||||
156 | font-size: 12px; | ||||
157 | text-decoration: none; | ||||
158 | line-height: 1; | ||||
159 | } | ||||
160 | |||||
161 | .footnote { | ||||
162 | font-size: smaller; | ||||
163 | .fn-backref{ | ||||
164 | margin-right: 5px; | ||||
165 | text-decoration: none; | ||||
166 | } | ||||
167 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 168 | } |
169 | |||||
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 170 | div.gist { |
171 | line-height: .875em; | ||||
172 | } | ||||
173 | |||||
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 174 | div.article_meta { |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 175 | font-size: 12px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 176 | color: @med-grey; |
177 | } | ||||
178 | } | ||||
179 | |||||
180 | footer { | ||||
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame^] | 181 | border-top: @border_color 1px solid; |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 182 | padding: 30px 40px 30px 40px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 183 | |
Giulio Fidente | ebb4c7a | 2013-10-20 01:45:10 +0200 | [diff] [blame] | 184 | div#paginator { |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 185 | font-weight: bold; |
186 | font-size: 15px; | ||||
187 | text-transform: uppercase; | ||||
188 | overflow: auto; | ||||
189 | text-align: center; | ||||
190 | |||||
191 | span#left{ | ||||
192 | float: left; | ||||
193 | } | ||||
194 | |||||
195 | span#right{ | ||||
196 | float: right; | ||||
197 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 198 | } |
199 | } | ||||
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 200 | |
201 | div#ending_message { | ||||
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame^] | 202 | border-top: @border_color 1px solid; |
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 203 | padding: 0 40px 0 40px; |
Giulio Fidente | 069c6d6 | 2013-08-16 16:05:02 +0200 | [diff] [blame] | 204 | color: @med-grey; |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 205 | font-size: 10px; |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 206 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 207 | } |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 208 | |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 209 | @media screen and (min-width: (@side_size + @main_size + 15px)) { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 210 | aside { |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 211 | width: @side_size; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 212 | height: 100%; |
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame^] | 213 | position: absolute; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 214 | top: 0; |
215 | left: 0; | ||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 216 | |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 217 | h2 { |
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 218 | margin: 10px 0 0 0; |
219 | } | ||||
220 | |||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 221 | div#user_meta { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 222 | max-width: 192px; |
Giulio Fidente | a9b6351 | 2013-06-21 03:50:46 +0200 | [diff] [blame] | 223 | text-align: right; |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 224 | margin: 0 20px 0 auto; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 225 | } |
226 | } | ||||
227 | |||||
228 | main { | ||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 229 | position: absolute; |
230 | top: 0; | ||||
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 231 | left: @side_size; |
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 232 | margin: 0; |
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame^] | 233 | border-left: @border_color 1px solid; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 234 | overflow-x: hidden; |
235 | overflow-y: hidden; | ||||
236 | |||||
237 | header { | ||||
238 | border-top: 0; | ||||
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 239 | text-align: left; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 240 | } |
241 | } | ||||
pR0Ps | ba37f02 | 2013-12-05 16:46:27 -0500 | [diff] [blame] | 242 | } |