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 | b1c6dd2 | 2013-04-14 02:43:32 +0200 | [diff] [blame] | 19 | font-size: 1.125em; |
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 | |
45 | h1 { | ||||
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 | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 51 | font-size: 0.75em; |
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 | 933fe5e | 2013-03-27 10:24:10 +0100 | [diff] [blame] | 57 | font-size: 0.875em; |
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 | 4962644 | 2013-03-30 15:10:44 +0100 | [diff] [blame] | 61 | margin-right: 5px; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 62 | display: inline; |
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 | e88666d | 2013-04-29 12:25:51 +0200 | [diff] [blame^] | 83 | font-size: 0.625em; |
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 | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 92 | div#article_title { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 93 | } |
94 | |||||
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame] | 95 | div#article_text { |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 96 | line-height: 1.5em; |
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 | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 105 | font-size: 0.75em; |
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 | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 115 | font-size: 0.75em; |
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 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 128 | } |
129 | |||||
130 | div#article_meta { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 131 | font-size: 0.625em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 132 | color: @med-grey; |
133 | } | ||||
134 | } | ||||
135 | |||||
136 | footer { | ||||
137 | border-top: @light-grey 1px solid; | ||||
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 138 | border-bottom: @light-grey 1px solid; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 139 | padding: 40px; |
140 | |||||
141 | a.button_accent { | ||||
142 | padding: 10px; | ||||
143 | border: 2px solid @accent; | ||||
144 | .border-radius(20px); | ||||
145 | text-transform: uppercase; | ||||
146 | color: @accent; | ||||
Giulio Fidente | 7baeac3 | 2013-03-27 15:56:41 +0100 | [diff] [blame] | 147 | font-size: 1.125em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 148 | &:hover { |
149 | color: @white; | ||||
150 | background-color: @accent; | ||||
151 | } | ||||
152 | &:active { | ||||
153 | color: @white; | ||||
154 | background-color: @accent; | ||||
155 | } | ||||
156 | } | ||||
157 | |||||
Giulio Fidente | 91c1d45 | 2013-03-22 15:15:17 +0100 | [diff] [blame] | 158 | p#paginator { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 159 | } |
160 | } | ||||
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 161 | |
162 | div#ending_message { | ||||
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 163 | padding: 0 40px 0 40px; |
164 | font-color: @light-grey; | ||||
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 165 | font-size: 0.75em; |
166 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 167 | } |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 168 | |
169 | @media screen and (min-width: 1024px) { | ||||
170 | aside { | ||||
171 | width: 25%; | ||||
172 | height: 100%; | ||||
173 | position: fixed; | ||||
174 | top: 0; | ||||
175 | left: 0; | ||||
176 | border-right: @light-grey 1px solid; | ||||
177 | |||||
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 178 | h1 { |
179 | margin: 10px 0 0 0; | ||||
180 | } | ||||
181 | |||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 182 | div#user_meta { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 183 | max-width: 192px; |
184 | text-align: left; | ||||
185 | |||||
186 | ul { | ||||
187 | li { | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 188 | margin-bottom: 26px; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 189 | display: block; |
190 | } | ||||
191 | } | ||||
192 | } | ||||
193 | } | ||||
194 | |||||
195 | main { | ||||
196 | width: 75%; | ||||
197 | position: absolute; | ||||
198 | top: 0; | ||||
199 | left: 25%; | ||||
200 | overflow-x: hidden; | ||||
201 | overflow-y: hidden; | ||||
202 | |||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 203 | article { |
204 | max-width: 640px; | ||||
205 | } | ||||
206 | |||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 207 | header { |
208 | border-top: 0; | ||||
209 | } | ||||
210 | } | ||||
Giulio Fidente | b1c6dd2 | 2013-04-14 02:43:32 +0200 | [diff] [blame] | 211 | } |