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