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 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 171 | @mixin codeformat { |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 172 | color: black; |
Carey Metcalfe | cccb4ec | 2016-10-19 02:48:15 -0400 | [diff] [blame] | 173 | font-size: $code_font_size; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 174 | font-family: $mono; |
| 175 | } |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 176 | |
| 177 | code { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 178 | @include codeformat; |
Carey Metcalfe | cccb4ec | 2016-10-19 02:48:15 -0400 | [diff] [blame] | 179 | padding: 1px 3px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 180 | background: $light-grey; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 181 | } |
| 182 | |
| 183 | pre { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 184 | @include codeformat; |
Carey Metcalfe | 4a36505 | 2019-01-23 04:19:51 -0500 | [diff] [blame] | 185 | line-height: 1.25; |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 186 | margin-bottom: 0px; |
| 187 | margin-top: 0px; |
| 188 | padding-top: 5px; |
| 189 | padding-bottom: 10px; |
| 190 | } |
| 191 | |
Carey Metcalfe | 4a36505 | 2019-01-23 04:19:51 -0500 | [diff] [blame] | 192 | div.highlight { |
| 193 | overflow: auto; |
| 194 | } |
| 195 | |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 196 | div.highlight pre { |
Carey Metcalfe | 4a36505 | 2019-01-23 04:19:51 -0500 | [diff] [blame] | 197 | display: inline-block; |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 198 | padding-left: 10px; |
Giulio Fidente | 28d7964 | 2013-04-14 02:48:44 +0200 | [diff] [blame] | 199 | overflow-x: auto; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 200 | border: 1px solid $code-border; |
| 201 | border-left: 3px solid $accent; |
| 202 | background: $code-background; |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 203 | } |
| 204 | |
Carey Metcalfe | cccb4ec | 2016-10-19 02:48:15 -0400 | [diff] [blame] | 205 | /* Line numbers are enabled */ |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 206 | table.highlighttable { |
| 207 | table-layout: fixed; |
| 208 | width: 100%; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 209 | border: 1px solid $code-border; |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 210 | border-collapse: collapse; |
| 211 | |
| 212 | pre { |
| 213 | border: none; |
| 214 | } |
| 215 | |
pR0Ps | d883e12 | 2015-01-22 16:20:30 -0500 | [diff] [blame] | 216 | td { |
| 217 | padding: 0px; |
| 218 | } |
| 219 | |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 220 | td.linenos { |
| 221 | width: 30px; |
| 222 | overflow: hidden; |
| 223 | text-align: right; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 224 | border-left: 3px solid $accent; |
| 225 | border-right: 1px solid $code-border; |
| 226 | background: $code-linebg; |
pR0Ps | 0aea77e | 2015-01-21 21:55:39 -0500 | [diff] [blame] | 227 | vertical-align:top; |
| 228 | |
| 229 | div.linenodiv pre { |
| 230 | padding-right: 4px; |
| 231 | float: right; |
| 232 | } |
| 233 | } |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 234 | } |
| 235 | |
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 236 | div.admonition { |
| 237 | |
| 238 | border-width: 1px 1px 1px 7px; |
| 239 | border-radius: 10px; |
| 240 | border-style: solid; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 241 | border-color: $code-border; |
| 242 | border-left-color: $dark-grey; |
| 243 | background-color: $code-background; |
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 244 | |
| 245 | &.update, &.hint, &.important, &.note, &.tip { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 246 | border-left-color: $accent; |
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 247 | } |
| 248 | |
| 249 | &.warning, &.attention, &.caution, &.danger { |
Carey Metcalfe | cccb4ec | 2016-10-19 02:48:15 -0400 | [diff] [blame] | 250 | border-left-color: $danger; |
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 251 | } |
| 252 | |
| 253 | p { |
| 254 | margin: 0px; |
| 255 | padding: 10px 15px; |
| 256 | } |
| 257 | |
| 258 | p.admonition-title{ |
| 259 | text-transform: uppercase; |
| 260 | font-weight: bold; |
| 261 | padding: 5px 15px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 262 | border-bottom: 1px solid $code-border; |
pR0Ps | e889f47 | 2015-01-22 00:50:31 -0500 | [diff] [blame] | 263 | } |
| 264 | } |
| 265 | |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 266 | blockquote { |
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 267 | margin: 22px 2px 22px 2px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 268 | padding-left: $horiz_pad; |
| 269 | color: $med-grey; |
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 270 | font-style: italic; |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 271 | } |
Giulio Fidente | fe93c23 | 2013-10-05 14:42:43 +0200 | [diff] [blame] | 272 | } |
| 273 | |
Giulio Fidente | 0bc1f0e | 2013-11-05 16:23:23 +0100 | [diff] [blame] | 274 | div.article_meta { |
Carey Metcalfe | cccb4ec | 2016-10-19 02:48:15 -0400 | [diff] [blame] | 275 | font-size: $article_meta_font_size; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 276 | color: $med-grey; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 277 | } |
pR0Ps | 032e7d8 | 2015-02-07 01:43:51 -0500 | [diff] [blame] | 278 | |
| 279 | div#article_comments{ |
| 280 | padding-top: 10px; |
| 281 | padding-bottom: 10px; |
| 282 | |
| 283 | i { |
| 284 | padding-right: 10px; |
| 285 | } |
| 286 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 287 | } |
| 288 | |
| 289 | footer { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 290 | border-top: $border_color 1px solid; |
| 291 | padding: 30px $horiz_pad 30px $horiz_pad; |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 292 | |
Giulio Fidente | ebb4c7a | 2013-10-20 01:45:10 +0200 | [diff] [blame] | 293 | div#paginator { |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 294 | font-weight: bold; |
Carey Metcalfe | cccb4ec | 2016-10-19 02:48:15 -0400 | [diff] [blame] | 295 | font-size: $pagination_font_size; |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 296 | text-transform: uppercase; |
| 297 | overflow: auto; |
| 298 | text-align: center; |
| 299 | |
pR0Ps | 69c71b2 | 2014-10-01 20:32:38 -0400 | [diff] [blame] | 300 | div{ |
| 301 | display: inline-block; |
| 302 | } |
| 303 | |
pR0Ps | 981a839 | 2013-12-11 13:11:32 -0500 | [diff] [blame] | 304 | span { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 305 | width: $pag_label_size; |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 306 | } |
| 307 | |
pR0Ps | 981a839 | 2013-12-11 13:11:32 -0500 | [diff] [blame] | 308 | span#left { |
| 309 | float: left; |
| 310 | text-align: left; |
| 311 | } |
| 312 | |
| 313 | span#right { |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 314 | float: right; |
pR0Ps | 981a839 | 2013-12-11 13:11:32 -0500 | [diff] [blame] | 315 | text-align: right; |
pR0Ps | 721949b | 2013-12-11 13:09:22 -0500 | [diff] [blame] | 316 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 317 | } |
| 318 | } |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 319 | |
| 320 | div#ending_message { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 321 | border-top: $border_color 1px solid; |
| 322 | padding: 0 $horiz_pad 0 $horiz_pad; |
| 323 | color: $med-grey; |
Carey Metcalfe | cccb4ec | 2016-10-19 02:48:15 -0400 | [diff] [blame] | 324 | font-size: $footer_font_size; |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 325 | } |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 326 | } |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 327 | |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 328 | @media screen and (min-width: $min_screen) { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 329 | aside { |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 330 | width: 25%; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 331 | height: 100%; |
pR0Ps | 5a6e4f0 | 2013-12-10 21:11:44 -0500 | [diff] [blame] | 332 | position: absolute; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 333 | top: 0; |
| 334 | left: 0; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 335 | |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 336 | h2 { |
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 337 | margin: 10px 0 0 0; |
| 338 | } |
| 339 | |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 340 | div#user_meta { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 341 | max-width: 192px; |
Giulio Fidente | a9b6351 | 2013-06-21 03:50:46 +0200 | [diff] [blame] | 342 | text-align: right; |
pR0Ps | a6d15c3 | 2013-12-05 20:36:35 -0500 | [diff] [blame] | 343 | margin: 0 20px 0 auto; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 344 | } |
| 345 | } |
| 346 | |
| 347 | main { |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 348 | position: absolute; |
| 349 | top: 0; |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 350 | left: 25%; |
| 351 | width: 75%; |
| 352 | margin-left: -1px; |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 353 | border-left: $border_color 1px solid; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 354 | overflow-x: hidden; |
| 355 | overflow-y: hidden; |
| 356 | |
| 357 | header { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 358 | padding: 10px $horiz_pad 10px $horiz_pad; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 359 | border-top: 0; |
pR0Ps | 44330eb | 2013-12-06 02:02:23 -0500 | [diff] [blame] | 360 | text-align: left; |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 361 | } |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 362 | |
| 363 | article { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 364 | width: $content_size; |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 365 | margin: 0; |
| 366 | } |
| 367 | |
| 368 | footer{ |
| 369 | div#paginator { |
pR0Ps | a9f8203 | 2015-03-11 21:36:35 -0400 | [diff] [blame] | 370 | width: $content_size; |
pR0Ps | 5fd3a0f | 2014-09-27 00:56:41 -0400 | [diff] [blame] | 371 | } |
| 372 | } |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 373 | } |
pR0Ps | ba37f02 | 2013-12-05 16:46:27 -0500 | [diff] [blame] | 374 | } |