pR0Ps | ae71ee1 | 2015-03-05 01:03:27 -0500 | [diff] [blame] | 1 | @charset "UTF-8"; |
2 | |||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 3 | $black: #000000; |
4 | $white: #ffffff; | ||||
5 | $light-grey: #eeeeee; | ||||
6 | $med-grey: #5f5f5f; | ||||
7 | $dark-grey: #202020; | ||||
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 8 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 9 | $code-border: #c7c7c7; |
10 | $code-background: #f6f6f6; | ||||
11 | $code-linebg: #dddddd; | ||||
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 12 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 13 | $blue: #0e94ec; |
14 | $accent: $blue; | ||||
pR0Ps | 61e1004 | 2014-04-07 18:10:00 -0400 | [diff] [blame] | 15 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 16 | @import url("//fonts.googleapis.com/css?family=Ubuntu|Ubuntu+Mono"); |
17 | $sans: 'Ubuntu', sans-serif; | ||||
18 | $mono: 'Ubuntu Mono', monospace; | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 19 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 20 | $border_color: #c2c2c2; |
21 | $pag_label_size: 60px; | ||||
22 | $logo_size: 150px; | ||||
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 23 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 24 | $content_size: 640px; |
25 | $horiz_pad: 40px; | ||||
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 26 | |
Carey Metcalfe | 0c84fdb | 2014-09-29 09:51:00 -0400 | [diff] [blame] | 27 | //The minimum size the screen can be without scaling the main content |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 28 | $min_screen: floor((($content_size + $horiz_pad * 2) * 1.33)); |
pR0Ps | 0a59c1a | 2014-01-31 01:15:49 -0500 | [diff] [blame] | 29 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 30 | body { |
31 | margin: 0; | ||||
32 | padding: 0; | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 33 | background-color: $white; |
34 | color: $dark-grey; | ||||
35 | font-family: $sans; | ||||
pR0Ps | eae2267 | 2014-04-07 19:17:02 -0400 | [diff] [blame] | 36 | font-size: 16px; |
pR0Ps | 69c71b2 | 2014-10-01 20:32:38 -0400 | [diff] [blame] | 37 | min-width: 300px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 38 | } |
39 | |||||
40 | a { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 41 | color: $black; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 42 | text-decoration: none; |
43 | } | ||||
44 | |||||
pR0Ps | 41bf7d3 | 2013-12-05 16:33:55 -0500 | [diff] [blame] | 45 | a[href]:not(.nohover) { |
46 | &:hover{ | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 47 | color: $accent; |
pR0Ps | 41bf7d3 | 2013-12-05 16:33:55 -0500 | [diff] [blame] | 48 | } |
49 | } | ||||
50 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 51 | hr { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 52 | background-color: $border_color; |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 53 | height: 1px; |
54 | border: none; | ||||
55 | } | ||||
56 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 57 | aside { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 58 | div#user_meta { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 59 | padding: $horiz_pad 20px $horiz_pad 20px; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 60 | text-align: center; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 61 | |
pR0Ps | 2734177 | 2013-12-20 09:20:32 -0500 | [diff] [blame] | 62 | img#logo { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 63 | width: $logo_size; |
64 | height: $logo_size; | ||||
Carey Metcalfe | 4bc468b | 2014-09-25 13:50:13 -0400 | [diff] [blame] | 65 | border-radius: 50%; |
pR0Ps | 2734177 | 2013-12-20 09:20:32 -0500 | [diff] [blame] | 66 | } |
67 | |||||
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 68 | h2 { |
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 69 | margin: 15px 0 5px 0; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 70 | } |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 71 | |
72 | p { | ||||
pR0Ps | 58acb37 | 2015-03-05 00:18:35 -0500 | [diff] [blame] | 73 | margin: 0px; |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 74 | font-size: 14px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 75 | } |
Giulio Fidente | e88666d | 2013-04-29 12:25:51 +0200 | [diff] [blame] | 76 | |
pR0Ps | 58acb37 | 2015-03-05 00:18:35 -0500 | [diff] [blame] | 77 | i { |
78 | width: 30px; | ||||
79 | text-align: center; | ||||
80 | vertical-align: middle; | ||||
81 | } | ||||
82 | |||||
83 | div.social { | ||||
84 | margin-top:15px; | ||||
85 | |||||
86 | a { | ||||
87 | display: inline-block; | ||||
88 | height: 30px; | ||||
89 | } | ||||
90 | } | ||||
91 | |||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 92 | ul { |
pR0Ps | 58acb37 | 2015-03-05 00:18:35 -0500 | [diff] [blame] | 93 | margin: 0px; |
94 | padding-left: 0px; | ||||
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 95 | font-size: 16px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 96 | list-style-type: none; |
Giulio Fidente | e88666d | 2013-04-29 12:25:51 +0200 | [diff] [blame] | 97 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 98 | li { |
pR0Ps | fee5225 | 2013-12-11 11:47:26 -0500 | [diff] [blame] | 99 | line-height: 2em; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 100 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 101 | a { |
pR0Ps | fee5225 | 2013-12-11 11:47:26 -0500 | [diff] [blame] | 102 | i { |
pR0Ps | 8dbfbd8 | 2013-12-18 17:46:54 -0500 | [diff] [blame] | 103 | padding-left: 5px; |
pR0Ps | fee5225 | 2013-12-11 11:47:26 -0500 | [diff] [blame] | 104 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 105 | } |
106 | } | ||||
107 | } | ||||
Giulio Fidente | e88666d | 2013-04-29 12:25:51 +0200 | [diff] [blame] | 108 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 109 | } |
110 | |||||
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 111 | main { |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 112 | position: relative; |
113 | width: 100%; | ||||
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 114 | margin: auto; |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 115 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 116 | header { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 117 | padding: 0px $horiz_pad 0px $horiz_pad; |
118 | border-top: $border_color 1px solid; | ||||
119 | border-bottom: $border_color 1px solid; | ||||
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 120 | text-align: center; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 121 | color: $med-grey; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 122 | |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 123 | p { |
124 | font-weight: bold; | ||||
pR0Ps | eae2267 | 2014-04-07 19:17:02 -0400 | [diff] [blame] | 125 | font-size: 16px; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 126 | text-transform: uppercase; |
127 | } | ||||
pR0Ps | 09af9c4 | 2013-12-06 04:51:29 -0500 | [diff] [blame] | 128 | |
129 | p#header { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 130 | color: $black; |
pR0Ps | 09af9c4 | 2013-12-06 04:51:29 -0500 | [diff] [blame] | 131 | } |
132 | |||||
133 | p:not(#header){ | ||||
134 | a { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 135 | color: $med-grey; |
pR0Ps | 09af9c4 | 2013-12-06 04:51:29 -0500 | [diff] [blame] | 136 | &:hover{ |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 137 | color: $accent; |
pR0Ps | 09af9c4 | 2013-12-06 04:51:29 -0500 | [diff] [blame] | 138 | } |
139 | } | ||||
140 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 141 | } |
142 | |||||
143 | article { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 144 | padding: 10px $horiz_pad 10px $horiz_pad; |
145 | max-width: $content_size; | ||||
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 146 | margin: auto; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 147 | |
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 148 | div.article_title { |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 149 | } |
150 | |||||
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 151 | div.article_text { |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 152 | line-height: 1.375em; |
Giulio Fidente | 5b17419 | 2013-03-22 23:40:00 +0100 | [diff] [blame] | 153 | a { |
154 | text-decoration: underline; | ||||
155 | } | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 156 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 157 | @mixin codeformat { |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 158 | color: black; |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 159 | font-size: 14px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 160 | font-family: $mono; |
161 | } | ||||
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 162 | |
163 | code { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 164 | @include codeformat; |
pR0Ps | 89c43aa | 2015-01-22 23:00:03 -0500 | [diff] [blame] | 165 | padding: 2px 3px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 166 | background: $light-grey; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 167 | } |
168 | |||||
169 | pre { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 170 | @include codeformat; |
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 171 | line-height: 1.125em; |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 172 | margin-bottom: 0px; |
173 | margin-top: 0px; | ||||
174 | padding-top: 5px; | ||||
175 | padding-bottom: 10px; | ||||
176 | } | ||||
177 | |||||
178 | div.highlight pre { | ||||
179 | padding-left: 10px; | ||||
Giulio Fidente | 28d7964 | 2013-04-14 02:48:44 +0200 | [diff] [blame] | 180 | overflow-x: auto; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 181 | border: 1px solid $code-border; |
182 | border-left: 3px solid $accent; | ||||
183 | background: $code-background; | ||||
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 184 | } |
185 | |||||
186 | /* Line numbers are enabled*/ | ||||
187 | table.highlighttable { | ||||
188 | table-layout: fixed; | ||||
189 | width: 100%; | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 190 | border: 1px solid $code-border; |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 191 | border-collapse: collapse; |
192 | |||||
193 | pre { | ||||
194 | border: none; | ||||
195 | } | ||||
196 | |||||
pR0Ps | d883e12 | 2015-01-22 16:20:30 -0500 | [diff] [blame] | 197 | td { |
198 | padding: 0px; | ||||
199 | } | ||||
200 | |||||
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 201 | td.linenos { |
202 | width: 30px; | ||||
203 | overflow: hidden; | ||||
204 | text-align: right; | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 205 | border-left: 3px solid $accent; |
206 | border-right: 1px solid $code-border; | ||||
207 | background: $code-linebg; | ||||
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 208 | vertical-align:top; |
209 | |||||
210 | div.linenodiv pre { | ||||
211 | padding-right: 4px; | ||||
212 | float: right; | ||||
213 | } | ||||
214 | } | ||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 215 | } |
216 | |||||
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 217 | div.admonition { |
218 | |||||
219 | border-width: 1px 1px 1px 7px; | ||||
220 | border-radius: 10px; | ||||
221 | border-style: solid; | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 222 | border-color: $code-border; |
223 | border-left-color: $dark-grey; | ||||
224 | background-color: $code-background; | ||||
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 225 | |
226 | &.update, &.hint, &.important, &.note, &.tip { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 227 | border-left-color: $accent; |
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 228 | } |
229 | |||||
230 | &.warning, &.attention, &.caution, &.danger { | ||||
231 | border-left-color: red; | ||||
232 | } | ||||
233 | |||||
234 | p { | ||||
235 | margin: 0px; | ||||
236 | padding: 10px 15px; | ||||
237 | } | ||||
238 | |||||
239 | p.admonition-title{ | ||||
240 | text-transform: uppercase; | ||||
241 | font-weight: bold; | ||||
242 | padding: 5px 15px; | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 243 | border-bottom: 1px solid $code-border; |
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 244 | } |
245 | } | ||||
246 | |||||
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 247 | blockquote { |
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 248 | margin: 22px 2px 22px 2px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 249 | padding-left: $horiz_pad; |
250 | color: $med-grey; | ||||
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 251 | font-style: italic; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 252 | } |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 253 | } |
254 | |||||
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 255 | div.article_meta { |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 256 | font-size: 12px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 257 | color: $med-grey; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 258 | } |
pR0Ps | 032e7d8 | 2015-02-07 01:43:51 -0500 | [diff] [blame] | 259 | |
260 | div#article_comments{ | ||||
261 | padding-top: 10px; | ||||
262 | padding-bottom: 10px; | ||||
263 | |||||
264 | i { | ||||
265 | padding-right: 10px; | ||||
266 | } | ||||
267 | } | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 268 | } |
269 | |||||
270 | footer { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 271 | border-top: $border_color 1px solid; |
272 | padding: 30px $horiz_pad 30px $horiz_pad; | ||||
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 273 | |
Giulio Fidente | ebb4c7a | 2013-10-20 01:45:10 +0200 | [diff] [blame] | 274 | div#paginator { |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 275 | font-weight: bold; |
276 | font-size: 15px; | ||||
277 | text-transform: uppercase; | ||||
278 | overflow: auto; | ||||
279 | text-align: center; | ||||
280 | |||||
pR0Ps | 69c71b2 | 2014-10-01 20:32:38 -0400 | [diff] [blame] | 281 | div{ |
282 | display: inline-block; | ||||
283 | } | ||||
284 | |||||
pR0Ps | 981a839 | 2013-12-11 13:11:32 -0500 | [diff] [blame] | 285 | span { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 286 | width: $pag_label_size; |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 287 | } |
288 | |||||
pR0Ps | 981a839 | 2013-12-11 13:11:32 -0500 | [diff] [blame] | 289 | span#left { |
290 | float: left; | ||||
291 | text-align: left; | ||||
292 | } | ||||
293 | |||||
294 | span#right { | ||||
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 295 | float: right; |
pR0Ps | 981a839 | 2013-12-11 13:11:32 -0500 | [diff] [blame] | 296 | text-align: right; |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 297 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 298 | } |
299 | } | ||||
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 300 | |
301 | div#ending_message { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 302 | border-top: $border_color 1px solid; |
303 | padding: 0 $horiz_pad 0 $horiz_pad; | ||||
304 | color: $med-grey; | ||||
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 305 | font-size: 10px; |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 306 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 307 | } |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 308 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 309 | @media screen and (min-width: $min_screen) { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 310 | aside { |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 311 | width: 25%; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 312 | height: 100%; |
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame] | 313 | position: absolute; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 314 | top: 0; |
315 | left: 0; | ||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 316 | |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 317 | h2 { |
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 318 | margin: 10px 0 0 0; |
319 | } | ||||
320 | |||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 321 | div#user_meta { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 322 | max-width: 192px; |
Giulio Fidente | a9b6351 | 2013-06-21 03:50:46 +0200 | [diff] [blame] | 323 | text-align: right; |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 324 | margin: 0 20px 0 auto; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 325 | } |
326 | } | ||||
327 | |||||
328 | main { | ||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 329 | position: absolute; |
330 | top: 0; | ||||
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 331 | left: 25%; |
332 | width: 75%; | ||||
333 | margin-left: -1px; | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 334 | border-left: $border_color 1px solid; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 335 | overflow-x: hidden; |
336 | overflow-y: hidden; | ||||
337 | |||||
338 | header { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 339 | padding: 10px $horiz_pad 10px $horiz_pad; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 340 | border-top: 0; |
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 341 | text-align: left; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 342 | } |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 343 | |
344 | article { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 345 | width: $content_size; |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 346 | margin: 0; |
347 | } | ||||
348 | |||||
349 | footer{ | ||||
350 | div#paginator { | ||||
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame^] | 351 | width: $content_size; |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 352 | } |
353 | } | ||||
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 354 | } |
pR0Ps | ba37f02 | 2013-12-05 16:46:27 -0500 | [diff] [blame] | 355 | } |