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 | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 19 | font-size: 1em; |
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 | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame^] | 46 | margin: 20px 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 { | ||||
50 | margin: 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 | } |
53 | |||||
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; |
59 | |||||
60 | li { | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame^] | 61 | margin-right: 10px; |
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 | } | ||||
72 | } | ||||
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 | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 83 | font-size: 0.75em; |
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; | ||||
103 | padding: 2px; | ||||
104 | color: @black; | ||||
105 | font-size: 0.875em; | ||||
106 | font-family: @mono; | ||||
107 | background: @light-grey; | ||||
108 | } | ||||
109 | |||||
110 | pre { | ||||
111 | margin: 2px; | ||||
112 | padding: 2px; | ||||
113 | color: @black; | ||||
114 | border-left: 3px solid @accent; | ||||
115 | font-size: 0.875em; | ||||
116 | font-family: @mono; | ||||
117 | background: @light-grey; | ||||
118 | line-height: 1.25em; | ||||
119 | } | ||||
120 | |||||
121 | blockquote { | ||||
122 | margin: 2px; | ||||
123 | padding-left: 40px; | ||||
124 | color: @med-grey; | ||||
125 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 126 | } |
127 | |||||
128 | div#article_meta { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 129 | font-size: 0.625em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 130 | color: @med-grey; |
131 | } | ||||
132 | } | ||||
133 | |||||
134 | footer { | ||||
135 | border-top: @light-grey 1px solid; | ||||
136 | padding: 40px; | ||||
137 | |||||
138 | a.button_accent { | ||||
139 | padding: 10px; | ||||
140 | border: 2px solid @accent; | ||||
141 | .border-radius(20px); | ||||
142 | text-transform: uppercase; | ||||
143 | color: @accent; | ||||
Giulio Fidente | 7baeac3 | 2013-03-27 15:56:41 +0100 | [diff] [blame] | 144 | font-size: 1.125em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 145 | &:hover { |
146 | color: @white; | ||||
147 | background-color: @accent; | ||||
148 | } | ||||
149 | &:active { | ||||
150 | color: @white; | ||||
151 | background-color: @accent; | ||||
152 | } | ||||
153 | } | ||||
154 | |||||
Giulio Fidente | 91c1d45 | 2013-03-22 15:15:17 +0100 | [diff] [blame] | 155 | p#paginator { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 156 | } |
157 | } | ||||
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 158 | |
159 | div#ending_message { | ||||
160 | text-align: center; | ||||
161 | font-color: @med-grey; | ||||
162 | font-size: 0.75em; | ||||
163 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 164 | } |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 165 | |
166 | @media screen and (min-width: 1024px) { | ||||
167 | aside { | ||||
168 | width: 25%; | ||||
169 | height: 100%; | ||||
170 | position: fixed; | ||||
171 | top: 0; | ||||
172 | left: 0; | ||||
173 | border-right: @light-grey 1px solid; | ||||
174 | |||||
175 | div#user_meta { | ||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 176 | max-width: 192px; |
177 | text-align: left; | ||||
178 | |||||
179 | ul { | ||||
180 | li { | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame^] | 181 | margin-bottom: 26px; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 182 | display: block; |
183 | } | ||||
184 | } | ||||
185 | } | ||||
186 | } | ||||
187 | |||||
188 | main { | ||||
189 | width: 75%; | ||||
190 | position: absolute; | ||||
191 | top: 0; | ||||
192 | left: 25%; | ||||
193 | overflow-x: hidden; | ||||
194 | overflow-y: hidden; | ||||
195 | |||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame^] | 196 | article { |
197 | max-width: 640px; | ||||
198 | } | ||||
199 | |||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 200 | header { |
201 | border-top: 0; | ||||
202 | } | ||||
203 | } | ||||
204 | } |