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