blob: d0dae9edc65c6d034746a7d9a4d3ec48f70449a6 [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;
pR0Psa6d15c32013-12-05 20:36:35 -050016
Giulio Fidente44ccac72013-03-21 18:51:03 +010017body {
18 margin: 0;
19 padding: 0;
20 background-color: @white;
21 color: @dark-grey;
Giulio Fidentea6c58672013-03-30 14:55:03 +010022 font-family: @sans;
Giulio Fidentefe93c232013-10-05 14:42:43 +020023 font-size: 18px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010024}
25
26a {
27 color: @black;
28 text-decoration: none;
29}
30
pR0Ps41bf7d32013-12-05 16:33:55 -050031a[href]:not(.nohover) {
32 &:hover{
33 color: @accent;
34 }
35}
36
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010037hr {
pR0Ps5a6e4f02013-12-10 21:11:44 -050038 color: @border_color;
39 background-color: @border_color;
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010040 height: 1px;
41 border: none;
42}
43
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010044aside {
Giulio Fidente44ccac72013-03-21 18:51:03 +010045 div#user_meta {
pR0Psa6d15c32013-12-05 20:36:35 -050046 padding: 40px 20px 40px 20px;
Giulio Fidentee3776082013-03-27 15:21:32 +010047 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010048
Giulio Fidenteda4d95b2013-04-29 15:59:35 +020049 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +010050 margin: 15px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010051 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010052
53 p {
Giulio Fidente68c65412013-03-30 15:22:42 +010054 margin: 0 0 15px 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020055 font-size: 14px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010056 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020057
Giulio Fidente44ccac72013-03-21 18:51:03 +010058 ul {
Giulio Fidente4a7ae152013-03-30 10:44:45 +010059 margin: 40px 0 0 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010060 padding-left: 0;
Giulio Fidentefe93c232013-10-05 14:42:43 +020061 font-size: 16px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010062 list-style-type: none;
Giulio Fidentee88666d2013-04-29 12:25:51 +020063
Giulio Fidente44ccac72013-03-21 18:51:03 +010064 li {
pR0Psfee52252013-12-11 11:47:26 -050065 display: block;
66 line-height: 2em;
Giulio Fidentee3776082013-03-27 15:21:32 +010067
Giulio Fidente44ccac72013-03-21 18:51:03 +010068 a {
pR0Psfee52252013-12-11 11:47:26 -050069 i {
70 padding: 0px 0px 0px 10px;
71 color: @black;
72 //width: 35px;
73 text-align: center;
74 vertical-align: middle;
75 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010076 }
77 }
78 }
Giulio Fidentee88666d2013-04-29 12:25:51 +020079 }
Giulio Fidente44ccac72013-03-21 18:51:03 +010080}
81
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010082main {
pR0Psa6d15c32013-12-05 20:36:35 -050083 max-width: @main_size;
84 position: relative;
85 width: 100%;
pR0Ps44330eb2013-12-06 02:02:23 -050086 margin: auto;
pR0Psa6d15c32013-12-05 20:36:35 -050087
Giulio Fidente44ccac72013-03-21 18:51:03 +010088 header {
pR0Ps09af9c42013-12-06 04:51:29 -050089 padding: 20px 40px 20px 40px;
pR0Ps5a6e4f02013-12-10 21:11:44 -050090 border-top: @border_color 1px solid;
91 border-bottom: @border_color 1px solid;
pR0Ps44330eb2013-12-06 02:02:23 -050092 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010093
Giulio Fidentea6c58672013-03-30 14:55:03 +010094 p {
95 font-weight: bold;
pR0Psc2a6b972013-12-05 14:46:43 -050096 font-size: 15px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010097 text-transform: uppercase;
98 }
pR0Ps09af9c42013-12-06 04:51:29 -050099
100 p#header {
101 color: @black;
102 }
103
104 p:not(#header){
105 a {
106 color: @dark-grey;
107 &:hover{
108 color: @accent;
109 }
110 }
111 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100112 }
113
114 article {
pR0Psbd316a12013-12-06 03:51:43 -0500115 padding: 10px 40px 10px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100116
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100117 div.article_title {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100118 }
119
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100120 div.article_text {
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200121 line-height: 1.375em;
Giulio Fidente5b174192013-03-22 23:40:00 +0100122 a {
123 text-decoration: underline;
124 }
Giulio Fidentea6c58672013-03-30 14:55:03 +0100125
126 code {
127 margin: 2px;
Giulio Fidente0161f712013-04-13 02:55:10 +0200128 padding: 0;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100129 color: @black;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200130 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100131 font-family: @mono;
132 background: @light-grey;
133 }
134
135 pre {
Giulio Fidente0161f712013-04-13 02:55:10 +0200136 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100137 padding: 2px;
138 color: @black;
139 border-left: 3px solid @accent;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200140 font-size: 14px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100141 font-family: @mono;
142 background: @light-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200143 line-height: 1.125em;
Giulio Fidente28d79642013-04-14 02:48:44 +0200144 overflow-x: auto;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100145 }
146
147 blockquote {
Giulio Fidente0161f712013-04-13 02:55:10 +0200148 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100149 padding-left: 40px;
150 color: @med-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200151 font-style: italic;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100152 }
pR0Psba37f022013-12-05 16:46:27 -0500153
154 .footnote-reference {
155 vertical-align: super;
156 font-size: 12px;
157 text-decoration: none;
158 line-height: 1;
159 }
160
161 .footnote {
162 font-size: smaller;
163 .fn-backref{
164 margin-right: 5px;
165 text-decoration: none;
166 }
167 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100168 }
169
Giulio Fidentefe93c232013-10-05 14:42:43 +0200170 div.gist {
171 line-height: .875em;
172 }
173
Giulio Fidente0bc1f0e2013-11-05 16:23:23 +0100174 div.article_meta {
Giulio Fidentefe93c232013-10-05 14:42:43 +0200175 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100176 color: @med-grey;
177 }
178 }
179
180 footer {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500181 border-top: @border_color 1px solid;
pR0Ps721949b2013-12-11 13:09:22 -0500182 padding: 30px 40px 30px 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100183
Giulio Fidenteebb4c7a2013-10-20 01:45:10 +0200184 div#paginator {
pR0Ps721949b2013-12-11 13:09:22 -0500185 font-weight: bold;
186 font-size: 15px;
187 text-transform: uppercase;
188 overflow: auto;
189 text-align: center;
190
191 span#left{
192 float: left;
193 }
194
195 span#right{
196 float: right;
197 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100198 }
199 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100200
201 div#ending_message {
pR0Ps5a6e4f02013-12-10 21:11:44 -0500202 border-top: @border_color 1px solid;
Giulio Fidente68c65412013-03-30 15:22:42 +0100203 padding: 0 40px 0 40px;
Giulio Fidente069c6d62013-08-16 16:05:02 +0200204 color: @med-grey;
Giulio Fidentefe93c232013-10-05 14:42:43 +0200205 font-size: 10px;
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100206 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100207}
Giulio Fidentee3776082013-03-27 15:21:32 +0100208
pR0Psa6d15c32013-12-05 20:36:35 -0500209@media screen and (min-width: (@side_size + @main_size + 15px)) {
Giulio Fidentee3776082013-03-27 15:21:32 +0100210 aside {
pR0Psa6d15c32013-12-05 20:36:35 -0500211 width: @side_size;
Giulio Fidentee3776082013-03-27 15:21:32 +0100212 height: 100%;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500213 position: absolute;
Giulio Fidentee3776082013-03-27 15:21:32 +0100214 top: 0;
215 left: 0;
Giulio Fidentee3776082013-03-27 15:21:32 +0100216
Giulio Fidenteda4d95b2013-04-29 15:59:35 +0200217 h2 {
Giulio Fidente68c65412013-03-30 15:22:42 +0100218 margin: 10px 0 0 0;
219 }
220
Giulio Fidentee3776082013-03-27 15:21:32 +0100221 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100222 max-width: 192px;
Giulio Fidentea9b63512013-06-21 03:50:46 +0200223 text-align: right;
pR0Psa6d15c32013-12-05 20:36:35 -0500224 margin: 0 20px 0 auto;
Giulio Fidentee3776082013-03-27 15:21:32 +0100225 }
226 }
227
228 main {
Giulio Fidentee3776082013-03-27 15:21:32 +0100229 position: absolute;
230 top: 0;
pR0Psa6d15c32013-12-05 20:36:35 -0500231 left: @side_size;
pR0Ps44330eb2013-12-06 02:02:23 -0500232 margin: 0;
pR0Ps5a6e4f02013-12-10 21:11:44 -0500233 border-left: @border_color 1px solid;
Giulio Fidentee3776082013-03-27 15:21:32 +0100234 overflow-x: hidden;
235 overflow-y: hidden;
236
237 header {
238 border-top: 0;
pR0Ps44330eb2013-12-06 02:02:23 -0500239 text-align: left;
Giulio Fidentee3776082013-03-27 15:21:32 +0100240 }
241 }
pR0Psba37f022013-12-05 16:46:27 -0500242}