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