blob: 97dfd11bb6d04016fd6c2a6cbdf490dd8ab298be [file] [log] [blame]
pR0Ps69cebd62014-04-07 18:11:01 -04001@red: #ff0000;
2@black: #000000;
3@white: #ffffff;
4@light-grey: #eeeeee;
pR0Pseae22672014-04-07 19:17:02 -04005@med-grey: #5f5f5f;
pR0Ps69cebd62014-04-07 18:11:01 -04006@dark-grey: #202020;
7@blue: #0e94ec;
8@accent: @blue;
pR0Ps61e10042014-04-07 18:10:00 -04009
Vincent Cheng8d10ff22014-04-30 19:12:51 -070010@import (css) "//fonts.googleapis.com/css?family=Ubuntu|Ubuntu+Mono";
pR0Ps2faeb222014-04-07 18:23:39 -040011@sans: 'Ubuntu', sans-serif;
12@mono: 'Ubuntu Mono', monospace;
Giulio Fidente44ccac72013-03-21 18:51:03 +010013
pR0Psa6d15c32013-12-05 20:36:35 -050014@side_size: 250px;
pR0Psc5c66752014-04-10 14:37:01 -040015@main_size: 740px;
pR0Ps5a6e4f02013-12-10 21:11:44 -050016@border_color: #C2C2C2;
pR0Psd351cde2013-12-29 14:32:17 -050017@pag_label_size: 60px;
pR0Ps27341772013-12-20 09:20:32 -050018@logo_size: 150px;
pR0Psa6d15c32013-12-05 20:36:35 -050019
pR0Psc5c66752014-04-10 14:37:01 -040020@total_size: (@side_size + @main_size + 16px);
pR0Ps0a59c1a2014-01-31 01:15:49 -050021
Giulio Fidente44ccac72013-03-21 18:51:03 +010022body {
23 margin: 0;
24 padding: 0;
25 background-color: @white;
26 color: @dark-grey;
Giulio Fidentea6c58672013-03-30 14:55:03 +010027 font-family: @sans;
pR0Pseae22672014-04-07 19:17:02 -040028 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010029}
30
31a {
32 color: @black;
33 text-decoration: none;
34}
35
pR0Ps41bf7d32013-12-05 16:33:55 -050036a[href]:not(.nohover) {
37 &:hover{
38 color: @accent;
39 }
40}
41
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010042hr {
pR0Ps5a6e4f02013-12-10 21:11:44 -050043 color: @border_color;
44 background-color: @border_color;
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010045 height: 1px;
46 border: none;
47}
48
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010049aside {
Giulio Fidente44ccac72013-03-21 18:51:03 +010050 div#user_meta {
pR0Psa6d15c32013-12-05 20:36:35 -050051 padding: 40px 20px 40px 20px;
Giulio Fidentee3776082013-03-27 15:21:32 +010052 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010053
pR0Ps27341772013-12-20 09:20:32 -050054 img#logo {
55 width: @logo_size;
56 height: @logo_size;
57 }
58
Giulio Fidenteda4d95b2013-04-29 15:59:35 +020059 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +010060 margin: 15px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010061 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010062
63 p {
Giulio Fidente68c65412013-03-30 15:22:42 +010064 margin: 0 0 15px 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020065 font-size: 14px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010066 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020067
Giulio Fidente44ccac72013-03-21 18:51:03 +010068 ul {
pR0Pse5f49ca2014-03-04 01:47:54 -050069 margin: 20px 0 0 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010070 padding-left: 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020071 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010072 list-style-type: none;
Giulio Fidentee88666d2013-04-29 12:25:51 +020073
Giulio Fidente44ccac72013-03-21 18:51:03 +010074 li {
pR0Psfee52252013-12-11 11:47:26 -050075 display: block;
76 line-height: 2em;
Giulio Fidentee3776082013-03-27 15:21:32 +010077
Giulio Fidente44ccac72013-03-21 18:51:03 +010078 a {
pR0Psfee52252013-12-11 11:47:26 -050079 i {
pR0Ps8dbfbd82013-12-18 17:46:54 -050080 padding-left: 5px;
pR0Psfee52252013-12-11 11:47:26 -050081 color: @black;
pR0Ps8dbfbd82013-12-18 17:46:54 -050082 width: 30px;
pR0Psfee52252013-12-11 11:47:26 -050083 text-align: center;
84 vertical-align: middle;
85 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010086 }
87 }
88 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020089 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010090}
91
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010092main {
pR0Psa6d15c32013-12-05 20:36:35 -050093 max-width: @main_size;
94 position: relative;
95 width: 100%;
pR0Ps44330eb2013-12-06 02:02:23 -050096 margin: auto;
pR0Psa6d15c32013-12-05 20:36:35 -050097
Giulio Fidente44ccac72013-03-21 18:51:03 +010098 header {
pR0Ps09af9c42013-12-06 04:51:29 -050099 padding: 20px 40px 20px 40px;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500100 border-top: @border_color 1px solid;
101 border-bottom: @border_color 1px solid;
pR0Ps44330eb2013-12-06 02:02:23 -0500102 text-align: center;
pR0Pseae22672014-04-07 19:17:02 -0400103 color: @med-grey;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100104
Giulio Fidentea6c58672013-03-30 14:55:03 +0100105 p {
106 font-weight: bold;
pR0Pseae22672014-04-07 19:17:02 -0400107 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100108 text-transform: uppercase;
109 }
pR0Ps09af9c42013-12-06 04:51:29 -0500110
111 p#header {
112 color: @black;
113 }
114
115 p:not(#header){
116 a {
pR0Pseae22672014-04-07 19:17:02 -0400117 color: @med-grey;
pR0Ps09af9c42013-12-06 04:51:29 -0500118 &:hover{
119 color: @accent;
120 }
121 }
122 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100123 }
124
125 article {
pR0Psbd316a12013-12-06 03:51:43 -0500126 padding: 10px 40px 10px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100127
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100128 div.article_title {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100129 }
130
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100131 div.article_text {
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200132 line-height: 1.375em;
Giulio Fidente5b174192013-03-22 23:40:00 +0100133 a {
134 text-decoration: underline;
135 }
Giulio Fidentea6c58672013-03-30 14:55:03 +0100136
137 code {
138 margin: 2px;
Giulio Fidente0161f712013-04-13 02:55:10 +0200139 padding: 0;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100140 color: @black;
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;
144 }
145
146 pre {
Giulio Fidente0161f712013-04-13 02:55:10 +0200147 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100148 padding: 2px;
149 color: @black;
150 border-left: 3px solid @accent;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200151 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100152 font-family: @mono;
153 background: @light-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200154 line-height: 1.125em;
Giulio Fidente28d79642013-04-14 02:48:44 +0200155 overflow-x: auto;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100156 }
157
158 blockquote {
Giulio Fidente0161f712013-04-13 02:55:10 +0200159 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100160 padding-left: 40px;
161 color: @med-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200162 font-style: italic;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100163 }
pR0Psba37f022013-12-05 16:46:27 -0500164
165 .footnote-reference {
166 vertical-align: super;
167 font-size: 12px;
168 text-decoration: none;
169 line-height: 1;
170 }
171
172 .footnote {
173 font-size: smaller;
174 .fn-backref{
175 margin-right: 5px;
176 text-decoration: none;
177 }
178 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100179 }
180
Giulio Fidentefe93c232013-10-05 14:42:43 +0200181 div.gist {
182 line-height: .875em;
183 }
184
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100185 div.article_meta {
Giulio Fidentefe93c232013-10-05 14:42:43 +0200186 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100187 color: @med-grey;
188 }
189 }
190
191 footer {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500192 border-top: @border_color 1px solid;
pR0Ps721949b2013-12-11 13:09:22 -0500193 padding: 30px 40px 30px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100194
Giulio Fidenteebb4c7a2013-10-20 01:45:10 +0200195 div#paginator {
pR0Ps721949b2013-12-11 13:09:22 -0500196 font-weight: bold;
197 font-size: 15px;
198 text-transform: uppercase;
199 overflow: auto;
200 text-align: center;
201
pR0Ps981a8392013-12-11 13:11:32 -0500202 span {
203 width: @pag_label_size;
204 min-height: 1px;
pR0Ps721949b2013-12-11 13:09:22 -0500205 }
206
pR0Ps981a8392013-12-11 13:11:32 -0500207 span#left {
208 float: left;
209 text-align: left;
210 }
211
212 span#right {
pR0Ps721949b2013-12-11 13:09:22 -0500213 float: right;
pR0Ps981a8392013-12-11 13:11:32 -0500214 text-align: right;
pR0Ps721949b2013-12-11 13:09:22 -0500215 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100216 }
217 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100218
219 div#ending_message {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500220 border-top: @border_color 1px solid;
Giulio Fidente68c65412013-03-30 15:22:42 +0100221 padding: 0 40px 0 40px;
Giulio Fidente069c6d62013-08-16 16:05:02 +0200222 color: @med-grey;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200223 font-size: 10px;
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100224 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100225}
Giulio Fidentee3776082013-03-27 15:21:32 +0100226
pR0Ps0a59c1a2014-01-31 01:15:49 -0500227@media screen and (min-width: @total_size) {
Giulio Fidentee3776082013-03-27 15:21:32 +0100228 aside {
pR0Psa6d15c32013-12-05 20:36:35 -0500229 width: @side_size;
Giulio Fidentee3776082013-03-27 15:21:32 +0100230 height: 100%;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500231 position: absolute;
Giulio Fidentee3776082013-03-27 15:21:32 +0100232 top: 0;
233 left: 0;
Giulio Fidentee3776082013-03-27 15:21:32 +0100234
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200235 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +0100236 margin: 10px 0 0 0;
237 }
238
Giulio Fidentee3776082013-03-27 15:21:32 +0100239 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100240 max-width: 192px;
Giulio Fidentea9b63512013-06-21 03:50:46 +0200241 text-align: right;
pR0Psa6d15c32013-12-05 20:36:35 -0500242 margin: 0 20px 0 auto;
Giulio Fidentee3776082013-03-27 15:21:32 +0100243 }
244 }
245
246 main {
Giulio Fidentee3776082013-03-27 15:21:32 +0100247 position: absolute;
248 top: 0;
pR0Psa6d15c32013-12-05 20:36:35 -0500249 left: @side_size;
pR0Ps44330eb2013-12-06 02:02:23 -0500250 margin: 0;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500251 border-left: @border_color 1px solid;
Giulio Fidentee3776082013-03-27 15:21:32 +0100252 overflow-x: hidden;
253 overflow-y: hidden;
254
255 header {
256 border-top: 0;
pR0Ps44330eb2013-12-06 02:02:23 -0500257 text-align: left;
Giulio Fidentee3776082013-03-27 15:21:32 +0100258 }
259 }
pR0Psba37f022013-12-05 16:46:27 -0500260}