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; | ||||
16 | font-size: 16px; | ||||
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 { | ||||
52 | font-size: 30px; | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 53 | font-weight: normal; |
54 | } | ||||
55 | |||||
56 | h2 { | ||||
57 | font-size: 12px; | ||||
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 { | ||||
92 | font-size: 12px; | ||||
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 | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 102 | font-size: 24px; |
103 | } | ||||
104 | |||||
105 | h2 { | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 106 | font-size: 22px; |
107 | } | ||||
108 | |||||
109 | h3 { | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 110 | font-size: 20px; |
111 | } | ||||
112 | |||||
113 | h4 { | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 114 | font-size: 18px; |
115 | } | ||||
116 | |||||
117 | h5 { | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 118 | font-size: 16px; |
119 | } | ||||
120 | |||||
121 | h6 { | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 122 | font-size: 12px; |
123 | } | ||||
124 | |||||
125 | code { | ||||
126 | font-family: 'PT Mono', monospace; | ||||
127 | background: @light-grey; | ||||
128 | } | ||||
129 | |||||
130 | pre { | ||||
131 | padding: 0 0 0 15px; | ||||
132 | color: @black; | ||||
133 | border-left: 5px solid @accent; | ||||
134 | font-size: 14px; | ||||
135 | font-family: 'PT Mono', monospace; | ||||
136 | background: @light-grey; | ||||
137 | line-height: 20px; | ||||
138 | } | ||||
139 | |||||
140 | blockquote { | ||||
141 | padding-left: 20px; | ||||
142 | color: @med-grey; | ||||
143 | } | ||||
144 | |||||
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame] | 145 | h1#article_title{ |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 146 | a { |
147 | font-size: 28px; | ||||
148 | } | ||||
149 | } | ||||
150 | |||||
Giulio Fidente | a5278c1 | 2013-03-23 00:33:24 +0100 | [diff] [blame] | 151 | div#article_text { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 152 | margin: 0; |
153 | padding: 0; | ||||
154 | line-height: 26px; | ||||
Giulio Fidente | 5b17419 | 2013-03-22 23:40:00 +0100 | [diff] [blame] | 155 | a { |
156 | text-decoration: underline; | ||||
157 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 158 | } |
159 | |||||
160 | div#article_meta { | ||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame^] | 161 | margin: 0; |
162 | padding: 0; | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 163 | font-size: 10px; |
164 | color: @med-grey; | ||||
165 | } | ||||
166 | } | ||||
167 | |||||
168 | footer { | ||||
169 | border-top: @light-grey 1px solid; | ||||
170 | padding: 40px; | ||||
171 | |||||
172 | a.button_accent { | ||||
173 | padding: 10px; | ||||
174 | border: 2px solid @accent; | ||||
175 | .border-radius(20px); | ||||
176 | text-transform: uppercase; | ||||
177 | color: @accent; | ||||
178 | font-size: 20px; | ||||
179 | &:hover { | ||||
180 | color: @white; | ||||
181 | background-color: @accent; | ||||
182 | } | ||||
183 | &:active { | ||||
184 | color: @white; | ||||
185 | background-color: @accent; | ||||
186 | } | ||||
187 | } | ||||
188 | |||||
Giulio Fidente | 91c1d45 | 2013-03-22 15:15:17 +0100 | [diff] [blame] | 189 | p#paginator { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 190 | } |
191 | } | ||||
192 | } |