blob: 14763dba07f4a878bc2e9573e5bd7a2ba2df7f15 [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;
15
Giulio Fidente44ccac72013-03-21 18:51:03 +010016body {
17 margin: 0;
18 padding: 0;
19 background-color: @white;
20 color: @dark-grey;
Giulio Fidentea6c58672013-03-30 14:55:03 +010021 font-family: @sans;
Giulio Fidentefe93c232013-10-05 14:42:43 +020022 font-size: 18px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010023}
24
25a {
26 color: @black;
27 text-decoration: none;
28}
29
pR0Ps41bf7d32013-12-05 16:33:55 -050030a[href]:not(.nohover) {
31 &:hover{
32 color: @accent;
33 }
34}
35
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010036hr {
37 color: @light-grey;
38 background-color: @light-grey;
39 height: 1px;
40 border: none;
41}
42
Giulio Fidente44ccac72013-03-21 18:51:03 +010043.border-radius (@radius: 5px) {
44 border-radius: @radius;
45 -moz-border-radius: @radius;
46 -webkit-border-radius: @radius;
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
Giulio Fidenteda4d95b2013-04-29 15:59:35 +020054 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +010055 margin: 15px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010056 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010057
58 p {
Giulio Fidente68c65412013-03-30 15:22:42 +010059 margin: 0 0 15px 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020060 font-size: 14px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010061 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020062
Giulio Fidente44ccac72013-03-21 18:51:03 +010063 ul {
Giulio Fidente4a7ae152013-03-30 10:44:45 +010064 margin: 40px 0 0 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010065 padding-left: 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020066 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010067 list-style-type: none;
Giulio Fidentee88666d2013-04-29 12:25:51 +020068
Giulio Fidente44ccac72013-03-21 18:51:03 +010069 li {
pR0Psfee52252013-12-11 11:47:26 -050070 display: block;
71 line-height: 2em;
Giulio Fidentee3776082013-03-27 15:21:32 +010072
Giulio Fidente44ccac72013-03-21 18:51:03 +010073 a {
pR0Psfee52252013-12-11 11:47:26 -050074 i {
75 padding: 0px 0px 0px 10px;
76 color: @black;
77 //width: 35px;
78 text-align: center;
79 vertical-align: middle;
80 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010081 }
82 }
83 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020084 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010085}
86
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010087main {
pR0Psa6d15c32013-12-05 20:36:35 -050088 max-width: @main_size;
89 position: relative;
90 width: 100%;
pR0Ps44330eb2013-12-06 02:02:23 -050091 margin: auto;
pR0Psa6d15c32013-12-05 20:36:35 -050092
Giulio Fidente44ccac72013-03-21 18:51:03 +010093 header {
pR0Ps09af9c42013-12-06 04:51:29 -050094 padding: 20px 40px 20px 40px;
Giulio Fidentee3776082013-03-27 15:21:32 +010095 border-top: @light-grey 1px solid;
Giulio Fidente44ccac72013-03-21 18:51:03 +010096 border-bottom: @light-grey 1px solid;
pR0Ps44330eb2013-12-06 02:02:23 -050097 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010098
Giulio Fidentea6c58672013-03-30 14:55:03 +010099 p {
100 font-weight: bold;
pR0Psc2a6b972013-12-05 14:46:43 -0500101 font-size: 15px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100102 text-transform: uppercase;
103 }
pR0Ps09af9c42013-12-06 04:51:29 -0500104
105 p#header {
106 color: @black;
107 }
108
109 p:not(#header){
110 a {
111 color: @dark-grey;
112 &:hover{
113 color: @accent;
114 }
115 }
116 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100117 }
118
119 article {
pR0Psbd316a12013-12-06 03:51:43 -0500120 padding: 10px 40px 10px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100121
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100122 div.article_title {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100123 }
124
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100125 div.article_text {
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200126 line-height: 1.375em;
Giulio Fidente5b174192013-03-22 23:40:00 +0100127 a {
128 text-decoration: underline;
129 }
Giulio Fidentea6c58672013-03-30 14:55:03 +0100130
131 code {
132 margin: 2px;
Giulio Fidente0161f712013-04-13 02:55:10 +0200133 padding: 0;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100134 color: @black;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200135 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100136 font-family: @mono;
137 background: @light-grey;
138 }
139
140 pre {
Giulio Fidente0161f712013-04-13 02:55:10 +0200141 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100142 padding: 2px;
143 color: @black;
144 border-left: 3px solid @accent;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200145 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100146 font-family: @mono;
147 background: @light-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200148 line-height: 1.125em;
Giulio Fidente28d79642013-04-14 02:48:44 +0200149 overflow-x: auto;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100150 }
151
152 blockquote {
Giulio Fidente0161f712013-04-13 02:55:10 +0200153 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100154 padding-left: 40px;
155 color: @med-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200156 font-style: italic;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100157 }
pR0Psba37f022013-12-05 16:46:27 -0500158
159 .footnote-reference {
160 vertical-align: super;
161 font-size: 12px;
162 text-decoration: none;
163 line-height: 1;
164 }
165
166 .footnote {
167 font-size: smaller;
168 .fn-backref{
169 margin-right: 5px;
170 text-decoration: none;
171 }
172 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100173 }
174
Giulio Fidentefe93c232013-10-05 14:42:43 +0200175 div.gist {
176 line-height: .875em;
177 }
178
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100179 div.article_meta {
Giulio Fidentefe93c232013-10-05 14:42:43 +0200180 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100181 color: @med-grey;
182 }
183 }
184
185 footer {
186 border-top: @light-grey 1px solid;
Giulio Fidente68c65412013-03-30 15:22:42 +0100187 border-bottom: @light-grey 1px solid;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100188 padding: 40px;
189
190 a.button_accent {
191 padding: 10px;
192 border: 2px solid @accent;
193 .border-radius(20px);
194 text-transform: uppercase;
195 color: @accent;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200196 font-size: 18px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100197 &:hover {
198 color: @white;
199 background-color: @accent;
200 }
201 &:active {
202 color: @white;
203 background-color: @accent;
204 }
205 }
206
Giulio Fidenteebb4c7a2013-10-20 01:45:10 +0200207 div#paginator {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100208 }
209 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100210
211 div#ending_message {
Giulio Fidente68c65412013-03-30 15:22:42 +0100212 padding: 0 40px 0 40px;
Giulio Fidente069c6d62013-08-16 16:05:02 +0200213 color: @med-grey;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200214 font-size: 10px;
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100215 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100216}
Giulio Fidentee3776082013-03-27 15:21:32 +0100217
pR0Psa6d15c32013-12-05 20:36:35 -0500218@media screen and (min-width: (@side_size + @main_size + 15px)) {
Giulio Fidentee3776082013-03-27 15:21:32 +0100219 aside {
pR0Psa6d15c32013-12-05 20:36:35 -0500220 width: @side_size;
Giulio Fidentee3776082013-03-27 15:21:32 +0100221 height: 100%;
222 position: fixed;
223 top: 0;
224 left: 0;
225 border-right: @light-grey 1px solid;
226
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200227 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +0100228 margin: 10px 0 0 0;
229 }
230
Giulio Fidentee3776082013-03-27 15:21:32 +0100231 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100232 max-width: 192px;
Giulio Fidentea9b63512013-06-21 03:50:46 +0200233 text-align: right;
pR0Psa6d15c32013-12-05 20:36:35 -0500234 margin: 0 20px 0 auto;
Giulio Fidentee3776082013-03-27 15:21:32 +0100235 }
236 }
237
238 main {
Giulio Fidentee3776082013-03-27 15:21:32 +0100239 position: absolute;
240 top: 0;
pR0Psa6d15c32013-12-05 20:36:35 -0500241 left: @side_size;
pR0Ps44330eb2013-12-06 02:02:23 -0500242 margin: 0;
Giulio Fidentee3776082013-03-27 15:21:32 +0100243 overflow-x: hidden;
244 overflow-y: hidden;
245
246 header {
247 border-top: 0;
pR0Ps44330eb2013-12-06 02:02:23 -0500248 text-align: left;
Giulio Fidentee3776082013-03-27 15:21:32 +0100249 }
250 }
pR0Psba37f022013-12-05 16:46:27 -0500251}