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