blob: d33d9fbf0a09b2acbf3807a26e0bbcac8f469104 [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;
9
10body {
11 margin: 0;
12 padding: 0;
13 background-color: @white;
14 color: @dark-grey;
15 font-family: 'PT Sans', sans-serif;
16 font-size: 16px;
17}
18
19a {
20 color: @black;
21 text-decoration: none;
22}
23
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010024hr {
25 color: @light-grey;
26 background-color: @light-grey;
27 height: 1px;
28 border: none;
29}
30
Giulio Fidente44ccac72013-03-21 18:51:03 +010031.border-radius (@radius: 5px) {
32 border-radius: @radius;
33 -moz-border-radius: @radius;
34 -webkit-border-radius: @radius;
35}
36
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010037aside {
Giulio Fidente44ccac72013-03-21 18:51:03 +010038 width: 25%;
39 height: 100%;
40 position: fixed;
41 top: 0;
42 left: 0;
43 border-right: @light-grey 1px solid;
44
Giulio Fidente44ccac72013-03-21 18:51:03 +010045 div#user_meta {
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010046 max-width: 192px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010047 margin: 0;
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010048 padding: 40px;
49 font-family: 'PT Serif', serif;
Giulio Fidente44ccac72013-03-21 18:51:03 +010050
51 h1 {
52 font-size: 30px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010053 font-weight: normal;
54 }
55
56 h2 {
57 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010058 font-weight: normal;
59 }
60
61 ul {
62 margin: 60px 0 60px 0;
63 padding-left: 0;
64 list-style-type: none;
65
66 li {
67 padding: 10px 0 10px 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +010068 a {
69 color: @med-grey;
70 border: 2px solid @light-grey;
71 .border-radius(10px);
72 padding: 5px 15px 5px 15px;
73 }
74 }
75 }
76 }
77}
78
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010079main {
Giulio Fidente44ccac72013-03-21 18:51:03 +010080 width: 75%;
81 position: absolute;
82 top: 0;
83 left: 25%;
84 overflow-x: hidden;
85 overflow-y: hidden;
86
Giulio Fidente44ccac72013-03-21 18:51:03 +010087 header {
88 padding: 40px;
89 border-bottom: @light-grey 1px solid;
90
91 h3 {
92 font-size: 12px;
Giulio Fidente44ccac72013-03-21 18:51:03 +010093 text-transform: uppercase;
94 }
95 }
96
97 article {
98 padding: 40px;
Giulio Fidentefc3b4d02013-03-26 15:23:42 +010099 max-width: 672px;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100100
101 h1 {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100102 font-size: 24px;
103 }
104
105 h2 {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100106 font-size: 22px;
107 }
108
109 h3 {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100110 font-size: 20px;
111 }
112
113 h4 {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100114 font-size: 18px;
115 }
116
117 h5 {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100118 font-size: 16px;
119 }
120
121 h6 {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100122 font-size: 12px;
123 }
124
125 code {
126 font-family: 'PT Mono', monospace;
127 background: @light-grey;
128 }
129
130 pre {
131 padding: 0 0 0 15px;
132 color: @black;
133 border-left: 5px solid @accent;
134 font-size: 14px;
135 font-family: 'PT Mono', monospace;
136 background: @light-grey;
137 line-height: 20px;
138 }
139
140 blockquote {
141 padding-left: 20px;
142 color: @med-grey;
143 }
144
Giulio Fidentea5278c12013-03-23 00:33:24 +0100145 h1#article_title{
Giulio Fidente44ccac72013-03-21 18:51:03 +0100146 a {
147 font-size: 28px;
148 }
149 }
150
Giulio Fidentea5278c12013-03-23 00:33:24 +0100151 div#article_text {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100152 margin: 0;
153 padding: 0;
154 line-height: 26px;
Giulio Fidente5b174192013-03-22 23:40:00 +0100155 a {
156 text-decoration: underline;
157 }
Giulio Fidente44ccac72013-03-21 18:51:03 +0100158 }
159
160 div#article_meta {
Giulio Fidentefc3b4d02013-03-26 15:23:42 +0100161 margin: 0;
162 padding: 0;
Giulio Fidente44ccac72013-03-21 18:51:03 +0100163 font-size: 10px;
164 color: @med-grey;
165 }
166 }
167
168 footer {
169 border-top: @light-grey 1px solid;
170 padding: 40px;
171
172 a.button_accent {
173 padding: 10px;
174 border: 2px solid @accent;
175 .border-radius(20px);
176 text-transform: uppercase;
177 color: @accent;
178 font-size: 20px;
179 &:hover {
180 color: @white;
181 background-color: @accent;
182 }
183 &:active {
184 color: @white;
185 background-color: @accent;
186 }
187 }
188
Giulio Fidente91c1d452013-03-22 15:15:17 +0100189 p#paginator {
Giulio Fidente44ccac72013-03-21 18:51:03 +0100190 }
191 }
192}