Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 1 | --- |
| 2 | --- |
| 3 | |
| 4 | @import "{{ site.theme }}"; |
| 5 | |
| 6 | // undo some of the theme to allow code samples to be wider |
| 7 | header { |
| 8 | padding-right: 0; |
| 9 | } |
| 10 | @media print, screen and (min-width: 961px) { |
| 11 | header { |
| 12 | border: 1px solid #e5e5e5; |
| 13 | border-radius: 5px; |
| 14 | margin-bottom: 30px; |
| 15 | margin-right: 30px; |
| 16 | padding-top: 20px; |
| 17 | position: static; |
| 18 | text-align: center; |
| 19 | } |
| 20 | section { |
| 21 | float: none; |
| 22 | width: auto; |
| 23 | } |
| 24 | footer { |
| 25 | float: none; |
| 26 | position: static; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | // ensure code samples can be really wide |
| 31 | .language-php.highlighter-rouge { |
| 32 | clear: both; |
| 33 | } |
| 34 | |
| 35 | // add missing consistency |
| 36 | header img { |
| 37 | margin-bottom: 20px; |
| 38 | } |
| 39 | |
| 40 | // quick navigation hack needs some spacing |
| 41 | section > a:first-child { |
| 42 | display: block; |
| 43 | margin-bottom:45px; |
| 44 | } |
| 45 | |
| 46 | // 100% width is treated like clear which makes it look bad |
| 47 | table { |
| 48 | width: auto; |
| 49 | } |
| 50 | |
| 51 | // reset document block whatever so the bullets aren't disturbed by the float |
| 52 | ul { |
| 53 | overflow: hidden; |
| 54 | } |