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