1/** 2 * This contains the content styling 3 * @author Sascha Leib <sascha@leib.be> 4 */ 5 6main p, 7main blockquote, 8main div.table { 9 margin-bottom: 1em; 10} 11 12/* headlines: */ 13main h1, 14main h2, 15main h3, 16main h4, 17main h5, 18main h6 { 19 font-family: @ini_alt_fonts; 20 color: @ini_headlines; 21 margin: 1em 0 1em 0; 22 line-height: 1.1em; 23} 24 25main h1 { font-size: 2em; } 26main h2 { font-size: 1.5em; } 27main h3 { font-size: 1.125em; } 28main h4 { font-size: 1em; } 29main h5 { font-size: .875em; } 30main h6 { font-size: .75em; } 31 32/* on the homepage only, reduce the H1 top margin: */ 33body.home h1:first-child { margin-top: .5em; } 34 35/* lists: */ 36main ul, main ol { 37 margin: 0 2em 1em 1em; 38 padding-left: 1.75em; 39} 40main ul { 41 list-style: square outside; 42} 43main ol { 44 list-style: decimal outside; 45} 46main li { 47} 48main li::marker { 49 color: #666; 50} 51 52/* quotes: */ 53main blockquote { 54 border-left: @ini_blockquote solid .4em; 55 border-radius: .5em; 56 padding: .25em 0 .25em .75em; 57 margin: 0 2em 1em 1em; 58 font-family: @ini_alt_fonts; 59 font-size: 1.1rem; 60} 61main blockquote * { 62 font-family: @ini_alt_fonts; 63 font-size: 1.1rem; 64} 65 66main svg { 67 display: block; 68 fill-rule: evenodd; 69 clip-rule: evenodd; 70 stroke-linejoin: round; 71 stroke-miterlimit: 1.5; 72} 73main svg.math { 74 margin-left: 15px 75} 76 77/* tables */ 78main div.table { 79 overflow-x: auto; 80} 81 82main table { 83 border-collapse: collapse; 84 empty-cells: show; 85 border-spacing: 0; 86 font-size: smaller; 87 border: 1px solid @ini_border; 88} 89 90main table.inline { 91 min-width: 50%; 92} 93 94main table th, 95main table td { 96 padding: .5em .3em; 97 vertical-align: top; 98 border: 1px solid @ini_border; 99 line-height: 1.25em; 100} 101main table th { 102 font-weight: bold; 103 background-color: @ini_background_alt; 104 text-align: left; 105} 106 107main table.inline tr:hover td { 108 background-color: @ini_background_alt; 109} 110 111main table.inline tr:hover th { 112 background-color: @ini_border; 113} 114