blob: 3dd800edcf0ec3eae242766ca2c38a428855a1a9 [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
13body {
14 margin: 0;
15 padding: 0;
16 background-color: @white;
17 color: @dark-grey;
Giulio Fidentea6c58672013-03-30 14:55:03 +010018 font-family: @sans;
Giulio Fidente5dba4772013-03-27 01:00:02 +010019 font-size: 1em;
Giulio Fidente44ccac72013-03-21 18:51:03 +010020}
21
22a {
23 color: @black;
24 text-decoration: none;
25}
26
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010027hr {
28 color: @light-grey;
29 background-color: @light-grey;
30 height: 1px;
31 border: none;
32}
33
Giulio Fidente44ccac72013-03-21 18:51:03 +010034.border-radius (@radius: 5px) {
35 border-radius: @radius;
36 -moz-border-radius: @radius;
37 -webkit-border-radius: @radius;
38}
39
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010040aside {
Giulio Fidente44ccac72013-03-21 18:51:03 +010041 div#user_meta {
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010042 padding: 40px;
Giulio Fidentee3776082013-03-27 15:21:32 +010043 text-align: center;
Giulio Fidente44ccac72013-03-21 18:51:03 +010044
45 h1 {
Giulio Fidente68c65412013-03-30 15:22:42 +010046 margin: 15px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010047 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010048
49 p {
Giulio Fidente68c65412013-03-30 15:22:42 +010050 margin: 0 0 15px 0;
Giulio Fidente5dba4772013-03-27 01:00:02 +010051 font-size: 0.75em;
Giulio Fidente44ccac72013-03-21 18:51:03 +010052 }
53
54 ul {
Giulio Fidente4a7ae152013-03-30 10:44:45 +010055 margin: 40px 0 0 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010056 padding-left: 0;
Giulio Fidente933fe5e2013-03-27 10:24:10 +010057 font-size: 0.875em;
Giulio Fidente44ccac72013-03-21 18:51:03 +010058 list-style-type: none;
59
60 li {
Giulio Fidente49626442013-03-30 15:10:44 +010061 margin-right: 5px;
Giulio Fidentee3776082013-03-27 15:21:32 +010062 display: inline;
63
Giulio Fidente44ccac72013-03-21 18:51:03 +010064 a {
Giulio Fidentea6c58672013-03-30 14:55:03 +010065 padding: 5px 15px 5px 15px;
66 border: 3px solid @light-grey;
67 .border-radius(15px);
Giulio Fidente44ccac72013-03-21 18:51:03 +010068 color: @med-grey;
Giulio Fidente44ccac72013-03-21 18:51:03 +010069 }
70 }
71 }
72 }
73}
74
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010075main {
Giulio Fidente44ccac72013-03-21 18:51:03 +010076 header {
77 padding: 40px;
Giulio Fidentee3776082013-03-27 15:21:32 +010078 border-top: @light-grey 1px solid;
Giulio Fidente44ccac72013-03-21 18:51:03 +010079 border-bottom: @light-grey 1px solid;
80
Giulio Fidentea6c58672013-03-30 14:55:03 +010081 p {
82 font-weight: bold;
Giulio Fidente5dba4772013-03-27 01:00:02 +010083 font-size: 0.75em;
Giulio Fidente44ccac72013-03-21 18:51:03 +010084 text-transform: uppercase;
85 }
86 }
87
88 article {
Giulio Fidentea6c58672013-03-30 14:55:03 +010089 max-width: 640px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010090 padding: 40px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010091
Giulio Fidentea6c58672013-03-30 14:55:03 +010092 div#article_title {
Giulio Fidente44ccac72013-03-21 18:51:03 +010093 }
94
Giulio Fidentea5278c12013-03-23 00:33:24 +010095 div#article_text {
Giulio Fidentea6c58672013-03-30 14:55:03 +010096 line-height: 1.5em;
Giulio Fidente5b174192013-03-22 23:40:00 +010097 a {
98 text-decoration: underline;
99 }
Giulio Fidentea6c58672013-03-30 14:55:03 +0100100
101 code {
102 margin: 2px;
Giulio Fidente0161f712013-04-13 02:55:10 +0200103 padding: 0;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100104 color: @black;
Giulio Fidente0161f712013-04-13 02:55:10 +0200105 font-size: 0.75em;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100106 font-family: @mono;
107 background: @light-grey;
108 }
109
110 pre {
Giulio Fidente0161f712013-04-13 02:55:10 +0200111 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100112 padding: 2px;
113 color: @black;
114 border-left: 3px solid @accent;
Giulio Fidente0161f712013-04-13 02:55:10 +0200115 font-size: 0.75em;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100116 font-family: @mono;
117 background: @light-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200118 line-height: 1.125em;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100119 }
120
121 blockquote {
Giulio Fidente0161f712013-04-13 02:55:10 +0200122 margin: 22px 2px 22px 2px;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100123 padding-left: 40px;
124 color: @med-grey;
Giulio Fidente0161f712013-04-13 02:55:10 +0200125 font-style: italic;
Giulio Fidentea6c58672013-03-30 14:55:03 +0100126 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100127 }
128
129 div#article_meta {
Giulio Fidente5dba4772013-03-27 01:00:02 +0100130 font-size: 0.625em;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100131 color: @med-grey;
132 }
133 }
134
135 footer {
136 border-top: @light-grey 1px solid;
Giulio Fidente68c65412013-03-30 15:22:42 +0100137 border-bottom: @light-grey 1px solid;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100138 padding: 40px;
139
140 a.button_accent {
141 padding: 10px;
142 border: 2px solid @accent;
143 .border-radius(20px);
144 text-transform: uppercase;
145 color: @accent;
Giulio Fidente7baeac32013-03-27 15:56:41 +0100146 font-size: 1.125em;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100147 &:hover {
148 color: @white;
149 background-color: @accent;
150 }
151 &:active {
152 color: @white;
153 background-color: @accent;
154 }
155 }
156
Giulio Fidente91c1d452013-03-22 15:15:17 +0100157 p#paginator {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100158 }
159 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100160
161 div#ending_message {
Giulio Fidente68c65412013-03-30 15:22:42 +0100162 padding: 0 40px 0 40px;
163 font-color: @light-grey;
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100164 font-size: 0.75em;
165 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100166}
Giulio Fidentee3776082013-03-27 15:21:32 +0100167
168@media screen and (min-width: 1024px) {
169 aside {
170 width: 25%;
171 height: 100%;
172 position: fixed;
173 top: 0;
174 left: 0;
175 border-right: @light-grey 1px solid;
176
Giulio Fidente68c65412013-03-30 15:22:42 +0100177 h1 {
178 margin: 10px 0 0 0;
179 }
180
Giulio Fidentee3776082013-03-27 15:21:32 +0100181 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100182 max-width: 192px;
183 text-align: left;
184
185 ul {
186 li {
Giulio Fidentea6c58672013-03-30 14:55:03 +0100187 margin-bottom: 26px;
Giulio Fidentee3776082013-03-27 15:21:32 +0100188 display: block;
189 }
190 }
191 }
192 }
193
194 main {
195 width: 75%;
196 position: absolute;
197 top: 0;
198 left: 25%;
199 overflow-x: hidden;
200 overflow-y: hidden;
201
Giulio Fidentea6c58672013-03-30 14:55:03 +0100202 article {
203 max-width: 640px;
204 }
205
Giulio Fidentee3776082013-03-27 15:21:32 +0100206 header {
207 border-top: 0;
208 }
209 }
210}