Paul Jakma | ca7399f | 2017-03-08 17:15:00 +0000 | [diff] [blame] | 1 | /* |
| 2 | CSS style for Texinfo documents |
| 3 | |
| 4 | Public domain 2016 sirgazil. All rights waived. |
| 5 | |
| 6 | Obtained from: |
| 7 | |
| 8 | https://sirgazil.bitbucket.io/en/artifact |
| 9 | https://sirgazil.bitbucket.io/en/doc/texinfo-css/tip/manual/static/css/document.css |
| 10 | */ |
| 11 | |
| 12 | |
| 13 | |
| 14 | /* NATIVE ELEMENTS */ |
| 15 | a:link, |
| 16 | a:visited { |
| 17 | color: #1E90FF; |
| 18 | text-decoration: none; |
| 19 | } |
| 20 | |
| 21 | a:active, |
| 22 | a:focus, |
| 23 | a:hover { |
| 24 | text-decoration: underline; |
| 25 | } |
| 26 | |
| 27 | abbr, |
| 28 | acronym { |
| 29 | cursor: help; |
| 30 | } |
| 31 | |
| 32 | blockquote { |
| 33 | color: #555753; |
| 34 | font-style: oblique; |
| 35 | margin: 30px 0px; |
| 36 | padding-left: 3em; |
| 37 | } |
| 38 | |
| 39 | body { |
| 40 | background-color: white; |
| 41 | box-shadow: 0 0 2px gray; |
| 42 | box-sizing: border-box; |
| 43 | color: #333; |
| 44 | font-family: sans-serif; |
| 45 | font-size: 16px; |
| 46 | margin: 50px auto; |
| 47 | max-width: 960px; |
| 48 | padding: 50px; |
| 49 | } |
| 50 | |
| 51 | code, |
| 52 | samp, |
| 53 | tt, |
| 54 | var { |
| 55 | color: purple; |
| 56 | font-size: 0.8em; |
| 57 | } |
| 58 | |
| 59 | div.example, |
| 60 | div.lisp { |
| 61 | margin: 0px; |
| 62 | } |
| 63 | |
| 64 | dl { |
| 65 | margin: 3em 0em; |
| 66 | } |
| 67 | |
| 68 | dl dl { |
| 69 | margin: 0em; |
| 70 | } |
| 71 | |
| 72 | dt { |
| 73 | background-color: #F5F5F5; |
| 74 | padding: 0.5em; |
| 75 | } |
| 76 | |
| 77 | h1, |
| 78 | h2, |
| 79 | h2.contents-heading, |
| 80 | h3, |
| 81 | h4 { |
| 82 | padding: 20px 0px 0px 0px; |
| 83 | font-weight: normal; |
| 84 | } |
| 85 | |
| 86 | h1 { |
| 87 | font-size: 2.4em; |
| 88 | } |
| 89 | |
| 90 | h2 { |
| 91 | font-size: 2.2em; |
| 92 | font-weight: bold; |
| 93 | } |
| 94 | |
| 95 | h3 { |
| 96 | font-size: 1.8em; |
| 97 | } |
| 98 | |
| 99 | h4 { |
| 100 | font-size: 1.4em; |
| 101 | } |
| 102 | |
| 103 | hr { |
| 104 | background-color: silver; |
| 105 | border-style: none; |
| 106 | height: 1px; |
| 107 | margin: 0px; |
| 108 | } |
| 109 | |
| 110 | html { |
| 111 | background-color: #F5F5F5; |
| 112 | } |
| 113 | |
| 114 | img { |
| 115 | max-width: 100%; |
| 116 | } |
| 117 | |
| 118 | li { |
| 119 | padding: 5px; |
| 120 | } |
| 121 | |
| 122 | pre.display, |
| 123 | pre.example, |
| 124 | pre.format, |
| 125 | pre.lisp, |
| 126 | pre.verbatim{ |
| 127 | overflow: auto; |
| 128 | } |
| 129 | |
| 130 | pre.example, |
| 131 | pre.lisp, |
| 132 | pre.verbatim { |
| 133 | background-color: #2D3743; |
| 134 | border-color: #000; |
| 135 | border-style: solid; |
| 136 | border-width: thin; |
| 137 | color: #E1E1E1; |
| 138 | font-size: smaller; |
| 139 | padding: 1em; |
| 140 | } |
| 141 | |
| 142 | table { |
| 143 | border-collapse: collapse; |
| 144 | margin: 40px 0px; |
| 145 | } |
| 146 | |
| 147 | table.index-cp *, |
| 148 | table.index-fn *, |
| 149 | table.index-ky *, |
| 150 | table.index-pg *, |
| 151 | table.index-tp *, |
| 152 | table.index-vr * { |
| 153 | background-color: inherit; |
| 154 | border-style: none; |
| 155 | } |
| 156 | |
| 157 | td, |
| 158 | th { |
| 159 | border-color: silver; |
| 160 | border-style: solid; |
| 161 | border-width: thin; |
| 162 | padding: 10px; |
| 163 | } |
| 164 | |
| 165 | th { |
| 166 | background-color: #F5F5F5; |
| 167 | } |
| 168 | /* END NATIVE ELEMENTS */ |
| 169 | |
| 170 | |
| 171 | |
| 172 | /* CLASSES */ |
| 173 | .contents { |
| 174 | margin-bottom: 4em; |
| 175 | } |
| 176 | |
| 177 | .float { |
| 178 | margin: 3em 0em; |
| 179 | } |
| 180 | |
| 181 | .float-caption { |
| 182 | font-size: smaller; |
| 183 | text-align: center; |
| 184 | } |
| 185 | |
| 186 | .float > img { |
| 187 | display: block; |
| 188 | margin: auto; |
| 189 | } |
| 190 | |
| 191 | .footnote { |
| 192 | font-size: smaller; |
| 193 | margin: 5em 0em; |
| 194 | } |
| 195 | |
| 196 | .footnote h3 { |
| 197 | display: inline; |
| 198 | font-size: small; |
| 199 | } |
| 200 | |
| 201 | .header { |
| 202 | background-color: #F2F2F2; |
| 203 | font-size: small; |
| 204 | padding: 0.2em 1em; |
| 205 | } |
| 206 | |
| 207 | .key { |
| 208 | color: purple; |
| 209 | font-size: 0.8em; |
| 210 | } |
| 211 | |
| 212 | .menu * { |
| 213 | border-style: none; |
| 214 | } |
| 215 | |
| 216 | .menu td { |
| 217 | padding: 0.5em 0em; |
| 218 | } |
| 219 | |
| 220 | .menu td:last-child { |
| 221 | width: 60%; |
| 222 | } |
| 223 | |
| 224 | .menu th { |
| 225 | background-color: inherit; |
| 226 | } |
| 227 | /* END CLASSES */ |