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