blob: ad65a1a742505c4a844313a26e609541875e9398 [file] [log] [blame]
Giulio Fidente44ccac72013-03-21 18:51:03 +01001@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 Fidentea6c58672013-03-30 14:55:03 +01009@sans: 'PT Sans', sans-serif;
10@serif: 'PT Serif', serif;
11@mono: 'PT Mono', monospace;
Giulio Fidente44ccac72013-03-21 18:51:03 +010012
pR0Psa6d15c32013-12-05 20:36:35 -050013@side_size: 250px;
14@main_size: 755px;
pR0Ps5a6e4f02013-12-10 21:11:44 -050015@border_color: #C2C2C2;
pR0Ps065362a2013-12-19 21:18:03 -050016@pag_label_size: 50px;
pR0Ps27341772013-12-20 09:20:32 -050017@logo_size: 150px;
pR0Psa6d15c32013-12-05 20:36:35 -050018
Giulio Fidente44ccac72013-03-21 18:51:03 +010019body {
20 margin: 0;
21 padding: 0;
22 background-color: @white;
23 color: @dark-grey;
Giulio Fidentea6c58672013-03-30 14:55:03 +010024 font-family: @sans;
Giulio Fidentefe93c232013-10-05 14:42:43 +020025 font-size: 18px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010026}
27
28a {
29 color: @black;
30 text-decoration: none;
31}
32
pR0Ps41bf7d32013-12-05 16:33:55 -050033a[href]:not(.nohover) {
34 &:hover{
35 color: @accent;
36 }
37}
38
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010039hr {
pR0Ps5a6e4f02013-12-10 21:11:44 -050040 color: @border_color;
41 background-color: @border_color;
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010042 height: 1px;
43 border: none;
44}
45
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010046aside {
Giulio Fidente44ccac72013-03-21 18:51:03 +010047 div#user_meta {
pR0Psa6d15c32013-12-05 20:36:35 -050048 padding: 40px 20px 40px 20px;
Giulio Fidentee3776082013-03-27 15:21:32 +010049 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010050
pR0Ps27341772013-12-20 09:20:32 -050051 img#logo {
52 width: @logo_size;
53 height: @logo_size;
54 }
55
Giulio Fidenteda4d95b2013-04-29 15:59:35 +020056 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +010057 margin: 15px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010058 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010059
60 p {
Giulio Fidente68c65412013-03-30 15:22:42 +010061 margin: 0 0 15px 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020062 font-size: 14px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010063 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020064
Giulio Fidente44ccac72013-03-21 18:51:03 +010065 ul {
Giulio Fidente4a7ae152013-03-30 10:44:45 +010066 margin: 40px 0 0 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010067 padding-left: 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020068 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010069 list-style-type: none;
Giulio Fidentee88666d2013-04-29 12:25:51 +020070
Giulio Fidente44ccac72013-03-21 18:51:03 +010071 li {
pR0Psfee52252013-12-11 11:47:26 -050072 display: block;
73 line-height: 2em;
Giulio Fidentee3776082013-03-27 15:21:32 +010074
Giulio Fidente44ccac72013-03-21 18:51:03 +010075 a {
pR0Psfee52252013-12-11 11:47:26 -050076 i {
pR0Ps8dbfbd82013-12-18 17:46:54 -050077 padding-left: 5px;
pR0Psfee52252013-12-11 11:47:26 -050078 color: @black;
pR0Ps8dbfbd82013-12-18 17:46:54 -050079 width: 30px;
pR0Psfee52252013-12-11 11:47:26 -050080 text-align: center;
81 vertical-align: middle;
82 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010083 }
84 }
85 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020086 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010087}
88
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010089main {
pR0Psa6d15c32013-12-05 20:36:35 -050090 max-width: @main_size;
91 position: relative;
92 width: 100%;
pR0Ps44330eb2013-12-06 02:02:23 -050093 margin: auto;
pR0Psa6d15c32013-12-05 20:36:35 -050094
Giulio Fidente44ccac72013-03-21 18:51:03 +010095 header {
pR0Ps09af9c42013-12-06 04:51:29 -050096 padding: 20px 40px 20px 40px;
pR0Ps5a6e4f02013-12-10 21:11:44 -050097 border-top: @border_color 1px solid;
98 border-bottom: @border_color 1px solid;
pR0Ps44330eb2013-12-06 02:02:23 -050099 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100100
Giulio Fidentea6c58672013-03-30 14:55:03 +0100101 p {
102 font-weight: bold;
pR0Psc2a6b972013-12-05 14:46:43 -0500103 font-size: 15px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100104 text-transform: uppercase;
105 }
pR0Ps09af9c42013-12-06 04:51:29 -0500106
107 p#header {
108 color: @black;
109 }
110
111 p:not(#header){
112 a {
113 color: @dark-grey;
114 &:hover{
115 color: @accent;
116 }
117 }
118 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100119 }
120
121 article {
pR0Psbd316a12013-12-06 03:51:43 -0500122 padding: 10px 40px 10px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100123
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100124 div.article_title {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100125 }
126
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100127 div.article_text {
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200128 line-height: 1.375em;
Giulio Fidente5b174192013-03-22 23:40:00 +0100129 a {
130 text-decoration: underline;
131 }
Giulio Fidentea6c58672013-03-30 14:55:03 +0100132
133 code {
134 margin: 2px;
Giulio Fidente0161f712013-04-13 02:55:10 +0200135 padding: 0;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100136 color: @black;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200137 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100138 font-family: @mono;
139 background: @light-grey;
140 }
141
142 pre {
Giulio Fidente0161f712013-04-13 02:55:10 +0200143 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100144 padding: 2px;
145 color: @black;
146 border-left: 3px solid @accent;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200147 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100148 font-family: @mono;
149 background: @light-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200150 line-height: 1.125em;
Giulio Fidente28d79642013-04-14 02:48:44 +0200151 overflow-x: auto;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100152 }
153
154 blockquote {
Giulio Fidente0161f712013-04-13 02:55:10 +0200155 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100156 padding-left: 40px;
157 color: @med-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200158 font-style: italic;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100159 }
pR0Psba37f022013-12-05 16:46:27 -0500160
161 .footnote-reference {
162 vertical-align: super;
163 font-size: 12px;
164 text-decoration: none;
165 line-height: 1;
166 }
167
168 .footnote {
169 font-size: smaller;
170 .fn-backref{
171 margin-right: 5px;
172 text-decoration: none;
173 }
174 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100175 }
176
Giulio Fidentefe93c232013-10-05 14:42:43 +0200177 div.gist {
178 line-height: .875em;
179 }
180
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100181 div.article_meta {
Giulio Fidentefe93c232013-10-05 14:42:43 +0200182 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100183 color: @med-grey;
184 }
185 }
186
187 footer {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500188 border-top: @border_color 1px solid;
pR0Ps721949b2013-12-11 13:09:22 -0500189 padding: 30px 40px 30px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100190
Giulio Fidenteebb4c7a2013-10-20 01:45:10 +0200191 div#paginator {
pR0Ps721949b2013-12-11 13:09:22 -0500192 font-weight: bold;
193 font-size: 15px;
194 text-transform: uppercase;
195 overflow: auto;
196 text-align: center;
197
pR0Ps981a8392013-12-11 13:11:32 -0500198 span {
199 width: @pag_label_size;
200 min-height: 1px;
pR0Ps721949b2013-12-11 13:09:22 -0500201 }
202
pR0Ps981a8392013-12-11 13:11:32 -0500203 span#left {
204 float: left;
205 text-align: left;
206 }
207
208 span#right {
pR0Ps721949b2013-12-11 13:09:22 -0500209 float: right;
pR0Ps981a8392013-12-11 13:11:32 -0500210 text-align: right;
pR0Ps721949b2013-12-11 13:09:22 -0500211 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100212 }
213 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100214
215 div#ending_message {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500216 border-top: @border_color 1px solid;
Giulio Fidente68c65412013-03-30 15:22:42 +0100217 padding: 0 40px 0 40px;
Giulio Fidente069c6d62013-08-16 16:05:02 +0200218 color: @med-grey;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200219 font-size: 10px;
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100220 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100221}
Giulio Fidentee3776082013-03-27 15:21:32 +0100222
pR0Psa6d15c32013-12-05 20:36:35 -0500223@media screen and (min-width: (@side_size + @main_size + 15px)) {
Giulio Fidentee3776082013-03-27 15:21:32 +0100224 aside {
pR0Psa6d15c32013-12-05 20:36:35 -0500225 width: @side_size;
Giulio Fidentee3776082013-03-27 15:21:32 +0100226 height: 100%;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500227 position: absolute;
Giulio Fidentee3776082013-03-27 15:21:32 +0100228 top: 0;
229 left: 0;
Giulio Fidentee3776082013-03-27 15:21:32 +0100230
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200231 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +0100232 margin: 10px 0 0 0;
233 }
234
Giulio Fidentee3776082013-03-27 15:21:32 +0100235 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100236 max-width: 192px;
Giulio Fidentea9b63512013-06-21 03:50:46 +0200237 text-align: right;
pR0Psa6d15c32013-12-05 20:36:35 -0500238 margin: 0 20px 0 auto;
Giulio Fidentee3776082013-03-27 15:21:32 +0100239 }
240 }
241
242 main {
Giulio Fidentee3776082013-03-27 15:21:32 +0100243 position: absolute;
244 top: 0;
pR0Psa6d15c32013-12-05 20:36:35 -0500245 left: @side_size;
pR0Ps44330eb2013-12-06 02:02:23 -0500246 margin: 0;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500247 border-left: @border_color 1px solid;
Giulio Fidentee3776082013-03-27 15:21:32 +0100248 overflow-x: hidden;
249 overflow-y: hidden;
250
251 header {
252 border-top: 0;
pR0Ps44330eb2013-12-06 02:02:23 -0500253 text-align: left;
Giulio Fidentee3776082013-03-27 15:21:32 +0100254 }
255 }
pR0Psba37f022013-12-05 16:46:27 -0500256}