diff options
Diffstat (limited to 'app/assets/stylesheets')
| -rw-r--r-- | app/assets/stylesheets/admin.css.scss | 2 | ||||
| -rw-r--r-- | app/assets/stylesheets/admin/dashboard.scss | 44 | ||||
| -rw-r--r-- | app/assets/stylesheets/admin/layout.scss | 66 | ||||
| -rw-r--r-- | app/assets/stylesheets/main/entries.scss | 429 | ||||
| -rw-r--r-- | app/assets/stylesheets/main/games.scss | 79 | ||||
| -rw-r--r-- | app/assets/stylesheets/main/layout.scss | 195 | ||||
| -rw-r--r-- | app/assets/stylesheets/main/records.scss | 13 | ||||
| -rw-r--r-- | app/assets/stylesheets/main/rouge.css.erb | 15 | ||||
| -rw-r--r-- | app/assets/stylesheets/quotes.css.scss | 6 | ||||
| -rw-r--r-- | app/assets/stylesheets/quotes/layout.css.sass | 220 | ||||
| -rw-r--r-- | app/assets/stylesheets/quotes/pagination.css.scss | 49 |
11 files changed, 1047 insertions, 71 deletions
| diff --git a/app/assets/stylesheets/admin.css.scss b/app/assets/stylesheets/admin.css.scss index 5235c4b..cb6fb96 100644 --- a/app/assets/stylesheets/admin.css.scss +++ b/app/assets/stylesheets/admin.css.scss | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | *= require normalize-rails | 2 | *= require normalize-rails |
| 3 | *= require tags-input | ||
| 4 | *= require jquery-ui | ||
| 3 | *= require_tree ./admin | 5 | *= require_tree ./admin |
| 4 | */ | 6 | */ |
| diff --git a/app/assets/stylesheets/admin/dashboard.scss b/app/assets/stylesheets/admin/dashboard.scss index c75b95a..44e13b3 100644 --- a/app/assets/stylesheets/admin/dashboard.scss +++ b/app/assets/stylesheets/admin/dashboard.scss | |||
| @@ -1,3 +1,47 @@ | |||
| 1 | // Place all the styles related to the Admin::Dashboard controller here. | 1 | // Place all the styles related to the Admin::Dashboard controller here. |
| 2 | // They will automatically be included in application.css. | 2 | // They will automatically be included in application.css. |
| 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ | 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ |
| 4 | |||
| 5 | .pagination { | ||
| 6 | background: #f1f1f1; | ||
| 7 | border: 1px solid #e5e5e5; | ||
| 8 | text-align: center; | ||
| 9 | padding: 1em; | ||
| 10 | cursor: default; | ||
| 11 | |||
| 12 | a, span { | ||
| 13 | padding: 0.2em 0.3em; | ||
| 14 | } | ||
| 15 | |||
| 16 | .disabled { | ||
| 17 | color: #aaaaaa; | ||
| 18 | } | ||
| 19 | |||
| 20 | .current { | ||
| 21 | font-style: normal; | ||
| 22 | font-weight: bold; | ||
| 23 | background-color: #bebebe; | ||
| 24 | display: inline-block; | ||
| 25 | width: 1.4em; | ||
| 26 | height: 1.4em; | ||
| 27 | line-height: 1.5; | ||
| 28 | -moz-border-radius: 1em; | ||
| 29 | -webkit-border-radius: 1em; | ||
| 30 | border-radius: 1em; | ||
| 31 | text-shadow: rgba(255, 255, 255, 0.8) 1px 1px 1px; | ||
| 32 | } | ||
| 33 | |||
| 34 | a { | ||
| 35 | text-decoration: none; | ||
| 36 | color: black; | ||
| 37 | |||
| 38 | &:hover, &:focus { | ||
| 39 | text-decoration: underline; | ||
| 40 | } | ||
| 41 | } | ||
| 42 | } | ||
| 43 | |||
| 44 | #action-box { | ||
| 45 | text-align: center; | ||
| 46 | margin: 1em 0; | ||
| 47 | } | ||
| diff --git a/app/assets/stylesheets/admin/layout.scss b/app/assets/stylesheets/admin/layout.scss index b825c25..f0017ed 100644 --- a/app/assets/stylesheets/admin/layout.scss +++ b/app/assets/stylesheets/admin/layout.scss | |||
| @@ -6,6 +6,7 @@ body { | |||
| 6 | display: flex; | 6 | display: flex; |
| 7 | flex-direction: column; | 7 | flex-direction: column; |
| 8 | min-height: 100%; | 8 | min-height: 100%; |
| 9 | font-family: sans-serif; | ||
| 9 | } | 10 | } |
| 10 | 11 | ||
| 11 | #banner { | 12 | #banner { |
| @@ -81,18 +82,16 @@ body { | |||
| 81 | } | 82 | } |
| 82 | 83 | ||
| 83 | #entry-form { | 84 | #entry-form { |
| 84 | display: flex; | 85 | display: grid; |
| 86 | grid-template-columns: 73% 27%; | ||
| 87 | height: 100%; | ||
| 85 | 88 | ||
| 86 | fieldset { | 89 | fieldset { |
| 87 | border: 0; | 90 | border: 0; |
| 88 | } | 91 | } |
| 89 | 92 | ||
| 90 | #content { | ||
| 91 | width: 77%; | ||
| 92 | } | ||
| 93 | |||
| 94 | #details { | 93 | #details { |
| 95 | width: 23%; | 94 | min-width: 0; |
| 96 | display: flex; | 95 | display: flex; |
| 97 | flex-direction: column; | 96 | flex-direction: column; |
| 98 | padding-left: 0; | 97 | padding-left: 0; |
| @@ -111,6 +110,16 @@ body { | |||
| 111 | } | 110 | } |
| 112 | } | 111 | } |
| 113 | 112 | ||
| 113 | .url-field { | ||
| 114 | label { | ||
| 115 | display: none; | ||
| 116 | } | ||
| 117 | |||
| 118 | input { | ||
| 119 | width: 100%; | ||
| 120 | } | ||
| 121 | } | ||
| 122 | |||
| 114 | .slug-field { | 123 | .slug-field { |
| 115 | display: flex; | 124 | display: flex; |
| 116 | font-size: 0.75em; | 125 | font-size: 0.75em; |
| @@ -132,9 +141,29 @@ body { | |||
| 132 | } | 141 | } |
| 133 | 142 | ||
| 134 | .body-field { | 143 | .body-field { |
| 144 | height: 100%; | ||
| 145 | |||
| 135 | label { | 146 | label { |
| 136 | display: none; | 147 | display: none; |
| 137 | } | 148 | } |
| 149 | |||
| 150 | textarea { | ||
| 151 | width: 100%; | ||
| 152 | height: 100%; | ||
| 153 | } | ||
| 154 | } | ||
| 155 | |||
| 156 | .halfbody-field { | ||
| 157 | height: 40%; | ||
| 158 | |||
| 159 | label { | ||
| 160 | display: none; | ||
| 161 | } | ||
| 162 | |||
| 163 | textarea { | ||
| 164 | width: 100%; | ||
| 165 | height: 100%; | ||
| 166 | } | ||
| 138 | } | 167 | } |
| 139 | } | 168 | } |
| 140 | 169 | ||
| @@ -182,6 +211,23 @@ body { | |||
| 182 | border-radius: 5px; | 211 | border-radius: 5px; |
| 183 | padding: .5em; | 212 | padding: .5em; |
| 184 | margin-bottom: 1em; | 213 | margin-bottom: 1em; |
| 214 | |||
| 215 | h4 { | ||
| 216 | margin-top: 0; | ||
| 217 | margin-bottom: 0.5em; | ||
| 218 | } | ||
| 219 | |||
| 220 | img { | ||
| 221 | max-width: 100%; | ||
| 222 | } | ||
| 223 | } | ||
| 224 | |||
| 225 | .image-uploads { | ||
| 226 | pre { | ||
| 227 | overflow: auto; | ||
| 228 | max-width: 100%; | ||
| 229 | padding-bottom: 1em; | ||
| 230 | } | ||
| 185 | } | 231 | } |
| 186 | 232 | ||
| 187 | .should-create-record-field { | 233 | .should-create-record-field { |
| @@ -196,6 +242,14 @@ body { | |||
| 196 | } | 242 | } |
| 197 | } | 243 | } |
| 198 | 244 | ||
| 245 | .tags-field { | ||
| 246 | label { | ||
| 247 | font-size: .75em; | ||
| 248 | display: block; | ||
| 249 | margin-bottom: 0.5em; | ||
| 250 | } | ||
| 251 | } | ||
| 252 | |||
| 199 | .record-description-field { | 253 | .record-description-field { |
| 200 | display: none; | 254 | display: none; |
| 201 | margin-top: 1em; | 255 | margin-top: 1em; |
| diff --git a/app/assets/stylesheets/main/entries.scss b/app/assets/stylesheets/main/entries.scss index 4d884fa..b9e3e0b 100644 --- a/app/assets/stylesheets/main/entries.scss +++ b/app/assets/stylesheets/main/entries.scss | |||
| @@ -2,29 +2,117 @@ | |||
| 2 | // They will automatically be included in application.css. | 2 | // They will automatically be included in application.css. |
| 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ | 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ |
| 4 | 4 | ||
| 5 | @import url('https://fonts.googleapis.com/css?family=Slabo+27px'); | 5 | .blog-post { |
| 6 | @import url('https://fonts.googleapis.com/css?family=Roboto:400,700'); | 6 | line-height: 1.5em; |
| 7 | margin: 0 1em 1em; | ||
| 8 | clear: both; | ||
| 7 | 9 | ||
| 8 | #blog-post { | 10 | .blog-title { |
| 9 | font-size: 16px; | 11 | flex-grow: 1; |
| 10 | line-height: 24px; | ||
| 11 | margin: 0 3em; | ||
| 12 | 12 | ||
| 13 | h2 { | 13 | h2 { |
| 14 | font-size: 45px; | 14 | margin-left: 10px; |
| 15 | line-height: 48px; | 15 | margin-top: 0; |
| 16 | margin-top: .5em; | 16 | margin-bottom: 0; |
| 17 | } | 17 | margin-right: 10px; |
| 18 | color: #59770e; | ||
| 19 | border-bottom: 1px dotted #CCCCCC; | ||
| 20 | padding-bottom: 3px; | ||
| 21 | font-family: "Trebuchet MS", sans-serif; | ||
| 22 | |||
| 23 | a { | ||
| 24 | text-decoration: none; | ||
| 25 | color: #59770e; | ||
| 18 | 26 | ||
| 19 | h3 { | 27 | &:visited { |
| 20 | font-size: 37px; | 28 | color: #59770e; |
| 21 | line-height: 42px; | 29 | } |
| 30 | |||
| 31 | &:hover { | ||
| 32 | text-decoration: underline; | ||
| 33 | } | ||
| 34 | } | ||
| 35 | } | ||
| 22 | } | 36 | } |
| 23 | 37 | ||
| 24 | h2, h3 { | 38 | header { |
| 25 | font-family: 'Slabo 27px', serif; | 39 | display: flex; |
| 26 | margin-bottom: 0; | 40 | |
| 27 | font-weight: normal; | 41 | .post-calendar { |
| 42 | width: 45px; | ||
| 43 | height: 49px; | ||
| 44 | flex-shrink: 0; | ||
| 45 | |||
| 46 | &.post-date-1 { | ||
| 47 | background: image-url("date-bg-1.gif") no-repeat; | ||
| 48 | } | ||
| 49 | |||
| 50 | &.post-date-2 { | ||
| 51 | background: image-url("date-bg-2.gif") no-repeat; | ||
| 52 | } | ||
| 53 | |||
| 54 | &.post-date-3 { | ||
| 55 | background: image-url("date-bg-3.gif") no-repeat; | ||
| 56 | } | ||
| 57 | |||
| 58 | &.post-date-4 { | ||
| 59 | background: image-url("date-bg-4.gif") no-repeat; | ||
| 60 | } | ||
| 61 | |||
| 62 | .post-month { | ||
| 63 | font-size: 11px; | ||
| 64 | color: white; | ||
| 65 | text-align: center; | ||
| 66 | display: block; | ||
| 67 | line-height: 11px; | ||
| 68 | padding-top: 2px; | ||
| 69 | margin-left: -3px; | ||
| 70 | } | ||
| 71 | |||
| 72 | .post-day { | ||
| 73 | font-size: 18px; | ||
| 74 | color: #999999; | ||
| 75 | text-align: center; | ||
| 76 | display: block; | ||
| 77 | line-height: 18px; | ||
| 78 | padding-top: 7px; | ||
| 79 | margin-left: -3px; | ||
| 80 | } | ||
| 81 | } | ||
| 82 | |||
| 83 | .post-author { | ||
| 84 | background: image-url("Hatkirby.ico") no-repeat; | ||
| 85 | padding-left: 20px; | ||
| 86 | margin-left: 10px; | ||
| 87 | float: left; | ||
| 88 | font-size: 95%; | ||
| 89 | font: 75%/150% sans-serif; | ||
| 90 | color: #999; | ||
| 91 | } | ||
| 92 | |||
| 93 | .post-tag-3 { | ||
| 94 | background: image-url("tag.png") no-repeat; | ||
| 95 | padding-left: 20px; | ||
| 96 | margin: 0 0 0 3em; | ||
| 97 | float: left; | ||
| 98 | font-size: 95%; | ||
| 99 | color: #999999; | ||
| 100 | font: 75%/150% sans-serif; | ||
| 101 | display: block; | ||
| 102 | |||
| 103 | li { | ||
| 104 | display: inline-block; | ||
| 105 | margin-right: 0.5em; | ||
| 106 | |||
| 107 | a { | ||
| 108 | text-decoration: none; | ||
| 109 | |||
| 110 | &:hover { | ||
| 111 | text-decoration: underline; | ||
| 112 | } | ||
| 113 | } | ||
| 114 | } | ||
| 115 | } | ||
| 28 | } | 116 | } |
| 29 | } | 117 | } |
| 30 | 118 | ||
| @@ -65,7 +153,6 @@ | |||
| 65 | 153 | ||
| 66 | .update-posted { | 154 | .update-posted { |
| 67 | display: block; | 155 | display: block; |
| 68 | font-style: italic; | ||
| 69 | background-color: #EAADEA; | 156 | background-color: #EAADEA; |
| 70 | font-size: 16px; | 157 | font-size: 16px; |
| 71 | margin: .5em -20px; | 158 | margin: .5em -20px; |
| @@ -73,6 +160,16 @@ | |||
| 73 | border-width: 1px 0 1px 0; | 160 | border-width: 1px 0 1px 0; |
| 74 | border-style: solid; | 161 | border-style: solid; |
| 75 | border-color: #DB70DB; | 162 | border-color: #DB70DB; |
| 163 | |||
| 164 | time { | ||
| 165 | font-style: italic; | ||
| 166 | } | ||
| 167 | |||
| 168 | .update-edit-link { | ||
| 169 | float: right; | ||
| 170 | color: blue; | ||
| 171 | font-weight: normal; | ||
| 172 | } | ||
| 76 | } | 173 | } |
| 77 | } | 174 | } |
| 78 | } | 175 | } |
| @@ -80,7 +177,6 @@ | |||
| 80 | .entry-content { | 177 | .entry-content { |
| 81 | hyphens: auto; | 178 | hyphens: auto; |
| 82 | word-wrap: break-word; | 179 | word-wrap: break-word; |
| 83 | text-align: justify; | ||
| 84 | font-family: 'Roboto', sans-serif; | 180 | font-family: 'Roboto', sans-serif; |
| 85 | 181 | ||
| 86 | a { | 182 | a { |
| @@ -105,9 +201,18 @@ | |||
| 105 | 201 | ||
| 106 | img { | 202 | img { |
| 107 | max-width: 100%; | 203 | max-width: 100%; |
| 204 | height: auto; | ||
| 108 | box-sizing: border-box; | 205 | box-sizing: border-box; |
| 109 | } | 206 | } |
| 110 | 207 | ||
| 208 | video { | ||
| 209 | max-width: 100%; | ||
| 210 | } | ||
| 211 | |||
| 212 | iframe { | ||
| 213 | max-width: 100%; | ||
| 214 | } | ||
| 215 | |||
| 111 | figure { | 216 | figure { |
| 112 | background-color: #eee; | 217 | background-color: #eee; |
| 113 | border: 1px solid #bbb; | 218 | border: 1px solid #bbb; |
| @@ -115,6 +220,10 @@ | |||
| 115 | font-size: 0.75em; | 220 | font-size: 0.75em; |
| 116 | line-height: 24px; | 221 | line-height: 24px; |
| 117 | 222 | ||
| 223 | @media only screen and (max-width: 767px) { | ||
| 224 | margin: 0; | ||
| 225 | } | ||
| 226 | |||
| 118 | img { | 227 | img { |
| 119 | display: block; | 228 | display: block; |
| 120 | border: 1px solid #bbb; | 229 | border: 1px solid #bbb; |
| @@ -126,4 +235,284 @@ | |||
| 126 | margin: 0.25em; | 235 | margin: 0.25em; |
| 127 | } | 236 | } |
| 128 | } | 237 | } |
| 238 | |||
| 239 | .footnotes { | ||
| 240 | font-size: small; | ||
| 241 | } | ||
| 242 | } | ||
| 243 | |||
| 244 | #blog-archive { | ||
| 245 | margin-left: 1em; | ||
| 246 | |||
| 247 | h2, h3 { | ||
| 248 | font-family: "Trebuchet MS", sans-serif; | ||
| 249 | } | ||
| 250 | } | ||
| 251 | |||
| 252 | .archive-link { | ||
| 253 | margin-left: 1em; | ||
| 254 | |||
| 255 | a { | ||
| 256 | text-decoration: none; | ||
| 257 | font-weight: bold; | ||
| 258 | |||
| 259 | &, &:visited { | ||
| 260 | color: #ee2c2c; | ||
| 261 | } | ||
| 262 | |||
| 263 | &:hover { | ||
| 264 | text-decoration: underline; | ||
| 265 | color: #9ea1ad; | ||
| 266 | } | ||
| 267 | } | ||
| 268 | |||
| 269 | small { | ||
| 270 | margin-left: 1.5em; | ||
| 271 | } | ||
| 272 | } | ||
| 273 | |||
| 274 | .blog-comment { | ||
| 275 | margin: 0 1em; | ||
| 276 | |||
| 277 | .comment-avatar { | ||
| 278 | float: right; | ||
| 279 | margin-top: 1em; | ||
| 280 | } | ||
| 281 | |||
| 282 | .comment-reply-to { | ||
| 283 | float: right; | ||
| 284 | margin-right: 0.5em; | ||
| 285 | |||
| 286 | img { | ||
| 287 | display: block; | ||
| 288 | } | ||
| 289 | } | ||
| 290 | } | ||
| 291 | |||
| 292 | #comment-form { | ||
| 293 | #comment-reply-msg { | ||
| 294 | display: none; | ||
| 295 | margin-top: 1em; | ||
| 296 | margin-bottom: 0; | ||
| 297 | margin-left: 0; | ||
| 298 | |||
| 299 | .comment-reply-author { | ||
| 300 | font-weight: bold; | ||
| 301 | } | ||
| 302 | } | ||
| 303 | |||
| 304 | fieldset { | ||
| 305 | border: 0; | ||
| 306 | |||
| 307 | &#comment-body-field { | ||
| 308 | label { | ||
| 309 | display: none; | ||
| 310 | } | ||
| 311 | |||
| 312 | textarea { | ||
| 313 | margin-top: 1em; | ||
| 314 | width: 99%; | ||
| 315 | height: 6em; | ||
| 316 | resize: none; | ||
| 317 | } | ||
| 318 | } | ||
| 319 | |||
| 320 | &#comment-other-fields { | ||
| 321 | display: table; | ||
| 322 | padding: 1em; | ||
| 323 | width: 75%; | ||
| 324 | margin: 0 auto; | ||
| 325 | |||
| 326 | .comment-field { | ||
| 327 | display: table-row; | ||
| 328 | |||
| 329 | .comment-field-label { | ||
| 330 | text-align: right; | ||
| 331 | display: table-cell; | ||
| 332 | padding-right: 1em; | ||
| 333 | padding-bottom: 1em; | ||
| 334 | width: 50%; | ||
| 335 | |||
| 336 | label:after { | ||
| 337 | content: ":"; | ||
| 338 | } | ||
| 339 | } | ||
| 340 | |||
| 341 | .field_with_errors { | ||
| 342 | label { | ||
| 343 | color: red; | ||
| 344 | } | ||
| 345 | } | ||
| 346 | |||
| 347 | .comment-field-input { | ||
| 348 | display: table-cell; | ||
| 349 | width: 50%; | ||
| 350 | } | ||
| 351 | } | ||
| 352 | } | ||
| 353 | } | ||
| 354 | } | ||
| 355 | |||
| 356 | .pagination { | ||
| 357 | text-align: center; | ||
| 358 | padding: 0.3em; | ||
| 359 | cursor: default; | ||
| 360 | margin-bottom: 1em; | ||
| 361 | |||
| 362 | a, span, em { | ||
| 363 | padding: 0.2em 0.5em; | ||
| 364 | } | ||
| 365 | |||
| 366 | .disabled { | ||
| 367 | color: #aaaaaa; | ||
| 368 | } | ||
| 369 | |||
| 370 | .current { | ||
| 371 | font-style: normal; | ||
| 372 | font-weight: bold; | ||
| 373 | color: #ff0084; | ||
| 374 | } | ||
| 375 | |||
| 376 | a { | ||
| 377 | border: 1px solid #dddddd; | ||
| 378 | color: #0063dc; | ||
| 379 | text-decoration: none; | ||
| 380 | |||
| 381 | &:hover, &:focus { | ||
| 382 | border-color: #003366; | ||
| 383 | background: #0063dc; | ||
| 384 | color: white; | ||
| 385 | } | ||
| 386 | } | ||
| 387 | |||
| 388 | .page_info { | ||
| 389 | color: #aaaaaa; | ||
| 390 | padding-top: 0.8em; | ||
| 391 | } | ||
| 392 | |||
| 393 | .previous_page, .next_page { | ||
| 394 | border-width: 2px; | ||
| 395 | } | ||
| 396 | |||
| 397 | .previous_page { | ||
| 398 | margin-right: 1em; | ||
| 399 | } | ||
| 400 | |||
| 401 | .next_page { | ||
| 402 | margin-left: 1em; | ||
| 403 | } | ||
| 404 | } | ||
| 405 | |||
| 406 | #tag-cloud { | ||
| 407 | width: 75%; | ||
| 408 | margin: 0 auto; | ||
| 409 | text-align: center; | ||
| 410 | |||
| 411 | a { | ||
| 412 | display: inline-block; | ||
| 413 | margin-right: 0.5em; | ||
| 414 | text-decoration: none; | ||
| 415 | |||
| 416 | &:hover { | ||
| 417 | text-decoration: underline; | ||
| 418 | } | ||
| 419 | |||
| 420 | &:visited { | ||
| 421 | color: blue; | ||
| 422 | } | ||
| 423 | } | ||
| 424 | |||
| 425 | .xs { | ||
| 426 | font-size: 0.75em; | ||
| 427 | } | ||
| 428 | |||
| 429 | .m { | ||
| 430 | font-size: 2em; | ||
| 431 | } | ||
| 432 | |||
| 433 | .l { | ||
| 434 | font-size: 3em; | ||
| 435 | } | ||
| 436 | |||
| 437 | .xl { | ||
| 438 | font-size: 3em; | ||
| 439 | font-weight: bold; | ||
| 440 | } | ||
| 441 | } | ||
| 442 | |||
| 443 | .post-vote { | ||
| 444 | float: right; | ||
| 445 | position: relative; | ||
| 446 | right: 0.5em; | ||
| 447 | |||
| 448 | a { | ||
| 449 | text-decoration: none; | ||
| 450 | } | ||
| 451 | } | ||
| 452 | |||
| 453 | .back-post, .next-post { | ||
| 454 | margin-left: 1em; | ||
| 455 | margin-bottom: 1em; | ||
| 456 | margin-right: 1em; | ||
| 457 | |||
| 458 | a, a:visited { | ||
| 459 | color: #555d66; | ||
| 460 | text-decoration: none; | ||
| 461 | font-size: .75em; | ||
| 462 | } | ||
| 463 | |||
| 464 | a:hover { | ||
| 465 | text-decoration: underline; | ||
| 466 | } | ||
| 467 | } | ||
| 468 | |||
| 469 | .back-post { | ||
| 470 | float: left; | ||
| 471 | } | ||
| 472 | |||
| 473 | .next-post { | ||
| 474 | float: right; | ||
| 475 | } | ||
| 476 | |||
| 477 | #streams-index { | ||
| 478 | width: 100%; | ||
| 479 | border-collapse: collapse; | ||
| 480 | |||
| 481 | #streams-index-header-row { | ||
| 482 | th { | ||
| 483 | background-color: #bdbdbd; | ||
| 484 | padding-left: 0.5em; | ||
| 485 | border-top: 1px solid #848484; | ||
| 486 | border-bottom: 1px solid #848484; | ||
| 487 | } | ||
| 488 | } | ||
| 489 | |||
| 490 | th { | ||
| 491 | padding-bottom: 0.5em; | ||
| 492 | padding-top: 0.5em; | ||
| 493 | text-align: left; | ||
| 494 | } | ||
| 495 | |||
| 496 | td { | ||
| 497 | padding-top: 1em; | ||
| 498 | padding-left: 0.5em; | ||
| 499 | |||
| 500 | time { | ||
| 501 | font-size: .75em; | ||
| 502 | } | ||
| 503 | |||
| 504 | .stream-link { | ||
| 505 | font-weight: bold; | ||
| 506 | text-decoration: none; | ||
| 507 | |||
| 508 | &, &:visited { | ||
| 509 | color: #ee2c2c; | ||
| 510 | } | ||
| 511 | |||
| 512 | &:hover { | ||
| 513 | text-decoration: underline; | ||
| 514 | color: #9ea1ad; | ||
| 515 | } | ||
| 516 | } | ||
| 517 | } | ||
| 129 | } | 518 | } |
| diff --git a/app/assets/stylesheets/main/games.scss b/app/assets/stylesheets/main/games.scss new file mode 100644 index 0000000..331c0c8 --- /dev/null +++ b/app/assets/stylesheets/main/games.scss | |||
| @@ -0,0 +1,79 @@ | |||
| 1 | // Place all the styles related to the GamesController controller here. | ||
| 2 | // They will automatically be included in application.css. | ||
| 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ | ||
| 4 | #games-table { | ||
| 5 | border-spacing: 0; | ||
| 6 | width: 100%; | ||
| 7 | |||
| 8 | tr { | ||
| 9 | &.odd { | ||
| 10 | background-color: #fff; | ||
| 11 | } | ||
| 12 | |||
| 13 | &.even { | ||
| 14 | background-color: #edf; | ||
| 15 | } | ||
| 16 | } | ||
| 17 | |||
| 18 | td { | ||
| 19 | padding: 0.5em; | ||
| 20 | } | ||
| 21 | |||
| 22 | thead { | ||
| 23 | th { | ||
| 24 | border-bottom: 1px solid #aaa; | ||
| 25 | text-align: left; | ||
| 26 | padding: 0.5em; | ||
| 27 | |||
| 28 | a { | ||
| 29 | text-decoration: none; | ||
| 30 | |||
| 31 | &:visited { | ||
| 32 | color: blue; | ||
| 33 | } | ||
| 34 | } | ||
| 35 | |||
| 36 | .current { | ||
| 37 | padding-right: 12px; | ||
| 38 | background-repeat: no-repeat; | ||
| 39 | background-position: right center; | ||
| 40 | |||
| 41 | &.asc { | ||
| 42 | background-image: image-url("up_arrow.gif"); | ||
| 43 | } | ||
| 44 | |||
| 45 | &.desc { | ||
| 46 | background-image: image-url("down_arrow.gif"); | ||
| 47 | } | ||
| 48 | } | ||
| 49 | } | ||
| 50 | } | ||
| 51 | } | ||
| 52 | |||
| 53 | .game-progress p { | ||
| 54 | margin: 0; | ||
| 55 | } | ||
| 56 | |||
| 57 | .game-title { | ||
| 58 | display: block; | ||
| 59 | |||
| 60 | & + span { | ||
| 61 | margin-top: 0.25em; | ||
| 62 | } | ||
| 63 | } | ||
| 64 | |||
| 65 | .game-started, .game-finished { | ||
| 66 | display: block; | ||
| 67 | font-size: 0.8em; | ||
| 68 | color: #777; | ||
| 69 | } | ||
| 70 | |||
| 71 | h2#games-title { | ||
| 72 | background-color: #d6aeff; | ||
| 73 | display: block; | ||
| 74 | font-size: 20px; | ||
| 75 | font-family: 'Roboto', sans-serif; | ||
| 76 | padding: 0.5em 20px; | ||
| 77 | border-top: 1px solid #edf; | ||
| 78 | border-bottom: 1px solid #edf; | ||
| 79 | } | ||
| diff --git a/app/assets/stylesheets/main/layout.scss b/app/assets/stylesheets/main/layout.scss index 96aebea..d5fe7a7 100644 --- a/app/assets/stylesheets/main/layout.scss +++ b/app/assets/stylesheets/main/layout.scss | |||
| @@ -1,50 +1,47 @@ | |||
| 1 | body#main-body { | 1 | body#main-body { |
| 2 | background-color: #bfefff; | ||
| 3 | height: 100%; | 2 | height: 100%; |
| 3 | font-family: sans-serif; | ||
| 4 | font-size: 16px; | ||
| 4 | } | 5 | } |
| 5 | 6 | ||
| 6 | #container { | 7 | #container { |
| 7 | height: 100%; | 8 | height: 100%; |
| 8 | margin: 7em auto 2em; | ||
| 9 | width: 75%; /* 66% */ | ||
| 10 | box-sizing: border-box; | 9 | box-sizing: border-box; |
| 11 | min-width: 890px; | ||
| 12 | display: flex; | ||
| 13 | flex-direction: row-reverse; | ||
| 14 | } | ||
| 15 | 10 | ||
| 16 | @keyframes trottingPonies { | 11 | @media only screen and (min-width: 768px) { |
| 17 | from { background-position-x: 0px; } | 12 | margin: 10px auto; |
| 18 | to { background-position-x: -1280px; } | 13 | width: 75%; /* 66% */ |
| 14 | min-width: 910px; | ||
| 15 | } | ||
| 19 | } | 16 | } |
| 20 | 17 | ||
| 21 | #banner { | 18 | #banner { |
| 22 | background-image: image-url("walk_cycle.png"); | 19 | margin: 0 auto; |
| 23 | background-repeat: repeat-x; | ||
| 24 | animation: trottingPonies 1s steps(16) infinite; | ||
| 25 | width: 100%; | ||
| 26 | padding: 1em; | ||
| 27 | box-sizing: border-box; | ||
| 28 | text-indent: -9999px; | ||
| 29 | height: 80px; | ||
| 30 | margin-bottom: -80px; | ||
| 31 | position: relative; | ||
| 32 | top: -70px; | ||
| 33 | 20 | ||
| 34 | a { | 21 | h1 { |
| 35 | display: block; | 22 | display: none; |
| 23 | } | ||
| 24 | |||
| 25 | img { | ||
| 36 | width: 100%; | 26 | width: 100%; |
| 37 | height: 55px; | 27 | max-width: 900px; |
| 28 | display: block; | ||
| 29 | margin: 0 auto; | ||
| 30 | } | ||
| 31 | } | ||
| 32 | |||
| 33 | #page-body { | ||
| 34 | display: flex; | ||
| 35 | |||
| 36 | @media only screen and (max-width: 767px) { | ||
| 37 | flex-direction: column-reverse; | ||
| 38 | } | 38 | } |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | #main { | 41 | #main { |
| 42 | background-color: white; | 42 | @media only screen and (min-width: 768px) { |
| 43 | -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | 43 | width: 70%; |
| 44 | -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | 44 | } |
| 45 | box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75); | ||
| 46 | width: 75%; | ||
| 47 | min-width: 720px | ||
| 48 | } | 45 | } |
| 49 | 46 | ||
| 50 | #content { | 47 | #content { |
| @@ -56,7 +53,8 @@ body#main-body { | |||
| 56 | width: 100%; | 53 | width: 100%; |
| 57 | text-align: center; | 54 | text-align: center; |
| 58 | padding: .25em; | 55 | padding: .25em; |
| 59 | font-weight: bold | 56 | font-weight: bold; |
| 57 | box-sizing: border-box; | ||
| 60 | } | 58 | } |
| 61 | 59 | ||
| 62 | .flash-notice { | 60 | .flash-notice { |
| @@ -69,31 +67,31 @@ body#main-body { | |||
| 69 | 67 | ||
| 70 | #sidebar { | 68 | #sidebar { |
| 71 | box-sizing: border-box; | 69 | box-sizing: border-box; |
| 72 | width: 25%; | ||
| 73 | font-size: .75em; | 70 | font-size: .75em; |
| 74 | color: black; | 71 | color: black; |
| 75 | border-left: 1px solid #eee; | ||
| 76 | margin-top: 1em; | 72 | margin-top: 1em; |
| 77 | margin-bottom: 2em; | 73 | margin-bottom: 2em; |
| 74 | font-family: sans-serif; | ||
| 75 | |||
| 76 | @media only screen and (max-width: 767px) { | ||
| 77 | width: 100%; | ||
| 78 | } | ||
| 79 | |||
| 80 | @media only screen and (min-width: 768px) { | ||
| 81 | width: 30%; | ||
| 82 | } | ||
| 78 | } | 83 | } |
| 79 | 84 | ||
| 80 | #sidebar h2 { | 85 | #sidebar h2, #mobile-header h2 { |
| 81 | font-size: 1em; | 86 | font-size: 1em; |
| 82 | margin: 0; | ||
| 83 | } | 87 | } |
| 84 | 88 | ||
| 85 | .sidebar-module { | 89 | .sidebar-module { |
| 86 | padding: 1em; | 90 | padding: 0 1em; |
| 87 | margin-top: 1em; | ||
| 88 | box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.75); | ||
| 89 | } | ||
| 90 | |||
| 91 | .sidebar-module:nth-child(2n+1) { | ||
| 92 | background-color: #feff8f; | ||
| 93 | } | ||
| 94 | 91 | ||
| 95 | .sidebar-module:nth-child(2n+2) { | 92 | & + .sidebar-module { |
| 96 | background-color: #8fefab; | 93 | margin-top: 1em; |
| 94 | } | ||
| 97 | } | 95 | } |
| 98 | 96 | ||
| 99 | .sidebar-module p { | 97 | .sidebar-module p { |
| @@ -121,8 +119,88 @@ body#main-body { | |||
| 121 | color: #352712; | 119 | color: #352712; |
| 122 | } | 120 | } |
| 123 | 121 | ||
| 122 | blockquote.bubble { | ||
| 123 | margin: 0; | ||
| 124 | border: 1px solid #c9c2c1; | ||
| 125 | background-color: #fff; | ||
| 126 | position: relative; | ||
| 127 | |||
| 128 | div { | ||
| 129 | margin: 10px; | ||
| 130 | padding: 0; | ||
| 131 | } | ||
| 132 | } | ||
| 133 | |||
| 134 | .bubble { | ||
| 135 | width: auto; | ||
| 136 | margin-bottom: 24px; | ||
| 137 | padding: 0 1em 1em; | ||
| 138 | |||
| 139 | &.rounded { | ||
| 140 | margin-bottom: 10px; | ||
| 141 | border: 3px solid #fff; | ||
| 142 | background-color: #b7e0ff; | ||
| 143 | border-radius: 10px; | ||
| 144 | |||
| 145 | blockquote { | ||
| 146 | border: 0; | ||
| 147 | background-color: transparent; | ||
| 148 | |||
| 149 | div { | ||
| 150 | margin: 0 10px; | ||
| 151 | } | ||
| 152 | } | ||
| 153 | } | ||
| 154 | |||
| 155 | &.pimped { | ||
| 156 | color: white; | ||
| 157 | border: 3px solid white; | ||
| 158 | background-color: #111; | ||
| 159 | } | ||
| 160 | |||
| 161 | div.bquote blockquote { | ||
| 162 | margin: 0; | ||
| 163 | padding: 0; | ||
| 164 | border: 1px solid #c9c2c1; | ||
| 165 | background-color: white; | ||
| 166 | } | ||
| 167 | } | ||
| 168 | |||
| 169 | cite.bubble { | ||
| 170 | font-style: normal; | ||
| 171 | position: relative; | ||
| 172 | margin: 0; | ||
| 173 | padding: 7px 0px 0px 15px; | ||
| 174 | } | ||
| 175 | |||
| 176 | blockquote.bubble::after { | ||
| 177 | /* (B1-1) ATTACH TRANSPARENT BORDERS */ | ||
| 178 | content: ""; | ||
| 179 | border: 10px solid transparent; | ||
| 180 | |||
| 181 | /* (B1-2) NECESSARY TO POSITION THE "TAIL" */ | ||
| 182 | position: absolute; | ||
| 183 | } | ||
| 184 | |||
| 185 | /* (B2) BOTTOM "CALLOUT TAIL" */ | ||
| 186 | blockquote.bubble.bottom::after { | ||
| 187 | /* (B2-1) DOWN TRIANGLE */ | ||
| 188 | border-top-color: #b7e0ff; | ||
| 189 | border-bottom: 0; | ||
| 190 | |||
| 191 | /* (B2-2) POSITION AT BOTTOM */ | ||
| 192 | bottom: -10px; | ||
| 193 | left: 3.5em; | ||
| 194 | margin-left: -20px; | ||
| 195 | |||
| 196 | &.pimped { | ||
| 197 | border-top-color: black; | ||
| 198 | } | ||
| 199 | } | ||
| 200 | |||
| 124 | .breadcrumb { | 201 | .breadcrumb { |
| 125 | margin-left: 1em; | 202 | margin-left: 1em; |
| 203 | margin-bottom: 1em; | ||
| 126 | 204 | ||
| 127 | a, a:visited { | 205 | a, a:visited { |
| 128 | color: #555d66; | 206 | color: #555d66; |
| @@ -134,3 +212,30 @@ body#main-body { | |||
| 134 | text-decoration: underline; | 212 | text-decoration: underline; |
| 135 | } | 213 | } |
| 136 | } | 214 | } |
| 215 | |||
| 216 | .clear { | ||
| 217 | clear: both; | ||
| 218 | } | ||
| 219 | |||
| 220 | h2.centered { | ||
| 221 | text-align: center; | ||
| 222 | } | ||
| 223 | |||
| 224 | .fun-links { | ||
| 225 | a { | ||
| 226 | font-size: 1.1em; | ||
| 227 | vertical-align: super; | ||
| 228 | text-decoration: none; | ||
| 229 | } | ||
| 230 | } | ||
| 231 | |||
| 232 | #scrobble-box { | ||
| 233 | img { | ||
| 234 | margin: 0 auto; | ||
| 235 | display: block; | ||
| 236 | } | ||
| 237 | |||
| 238 | p { | ||
| 239 | text-align: center; | ||
| 240 | } | ||
| 241 | } | ||
| diff --git a/app/assets/stylesheets/main/records.scss b/app/assets/stylesheets/main/records.scss index f57dded..a8b7754 100644 --- a/app/assets/stylesheets/main/records.scss +++ b/app/assets/stylesheets/main/records.scss | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | .tags { | 31 | .tags { |
| 32 | margin: .25em; | 32 | margin: .25em; |
| 33 | display: flex; | 33 | display: flex; |
| 34 | flex-wrap: wrap; | ||
| 34 | padding-left: 0; | 35 | padding-left: 0; |
| 35 | 36 | ||
| 36 | li { | 37 | li { |
| @@ -56,6 +57,18 @@ | |||
| 56 | &.entry-type-stream, &.entry-type-update { | 57 | &.entry-type-stream, &.entry-type-update { |
| 57 | background-color: #98FB98; | 58 | background-color: #98FB98; |
| 58 | } | 59 | } |
| 60 | |||
| 61 | &.entry-type-link { | ||
| 62 | background-color: #FFCC99; | ||
| 63 | } | ||
| 64 | } | ||
| 65 | |||
| 66 | &.entry-tag { | ||
| 67 | margin-left: 0.5em; | ||
| 68 | |||
| 69 | &:before { | ||
| 70 | content: "#"; | ||
| 71 | } | ||
| 59 | } | 72 | } |
| 60 | 73 | ||
| 61 | & + li { | 74 | & + li { |
| diff --git a/app/assets/stylesheets/main/rouge.css.erb b/app/assets/stylesheets/main/rouge.css.erb new file mode 100644 index 0000000..123da27 --- /dev/null +++ b/app/assets/stylesheets/main/rouge.css.erb | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <%= Rouge::Themes::Pastie.render(:scope => '.highlight') %> | ||
| 2 | |||
| 3 | .highlight { | ||
| 4 | background-color: white; | ||
| 5 | padding: 1em; | ||
| 6 | } | ||
| 7 | |||
| 8 | div.highlight { | ||
| 9 | overflow-x: auto; | ||
| 10 | } | ||
| 11 | |||
| 12 | .highlight .err { | ||
| 13 | color: #a61717; | ||
| 14 | background-color: #f5f7f9; | ||
| 15 | } | ||
| diff --git a/app/assets/stylesheets/quotes.css.scss b/app/assets/stylesheets/quotes.css.scss new file mode 100644 index 0000000..c1b1178 --- /dev/null +++ b/app/assets/stylesheets/quotes.css.scss | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | /* | ||
| 2 | *= require normalize-rails | ||
| 3 | *= require tags-input | ||
| 4 | *= require jquery-ui | ||
| 5 | *= require_tree ./quotes | ||
| 6 | */ | ||
| diff --git a/app/assets/stylesheets/quotes/layout.css.sass b/app/assets/stylesheets/quotes/layout.css.sass new file mode 100644 index 0000000..f620304 --- /dev/null +++ b/app/assets/stylesheets/quotes/layout.css.sass | |||
| @@ -0,0 +1,220 @@ | |||
| 1 | body | ||
| 2 | font-family: "Century Gothic", sans-serif | ||
| 3 | background-color: rgb(102,102,102) | ||
| 4 | |||
| 5 | #wrap | ||
| 6 | background-color: white | ||
| 7 | border: 1px solid black | ||
| 8 | |||
| 9 | @media only screen and (min-width: 768px) | ||
| 10 | width: 80% | ||
| 11 | margin: 1em auto | ||
| 12 | |||
| 13 | #banner | ||
| 14 | background-color: rgb(153,0,0) | ||
| 15 | font-size: 1.25em | ||
| 16 | font-width: bold | ||
| 17 | padding: 6px | ||
| 18 | #banner-title | ||
| 19 | float: left | ||
| 20 | a | ||
| 21 | text-decoration: none | ||
| 22 | color: white | ||
| 23 | #banner-abbr | ||
| 24 | color: white | ||
| 25 | font-style: italic | ||
| 26 | float: right | ||
| 27 | |||
| 28 | #oneliner | ||
| 29 | padding: 4px | ||
| 30 | font-style: italic | ||
| 31 | background-color: rgb(240,240,240) | ||
| 32 | a | ||
| 33 | color: black | ||
| 34 | cite:before | ||
| 35 | content: " \2013" | ||
| 36 | |||
| 37 | #top-bar | ||
| 38 | background-color: black | ||
| 39 | a | ||
| 40 | text-decoration: none | ||
| 41 | &:hover | ||
| 42 | color: purple | ||
| 43 | ul | ||
| 44 | float: right | ||
| 45 | padding: 4px | ||
| 46 | li | ||
| 47 | margin-left: 1em | ||
| 48 | display: inline | ||
| 49 | list-style-type: none | ||
| 50 | a | ||
| 51 | color: white | ||
| 52 | font-weight: bold | ||
| 53 | &.selected a | ||
| 54 | color: yellow | ||
| 55 | |||
| 56 | .pagination | ||
| 57 | &+.quote | ||
| 58 | border-top: 1px solid black | ||
| 59 | |||
| 60 | #quotes | ||
| 61 | .quote | ||
| 62 | margin: 0 | ||
| 63 | padding-bottom: 0.1em | ||
| 64 | background-color: #fcfcfc | ||
| 65 | border-bottom: 1px solid black | ||
| 66 | .quote-header | ||
| 67 | background-color: #f7f7f7 | ||
| 68 | border: 1px solid #f4f4f4 | ||
| 69 | margin: 0 | ||
| 70 | padding: 0.25em 0.75em | ||
| 71 | * | ||
| 72 | margin: 0 0.125em | ||
| 73 | a | ||
| 74 | text-decoration: none | ||
| 75 | .vote-link | ||
| 76 | color: #888 | ||
| 77 | .quote-upvote-link | ||
| 78 | color: #090 | ||
| 79 | font-weight: bold | ||
| 80 | .quote-downvote-link | ||
| 81 | color: #900 | ||
| 82 | font-weight: bold | ||
| 83 | .quote-link | ||
| 84 | font-weight: bold | ||
| 85 | time | ||
| 86 | font-size: 80% | ||
| 87 | .quote-edit-link | ||
| 88 | font-size: 0.9em | ||
| 89 | float: right | ||
| 90 | blockquote | ||
| 91 | font-family: Consolas, Monaco, "Courier New", monospace | ||
| 92 | font-size: 14px | ||
| 93 | margin: 0.5em 0.75em | ||
| 94 | padding: 0 | ||
| 95 | position: static | ||
| 96 | .quote-speaker | ||
| 97 | font-weight: bold | ||
| 98 | color: green | ||
| 99 | &:hover | ||
| 100 | background-color: #fffcec | ||
| 101 | .quote-header | ||
| 102 | background-color: #fec | ||
| 103 | border-color: #ffe9c9 | ||
| 104 | .quote-footer | ||
| 105 | color: #666 | ||
| 106 | border-top: 1px dashed #EEE | ||
| 107 | margin: 0 0.75em | ||
| 108 | padding: 0.25em 0 | ||
| 109 | * | ||
| 110 | font-size: 0.9em | ||
| 111 | .quote-tags | ||
| 112 | margin: 0 | ||
| 113 | padding: 0 | ||
| 114 | list-style-type: none | ||
| 115 | li | ||
| 116 | display: inline | ||
| 117 | a | ||
| 118 | color: #666 | ||
| 119 | &:before | ||
| 120 | content: "TAGS:" | ||
| 121 | .quote-notes + .quote-tags | ||
| 122 | margin-top: 0.5em | ||
| 123 | |||
| 124 | #page-body | ||
| 125 | p.normal | ||
| 126 | margin: .5em | ||
| 127 | ul | ||
| 128 | margin: .5em .5em .5em 2em | ||
| 129 | h2 | ||
| 130 | margin: .25em 0 0 .5em | ||
| 131 | h3 | ||
| 132 | padding-bottom: 0.25em | ||
| 133 | border-bottom: 1px dashed gray | ||
| 134 | margin: .25em 0 0 .5em | ||
| 135 | .form-field | ||
| 136 | margin: 0.5em | ||
| 137 | textarea | ||
| 138 | width: 100% | ||
| 139 | @media only screen and (min-width: 768px) | ||
| 140 | #about-left | ||
| 141 | float: left | ||
| 142 | width: 48% | ||
| 143 | margin-right: 1em | ||
| 144 | #about-right | ||
| 145 | float: right | ||
| 146 | width: 48% | ||
| 147 | margin-left: 1em | ||
| 148 | margin-bottom: 1em | ||
| 149 | |||
| 150 | #error-messages | ||
| 151 | margin: .5em | ||
| 152 | border: 1px solid black | ||
| 153 | background-color: #FF4040 | ||
| 154 | padding: .5em | ||
| 155 | h4 | ||
| 156 | font-size: 1.25em | ||
| 157 | |||
| 158 | #flash | ||
| 159 | margin: .5em | ||
| 160 | border: 1px solid black | ||
| 161 | background-color: #FBEC5D | ||
| 162 | padding: .5em | ||
| 163 | h4 | ||
| 164 | font-size: 1.25em | ||
| 165 | |||
| 166 | #tags-container | ||
| 167 | margin: 1em | ||
| 168 | list-style-type: none | ||
| 169 | li | ||
| 170 | display: inline | ||
| 171 | margin-left: 1em | ||
| 172 | .css1 | ||
| 173 | font-size: 1.0em | ||
| 174 | .css1_5 | ||
| 175 | font-size: 1.1em | ||
| 176 | .css2 | ||
| 177 | font-size: 1.2em | ||
| 178 | .css2_5 | ||
| 179 | font-size: 1.3em | ||
| 180 | .css3 | ||
| 181 | font-size: 1.4em | ||
| 182 | .css3_5 | ||
| 183 | font-size: 1.5em | ||
| 184 | .css4 | ||
| 185 | font-size: 1.6em | ||
| 186 | .css4_5 | ||
| 187 | font-size: 1.7em | ||
| 188 | .css5 | ||
| 189 | font-size: 1.8em | ||
| 190 | .css5_5 | ||
| 191 | font-size: 1.9em | ||
| 192 | .css6 | ||
| 193 | font-size: 2.0em | ||
| 194 | |||
| 195 | #search-form | ||
| 196 | margin: 0.5em | ||
| 197 | input.searchform | ||
| 198 | width: 50% | ||
| 199 | |||
| 200 | .audioplayer | ||
| 201 | float: right | ||
| 202 | |||
| 203 | footer | ||
| 204 | padding: 4px | ||
| 205 | color: white | ||
| 206 | text-align: center | ||
| 207 | font-size: 0.75em | ||
| 208 | clear: both | ||
| 209 | font-weight: bold | ||
| 210 | padding-bottom: .5em | ||
| 211 | background-color: rgb(153,0,0) | ||
| 212 | #footer-left | ||
| 213 | float: left | ||
| 214 | #footer-right | ||
| 215 | float: right | ||
| 216 | a | ||
| 217 | color: white | ||
| 218 | |||
| 219 | .cleardiv | ||
| 220 | clear: both \ No newline at end of file | ||
| diff --git a/app/assets/stylesheets/quotes/pagination.css.scss b/app/assets/stylesheets/quotes/pagination.css.scss new file mode 100644 index 0000000..dad8b88 --- /dev/null +++ b/app/assets/stylesheets/quotes/pagination.css.scss | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | .pagination { | ||
| 2 | text-align: center; | ||
| 3 | padding: 0.3em; | ||
| 4 | cursor: default; | ||
| 5 | margin: 0.5em 0; | ||
| 6 | |||
| 7 | a, span, em { | ||
| 8 | padding: 0.2em 0.5em; | ||
| 9 | } | ||
| 10 | |||
| 11 | .disabled { | ||
| 12 | color: #aaaaaa; | ||
| 13 | } | ||
| 14 | |||
| 15 | .current { | ||
| 16 | font-style: normal; | ||
| 17 | font-weight: bold; | ||
| 18 | color: #ff0084; | ||
| 19 | } | ||
| 20 | |||
| 21 | a { | ||
| 22 | border: 1px solid #dddddd; | ||
| 23 | color: #0063dc; | ||
| 24 | text-decoration: none; | ||
| 25 | |||
| 26 | &:hover, &:focus { | ||
| 27 | border-color: #003366; | ||
| 28 | background: #0063dc; | ||
| 29 | color: white; | ||
| 30 | } | ||
| 31 | } | ||
| 32 | |||
| 33 | .page_info { | ||
| 34 | color: #aaaaaa; | ||
| 35 | padding-top: 0.8em; | ||
| 36 | } | ||
| 37 | |||
| 38 | .previous_page, .next_page { | ||
| 39 | border-width: 2px; | ||
| 40 | } | ||
| 41 | |||
| 42 | .previous_page { | ||
| 43 | margin-right: 1em; | ||
| 44 | } | ||
| 45 | |||
| 46 | .next_page { | ||
| 47 | margin-left: 1em; | ||
| 48 | } | ||
| 49 | } \ No newline at end of file | ||
