blob: 65697780e17094ca1d9766ef504d1331c93b3edf [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;
pR0Psd351cde2013-12-29 14:32:17 -050016@pag_label_size: 60px;
pR0Ps27341772013-12-20 09:20:32 -050017@logo_size: 150px;
pR0Psa6d15c32013-12-05 20:36:35 -050018
pR0Ps0a59c1a2014-01-31 01:15:49 -050019@total_size: (@side_size + @main_size + 15px);
20
Giulio Fidente44ccac72013-03-21 18:51:03 +010021body {
22 margin: 0;
23 padding: 0;
24 background-color: @white;
25 color: @dark-grey;
Giulio Fidentea6c58672013-03-30 14:55:03 +010026 font-family: @sans;
Giulio Fidentefe93c232013-10-05 14:42:43 +020027 font-size: 18px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010028}
29
30a {
31 color: @black;
32 text-decoration: none;
33}
34
pR0Ps41bf7d32013-12-05 16:33:55 -050035a[href]:not(.nohover) {
36 &:hover{
37 color: @accent;
38 }
39}
40
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010041hr {
pR0Ps5a6e4f02013-12-10 21:11:44 -050042 color: @border_color;
43 background-color: @border_color;
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010044 height: 1px;
45 border: none;
46}
47
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010048aside {
Giulio Fidente44ccac72013-03-21 18:51:03 +010049 div#user_meta {
pR0Psa6d15c32013-12-05 20:36:35 -050050 padding: 40px 20px 40px 20px;
Giulio Fidentee3776082013-03-27 15:21:32 +010051 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010052
pR0Ps27341772013-12-20 09:20:32 -050053 img#logo {
54 width: @logo_size;
55 height: @logo_size;
56 }
57
Giulio Fidenteda4d95b2013-04-29 15:59:35 +020058 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +010059 margin: 15px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010060 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010061
62 p {
Giulio Fidente68c65412013-03-30 15:22:42 +010063 margin: 0 0 15px 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020064 font-size: 14px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010065 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020066
Giulio Fidente44ccac72013-03-21 18:51:03 +010067 ul {
Giulio Fidente4a7ae152013-03-30 10:44:45 +010068 margin: 40px 0 0 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010069 padding-left: 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020070 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010071 list-style-type: none;
Giulio Fidentee88666d2013-04-29 12:25:51 +020072
Giulio Fidente44ccac72013-03-21 18:51:03 +010073 li {
pR0Psfee52252013-12-11 11:47:26 -050074 display: block;
75 line-height: 2em;
Giulio Fidentee3776082013-03-27 15:21:32 +010076
Giulio Fidente44ccac72013-03-21 18:51:03 +010077 a {
pR0Psfee52252013-12-11 11:47:26 -050078 i {
pR0Ps8dbfbd82013-12-18 17:46:54 -050079 padding-left: 5px;
pR0Psfee52252013-12-11 11:47:26 -050080 color: @black;
pR0Ps8dbfbd82013-12-18 17:46:54 -050081 width: 30px;
pR0Psfee52252013-12-11 11:47:26 -050082 text-align: center;
83 vertical-align: middle;
84 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010085 }
86 }
87 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020088 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010089}
90
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010091main {
pR0Psa6d15c32013-12-05 20:36:35 -050092 max-width: @main_size;
93 position: relative;
94 width: 100%;
pR0Ps44330eb2013-12-06 02:02:23 -050095 margin: auto;
pR0Psa6d15c32013-12-05 20:36:35 -050096
Giulio Fidente44ccac72013-03-21 18:51:03 +010097 header {
pR0Ps09af9c42013-12-06 04:51:29 -050098 padding: 20px 40px 20px 40px;
pR0Ps5a6e4f02013-12-10 21:11:44 -050099 border-top: @border_color 1px solid;
100 border-bottom: @border_color 1px solid;
pR0Ps44330eb2013-12-06 02:02:23 -0500101 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100102
Giulio Fidentea6c58672013-03-30 14:55:03 +0100103 p {
104 font-weight: bold;
pR0Psc2a6b972013-12-05 14:46:43 -0500105 font-size: 15px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100106 text-transform: uppercase;
107 }
pR0Ps09af9c42013-12-06 04:51:29 -0500108
109 p#header {
110 color: @black;
111 }
112
113 p:not(#header){
114 a {
115 color: @dark-grey;
116 &:hover{
117 color: @accent;
118 }
119 }
120 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100121 }
122
123 article {
pR0Psbd316a12013-12-06 03:51:43 -0500124 padding: 10px 40px 10px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100125
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100126 div.article_title {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100127 }
128
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100129 div.article_text {
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200130 line-height: 1.375em;
Giulio Fidente5b174192013-03-22 23:40:00 +0100131 a {
132 text-decoration: underline;
133 }
Giulio Fidentea6c58672013-03-30 14:55:03 +0100134
135 code {
136 margin: 2px;
Giulio Fidente0161f712013-04-13 02:55:10 +0200137 padding: 0;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100138 color: @black;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200139 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100140 font-family: @mono;
141 background: @light-grey;
142 }
143
144 pre {
Giulio Fidente0161f712013-04-13 02:55:10 +0200145 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100146 padding: 2px;
147 color: @black;
148 border-left: 3px solid @accent;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200149 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100150 font-family: @mono;
151 background: @light-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200152 line-height: 1.125em;
Giulio Fidente28d79642013-04-14 02:48:44 +0200153 overflow-x: auto;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100154 }
155
156 blockquote {
Giulio Fidente0161f712013-04-13 02:55:10 +0200157 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100158 padding-left: 40px;
159 color: @med-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200160 font-style: italic;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100161 }
pR0Psba37f022013-12-05 16:46:27 -0500162
163 .footnote-reference {
164 vertical-align: super;
165 font-size: 12px;
166 text-decoration: none;
167 line-height: 1;
168 }
169
170 .footnote {
171 font-size: smaller;
172 .fn-backref{
173 margin-right: 5px;
174 text-decoration: none;
175 }
176 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100177 }
178
Giulio Fidentefe93c232013-10-05 14:42:43 +0200179 div.gist {
180 line-height: .875em;
181 }
182
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100183 div.article_meta {
Giulio Fidentefe93c232013-10-05 14:42:43 +0200184 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100185 color: @med-grey;
186 }
187 }
188
189 footer {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500190 border-top: @border_color 1px solid;
pR0Ps721949b2013-12-11 13:09:22 -0500191 padding: 30px 40px 30px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100192
Giulio Fidenteebb4c7a2013-10-20 01:45:10 +0200193 div#paginator {
pR0Ps721949b2013-12-11 13:09:22 -0500194 font-weight: bold;
195 font-size: 15px;
196 text-transform: uppercase;
197 overflow: auto;
198 text-align: center;
199
pR0Ps981a8392013-12-11 13:11:32 -0500200 span {
201 width: @pag_label_size;
202 min-height: 1px;
pR0Ps721949b2013-12-11 13:09:22 -0500203 }
204
pR0Ps981a8392013-12-11 13:11:32 -0500205 span#left {
206 float: left;
207 text-align: left;
208 }
209
210 span#right {
pR0Ps721949b2013-12-11 13:09:22 -0500211 float: right;
pR0Ps981a8392013-12-11 13:11:32 -0500212 text-align: right;
pR0Ps721949b2013-12-11 13:09:22 -0500213 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100214 }
215 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100216
217 div#ending_message {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500218 border-top: @border_color 1px solid;
Giulio Fidente68c65412013-03-30 15:22:42 +0100219 padding: 0 40px 0 40px;
Giulio Fidente069c6d62013-08-16 16:05:02 +0200220 color: @med-grey;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200221 font-size: 10px;
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100222 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100223}
Giulio Fidentee3776082013-03-27 15:21:32 +0100224
pR0Ps0a59c1a2014-01-31 01:15:49 -0500225@media screen and (min-width: @total_size) {
Giulio Fidentee3776082013-03-27 15:21:32 +0100226 aside {
pR0Psa6d15c32013-12-05 20:36:35 -0500227 width: @side_size;
Giulio Fidentee3776082013-03-27 15:21:32 +0100228 height: 100%;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500229 position: absolute;
Giulio Fidentee3776082013-03-27 15:21:32 +0100230 top: 0;
231 left: 0;
Giulio Fidentee3776082013-03-27 15:21:32 +0100232
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200233 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +0100234 margin: 10px 0 0 0;
235 }
236
Giulio Fidentee3776082013-03-27 15:21:32 +0100237 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100238 max-width: 192px;
Giulio Fidentea9b63512013-06-21 03:50:46 +0200239 text-align: right;
pR0Psa6d15c32013-12-05 20:36:35 -0500240 margin: 0 20px 0 auto;
Giulio Fidentee3776082013-03-27 15:21:32 +0100241 }
242 }
243
244 main {
Giulio Fidentee3776082013-03-27 15:21:32 +0100245 position: absolute;
246 top: 0;
pR0Psa6d15c32013-12-05 20:36:35 -0500247 left: @side_size;
pR0Ps44330eb2013-12-06 02:02:23 -0500248 margin: 0;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500249 border-left: @border_color 1px solid;
Giulio Fidentee3776082013-03-27 15:21:32 +0100250 overflow-x: hidden;
251 overflow-y: hidden;
252
253 header {
254 border-top: 0;
pR0Ps44330eb2013-12-06 02:02:23 -0500255 text-align: left;
Giulio Fidentee3776082013-03-27 15:21:32 +0100256 }
257 }
pR0Psba37f022013-12-05 16:46:27 -0500258}