blob: acb0b55ba96d5c9cf3ea2e0c775e137d1a5fd91a [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;
pR0Psa6d15c32013-12-05 20:36:35 -050017
Giulio Fidente44ccac72013-03-21 18:51:03 +010018body {
19 margin: 0;
20 padding: 0;
21 background-color: @white;
22 color: @dark-grey;
Giulio Fidentea6c58672013-03-30 14:55:03 +010023 font-family: @sans;
Giulio Fidentefe93c232013-10-05 14:42:43 +020024 font-size: 18px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010025}
26
27a {
28 color: @black;
29 text-decoration: none;
30}
31
pR0Ps41bf7d32013-12-05 16:33:55 -050032a[href]:not(.nohover) {
33 &:hover{
34 color: @accent;
35 }
36}
37
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010038hr {
pR0Ps5a6e4f02013-12-10 21:11:44 -050039 color: @border_color;
40 background-color: @border_color;
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010041 height: 1px;
42 border: none;
43}
44
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010045aside {
Giulio Fidente44ccac72013-03-21 18:51:03 +010046 div#user_meta {
pR0Psa6d15c32013-12-05 20:36:35 -050047 padding: 40px 20px 40px 20px;
Giulio Fidentee3776082013-03-27 15:21:32 +010048 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010049
Giulio Fidenteda4d95b2013-04-29 15:59:35 +020050 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +010051 margin: 15px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010052 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010053
54 p {
Giulio Fidente68c65412013-03-30 15:22:42 +010055 margin: 0 0 15px 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020056 font-size: 14px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010057 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020058
Giulio Fidente44ccac72013-03-21 18:51:03 +010059 ul {
Giulio Fidente4a7ae152013-03-30 10:44:45 +010060 margin: 40px 0 0 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010061 padding-left: 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020062 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010063 list-style-type: none;
Giulio Fidentee88666d2013-04-29 12:25:51 +020064
Giulio Fidente44ccac72013-03-21 18:51:03 +010065 li {
pR0Psfee52252013-12-11 11:47:26 -050066 display: block;
67 line-height: 2em;
Giulio Fidentee3776082013-03-27 15:21:32 +010068
Giulio Fidente44ccac72013-03-21 18:51:03 +010069 a {
pR0Psfee52252013-12-11 11:47:26 -050070 i {
pR0Ps8dbfbd82013-12-18 17:46:54 -050071 padding-left: 5px;
pR0Psfee52252013-12-11 11:47:26 -050072 color: @black;
pR0Ps8dbfbd82013-12-18 17:46:54 -050073 width: 30px;
pR0Psfee52252013-12-11 11:47:26 -050074 text-align: center;
75 vertical-align: middle;
76 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010077 }
78 }
79 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020080 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010081}
82
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010083main {
pR0Psa6d15c32013-12-05 20:36:35 -050084 max-width: @main_size;
85 position: relative;
86 width: 100%;
pR0Ps44330eb2013-12-06 02:02:23 -050087 margin: auto;
pR0Psa6d15c32013-12-05 20:36:35 -050088
Giulio Fidente44ccac72013-03-21 18:51:03 +010089 header {
pR0Ps09af9c42013-12-06 04:51:29 -050090 padding: 20px 40px 20px 40px;
pR0Ps5a6e4f02013-12-10 21:11:44 -050091 border-top: @border_color 1px solid;
92 border-bottom: @border_color 1px solid;
pR0Ps44330eb2013-12-06 02:02:23 -050093 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010094
Giulio Fidentea6c58672013-03-30 14:55:03 +010095 p {
96 font-weight: bold;
pR0Psc2a6b972013-12-05 14:46:43 -050097 font-size: 15px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010098 text-transform: uppercase;
99 }
pR0Ps09af9c42013-12-06 04:51:29 -0500100
101 p#header {
102 color: @black;
103 }
104
105 p:not(#header){
106 a {
107 color: @dark-grey;
108 &:hover{
109 color: @accent;
110 }
111 }
112 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100113 }
114
115 article {
pR0Psbd316a12013-12-06 03:51:43 -0500116 padding: 10px 40px 10px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100117
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100118 div.article_title {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100119 }
120
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100121 div.article_text {
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200122 line-height: 1.375em;
Giulio Fidente5b174192013-03-22 23:40:00 +0100123 a {
124 text-decoration: underline;
125 }
Giulio Fidentea6c58672013-03-30 14:55:03 +0100126
127 code {
128 margin: 2px;
Giulio Fidente0161f712013-04-13 02:55:10 +0200129 padding: 0;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100130 color: @black;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200131 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100132 font-family: @mono;
133 background: @light-grey;
134 }
135
136 pre {
Giulio Fidente0161f712013-04-13 02:55:10 +0200137 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100138 padding: 2px;
139 color: @black;
140 border-left: 3px solid @accent;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200141 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100142 font-family: @mono;
143 background: @light-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200144 line-height: 1.125em;
Giulio Fidente28d79642013-04-14 02:48:44 +0200145 overflow-x: auto;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100146 }
147
148 blockquote {
Giulio Fidente0161f712013-04-13 02:55:10 +0200149 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100150 padding-left: 40px;
151 color: @med-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200152 font-style: italic;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100153 }
pR0Psba37f022013-12-05 16:46:27 -0500154
155 .footnote-reference {
156 vertical-align: super;
157 font-size: 12px;
158 text-decoration: none;
159 line-height: 1;
160 }
161
162 .footnote {
163 font-size: smaller;
164 .fn-backref{
165 margin-right: 5px;
166 text-decoration: none;
167 }
168 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100169 }
170
Giulio Fidentefe93c232013-10-05 14:42:43 +0200171 div.gist {
172 line-height: .875em;
173 }
174
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100175 div.article_meta {
Giulio Fidentefe93c232013-10-05 14:42:43 +0200176 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100177 color: @med-grey;
178 }
179 }
180
181 footer {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500182 border-top: @border_color 1px solid;
pR0Ps721949b2013-12-11 13:09:22 -0500183 padding: 30px 40px 30px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100184
Giulio Fidenteebb4c7a2013-10-20 01:45:10 +0200185 div#paginator {
pR0Ps721949b2013-12-11 13:09:22 -0500186 font-weight: bold;
187 font-size: 15px;
188 text-transform: uppercase;
189 overflow: auto;
190 text-align: center;
191
pR0Ps981a8392013-12-11 13:11:32 -0500192 span {
193 width: @pag_label_size;
194 min-height: 1px;
pR0Ps721949b2013-12-11 13:09:22 -0500195 }
196
pR0Ps981a8392013-12-11 13:11:32 -0500197 span#left {
198 float: left;
199 text-align: left;
200 }
201
202 span#right {
pR0Ps721949b2013-12-11 13:09:22 -0500203 float: right;
pR0Ps981a8392013-12-11 13:11:32 -0500204 text-align: right;
pR0Ps721949b2013-12-11 13:09:22 -0500205 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100206 }
207 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100208
209 div#ending_message {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500210 border-top: @border_color 1px solid;
Giulio Fidente68c65412013-03-30 15:22:42 +0100211 padding: 0 40px 0 40px;
Giulio Fidente069c6d62013-08-16 16:05:02 +0200212 color: @med-grey;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200213 font-size: 10px;
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100214 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100215}
Giulio Fidentee3776082013-03-27 15:21:32 +0100216
pR0Psa6d15c32013-12-05 20:36:35 -0500217@media screen and (min-width: (@side_size + @main_size + 15px)) {
Giulio Fidentee3776082013-03-27 15:21:32 +0100218 aside {
pR0Psa6d15c32013-12-05 20:36:35 -0500219 width: @side_size;
Giulio Fidentee3776082013-03-27 15:21:32 +0100220 height: 100%;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500221 position: absolute;
Giulio Fidentee3776082013-03-27 15:21:32 +0100222 top: 0;
223 left: 0;
Giulio Fidentee3776082013-03-27 15:21:32 +0100224
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200225 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +0100226 margin: 10px 0 0 0;
227 }
228
Giulio Fidentee3776082013-03-27 15:21:32 +0100229 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100230 max-width: 192px;
Giulio Fidentea9b63512013-06-21 03:50:46 +0200231 text-align: right;
pR0Psa6d15c32013-12-05 20:36:35 -0500232 margin: 0 20px 0 auto;
Giulio Fidentee3776082013-03-27 15:21:32 +0100233 }
234 }
235
236 main {
Giulio Fidentee3776082013-03-27 15:21:32 +0100237 position: absolute;
238 top: 0;
pR0Psa6d15c32013-12-05 20:36:35 -0500239 left: @side_size;
pR0Ps44330eb2013-12-06 02:02:23 -0500240 margin: 0;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500241 border-left: @border_color 1px solid;
Giulio Fidentee3776082013-03-27 15:21:32 +0100242 overflow-x: hidden;
243 overflow-y: hidden;
244
245 header {
246 border-top: 0;
pR0Ps44330eb2013-12-06 02:02:23 -0500247 text-align: left;
Giulio Fidentee3776082013-03-27 15:21:32 +0100248 }
249 }
pR0Psba37f022013-12-05 16:46:27 -0500250}