blob: 93ead02774fa12d116c04ef5c119d302cc0b6b17 [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 Fidentea6c58672013-03-30 14:55:03 +010046 margin: 20px 0 5px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010047 }
Giulio Fidentea6c58672013-03-30 14:55:03 +010048
49 p {
50 margin: 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 Fidentea6c58672013-03-30 14:55:03 +010061 margin-right: 10px;
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;
103 padding: 2px;
104 color: @black;
105 font-size: 0.875em;
106 font-family: @mono;
107 background: @light-grey;
108 }
109
110 pre {
111 margin: 2px;
112 padding: 2px;
113 color: @black;
114 border-left: 3px solid @accent;
115 font-size: 0.875em;
116 font-family: @mono;
117 background: @light-grey;
118 line-height: 1.25em;
119 }
120
121 blockquote {
122 margin: 2px;
123 padding-left: 40px;
124 color: @med-grey;
125 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100126 }
127
128 div#article_meta {
Giulio Fidente5dba4772013-03-27 01:00:02 +0100129 font-size: 0.625em;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100130 color: @med-grey;
131 }
132 }
133
134 footer {
135 border-top: @light-grey 1px solid;
136 padding: 40px;
137
138 a.button_accent {
139 padding: 10px;
140 border: 2px solid @accent;
141 .border-radius(20px);
142 text-transform: uppercase;
143 color: @accent;
Giulio Fidente7baeac32013-03-27 15:56:41 +0100144 font-size: 1.125em;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100145 &:hover {
146 color: @white;
147 background-color: @accent;
148 }
149 &:active {
150 color: @white;
151 background-color: @accent;
152 }
153 }
154
Giulio Fidente91c1d452013-03-22 15:15:17 +0100155 p#paginator {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100156 }
157 }
Giulio Fidentebc2f70a2013-03-27 15:41:07 +0100158
159 div#ending_message {
160 text-align: center;
161 font-color: @med-grey;
162 font-size: 0.75em;
163 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100164}
Giulio Fidentee3776082013-03-27 15:21:32 +0100165
166@media screen and (min-width: 1024px) {
167 aside {
168 width: 25%;
169 height: 100%;
170 position: fixed;
171 top: 0;
172 left: 0;
173 border-right: @light-grey 1px solid;
174
175 div#user_meta {
Giulio Fidentee3776082013-03-27 15:21:32 +0100176 max-width: 192px;
177 text-align: left;
178
179 ul {
180 li {
Giulio Fidentea6c58672013-03-30 14:55:03 +0100181 margin-bottom: 26px;
Giulio Fidentee3776082013-03-27 15:21:32 +0100182 display: block;
183 }
184 }
185 }
186 }
187
188 main {
189 width: 75%;
190 position: absolute;
191 top: 0;
192 left: 25%;
193 overflow-x: hidden;
194 overflow-y: hidden;
195
Giulio Fidentea6c58672013-03-30 14:55:03 +0100196 article {
197 max-width: 640px;
198 }
199
Giulio Fidentee3776082013-03-27 15:21:32 +0100200 header {
201 border-top: 0;
202 }
203 }
204}