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