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; | ||||
9 | |||||
10 | body { | ||||
11 | margin: 0; | ||||
12 | padding: 0; | ||||
13 | background-color: @white; | ||||
14 | color: @dark-grey; | ||||
15 | font-family: 'PT Sans', sans-serif; | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 16 | font-size: 1em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 17 | } |
18 | |||||
19 | a { | ||||
20 | color: @black; | ||||
21 | text-decoration: none; | ||||
22 | } | ||||
23 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 24 | hr { |
25 | color: @light-grey; | ||||
26 | background-color: @light-grey; | ||||
27 | height: 1px; | ||||
28 | border: none; | ||||
29 | } | ||||
30 | |||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 31 | .border-radius (@radius: 5px) { |
32 | border-radius: @radius; | ||||
33 | -moz-border-radius: @radius; | ||||
34 | -webkit-border-radius: @radius; | ||||
35 | } | ||||
36 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 37 | aside { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 38 | width: 25%; |
39 | height: 100%; | ||||
40 | position: fixed; | ||||
41 | top: 0; | ||||
42 | left: 0; | ||||
43 | border-right: @light-grey 1px solid; | ||||
44 | |||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 45 | div#user_meta { |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 46 | max-width: 192px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 47 | margin: 0; |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 48 | padding: 40px; |
49 | font-family: 'PT Serif', serif; | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 50 | |
51 | h1 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 52 | font-size: 1.875em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 53 | font-weight: normal; |
54 | } | ||||
55 | |||||
56 | h2 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 57 | font-size: 0.75em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 58 | font-weight: normal; |
59 | } | ||||
60 | |||||
61 | ul { | ||||
Giulio Fidente | 933fe5e | 2013-03-27 10:24:10 +0100 | [diff] [blame] | 62 | margin: 40px 0 40px 0; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 63 | padding-left: 0; |
Giulio Fidente | 933fe5e | 2013-03-27 10:24:10 +0100 | [diff] [blame] | 64 | font-size: 0.875em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 65 | list-style-type: none; |
66 | |||||
67 | li { | ||||
68 | padding: 10px 0 10px 0; | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 69 | a { |
70 | color: @med-grey; | ||||
71 | border: 2px solid @light-grey; | ||||
72 | .border-radius(10px); | ||||
73 | padding: 5px 15px 5px 15px; | ||||
74 | } | ||||
75 | } | ||||
76 | } | ||||
77 | } | ||||
78 | } | ||||
79 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 80 | main { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 81 | width: 75%; |
82 | position: absolute; | ||||
83 | top: 0; | ||||
84 | left: 25%; | ||||
85 | overflow-x: hidden; | ||||
86 | overflow-y: hidden; | ||||
87 | |||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 88 | header { |
89 | padding: 40px; | ||||
90 | border-bottom: @light-grey 1px solid; | ||||
91 | |||||
92 | h3 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 93 | font-size: 0.75em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 94 | text-transform: uppercase; |
95 | } | ||||
96 | } | ||||
97 | |||||
98 | article { | ||||
99 | padding: 40px; | ||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 100 | max-width: 672px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 101 | |
102 | h1 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 103 | font-size: 1.5em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 104 | } |
105 | |||||
106 | h2 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 107 | font-size: 1.375em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 108 | } |
109 | |||||
110 | h3 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 111 | font-size: 1.25em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 112 | } |
113 | |||||
114 | h4 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 115 | font-size: 1.125em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 116 | } |
117 | |||||
118 | h5 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 119 | font-size: 1em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 120 | } |
121 | |||||
122 | h6 { | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 123 | font-size: 0.75em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 124 | } |
125 | |||||
126 | code { | ||||
Giulio Fidente | c96544f | 2013-03-26 18:31:54 +0100 | [diff] [blame] | 127 | padding: 2px; |
128 | color: @black; | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 129 | font-size: 0.875em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 130 | font-family: 'PT Mono', monospace; |
131 | background: @light-grey; | ||||
132 | } | ||||
133 | |||||
134 | pre { | ||||
Giulio Fidente | c96544f | 2013-03-26 18:31:54 +0100 | [diff] [blame] | 135 | padding-left: 5px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 136 | color: @black; |
137 | border-left: 5px solid @accent; | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 138 | font-size: 0.875em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 139 | font-family: 'PT Mono', monospace; |
140 | background: @light-grey; | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 141 | line-height: 1.25em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 142 | } |
143 | |||||
144 | blockquote { | ||||
145 | padding-left: 20px; | ||||
146 | color: @med-grey; | ||||
147 | } | ||||
148 | |||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 149 | div#article_title{ |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 150 | a { |
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 151 | font-size: 1.75em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 152 | } |
153 | } | ||||
154 | |||||
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame] | 155 | div#article_text { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 156 | margin: 0; |
157 | padding: 0; | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 158 | line-height: 1.625em; |
Giulio Fidente | 5b17419 | 2013-03-22 23:40:00 +0100 | [diff] [blame] | 159 | a { |
160 | text-decoration: underline; | ||||
161 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 162 | } |
163 | |||||
164 | div#article_meta { | ||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 165 | margin: 0; |
166 | padding: 0; | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 167 | font-size: 0.625em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 168 | color: @med-grey; |
169 | } | ||||
170 | } | ||||
171 | |||||
172 | footer { | ||||
173 | border-top: @light-grey 1px solid; | ||||
174 | padding: 40px; | ||||
175 | |||||
176 | a.button_accent { | ||||
177 | padding: 10px; | ||||
178 | border: 2px solid @accent; | ||||
179 | .border-radius(20px); | ||||
180 | text-transform: uppercase; | ||||
181 | color: @accent; | ||||
Giulio Fidente | 5dba477 | 2013-03-27 01:00:02 +0100 | [diff] [blame] | 182 | font-size: 1.25em; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 183 | &:hover { |
184 | color: @white; | ||||
185 | background-color: @accent; | ||||
186 | } | ||||
187 | &:active { | ||||
188 | color: @white; | ||||
189 | background-color: @accent; | ||||
190 | } | ||||
191 | } | ||||
192 | |||||
Giulio Fidente | 91c1d45 | 2013-03-22 15:15:17 +0100 | [diff] [blame] | 193 | p#paginator { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 194 | } |
195 | } | ||||
196 | } |