|
| 1 | +/* Sakura.css v1.5.1 |
| 2 | + * ================ |
| 3 | + * Minimal css theme. |
| 4 | + * Project: https://github.com/oxalorg/sakura/ |
| 5 | + */ |
| 6 | +/* Body */ |
| 7 | + |
| 8 | +.sakura { |
| 9 | +html { |
| 10 | +font-size:62.5%; |
| 11 | +font-family: -apple-system, BlinkMacSystemFont,"Segoe UI", Roboto,"Helvetica Neue", Arial,"Noto Sans", sans-serif; |
| 12 | +} |
| 13 | + |
| 14 | +body { |
| 15 | +font-size:1.8rem; |
| 16 | +line-height:1.618; |
| 17 | +max-width:38em; |
| 18 | +margin: auto; |
| 19 | +color:#4a4a4a; |
| 20 | +background-color:#f9f9f9; |
| 21 | +padding:13px; |
| 22 | +} |
| 23 | + |
| 24 | +@media (max-width:684px) { |
| 25 | +body { |
| 26 | +font-size:1.53rem; |
| 27 | + } |
| 28 | +} |
| 29 | +@media (max-width:382px) { |
| 30 | +body { |
| 31 | +font-size:1.35rem; |
| 32 | + } |
| 33 | +} |
| 34 | +h1,h2,h3,h4,h5,h6 { |
| 35 | +line-height:1.1; |
| 36 | +font-family: -apple-system, BlinkMacSystemFont,"Segoe UI", Roboto,"Helvetica Neue", Arial,"Noto Sans", sans-serif; |
| 37 | +font-weight:700; |
| 38 | +margin-top:3rem; |
| 39 | +margin-bottom:1.5rem; |
| 40 | +overflow-wrap: break-word; |
| 41 | +word-wrap: break-word; |
| 42 | +-ms-word-break: break-all; |
| 43 | +word-break: break-word; |
| 44 | +} |
| 45 | + |
| 46 | +h1 { |
| 47 | +font-size:2.35em; |
| 48 | +} |
| 49 | + |
| 50 | +h2 { |
| 51 | +font-size:2em; |
| 52 | +} |
| 53 | + |
| 54 | +h3 { |
| 55 | +font-size:1.75em; |
| 56 | +} |
| 57 | + |
| 58 | +h4 { |
| 59 | +font-size:1.5em; |
| 60 | +} |
| 61 | + |
| 62 | +h5 { |
| 63 | +font-size:1.25em; |
| 64 | +} |
| 65 | + |
| 66 | +h6 { |
| 67 | +font-size:1em; |
| 68 | +} |
| 69 | + |
| 70 | +p { |
| 71 | +margin-top:0px; |
| 72 | +margin-bottom:2.5rem; |
| 73 | +} |
| 74 | + |
| 75 | +small,sub,sup { |
| 76 | +font-size:75%; |
| 77 | +} |
| 78 | + |
| 79 | +hr { |
| 80 | +border-color:#1d7484; |
| 81 | +} |
| 82 | + |
| 83 | +a { |
| 84 | +text-decoration: none; |
| 85 | +color:#1d7484; |
| 86 | +} |
| 87 | +a:visited { |
| 88 | +color:#144f5a; |
| 89 | +} |
| 90 | +a:hover { |
| 91 | +color:#982c61; |
| 92 | +border-bottom:2px solid#4a4a4a; |
| 93 | +} |
| 94 | + |
| 95 | +ul { |
| 96 | +padding-left:1.4em; |
| 97 | +margin-top:0px; |
| 98 | +margin-bottom:2.5rem; |
| 99 | +} |
| 100 | + |
| 101 | +li { |
| 102 | +margin-bottom:0.4em; |
| 103 | +} |
| 104 | + |
| 105 | +blockquote { |
| 106 | +margin-left:0px; |
| 107 | +margin-right:0px; |
| 108 | +padding-left:1em; |
| 109 | +padding-top:0.8em; |
| 110 | +padding-bottom:0.8em; |
| 111 | +padding-right:0.8em; |
| 112 | +border-left:5px solid#1d7484; |
| 113 | +margin-bottom:2.5rem; |
| 114 | +background-color:#f1f1f1; |
| 115 | +} |
| 116 | + |
| 117 | +blockquotep { |
| 118 | +margin-bottom:0; |
| 119 | +} |
| 120 | + |
| 121 | +img,video { |
| 122 | +height: auto; |
| 123 | +max-width:100%; |
| 124 | +margin-top:0px; |
| 125 | +margin-bottom:2.5rem; |
| 126 | +} |
| 127 | + |
| 128 | +/* Pre and Code */ |
| 129 | +pre { |
| 130 | +background-color:#f1f1f1; |
| 131 | +display: block; |
| 132 | +padding:1em; |
| 133 | +overflow-x: auto; |
| 134 | +margin-top:0px; |
| 135 | +margin-bottom:2.5rem; |
| 136 | +font-size:0.9em; |
| 137 | +} |
| 138 | + |
| 139 | +code,kbd,samp { |
| 140 | +font-size:0.9em; |
| 141 | +padding:00.5em; |
| 142 | +background-color:#f1f1f1; |
| 143 | +white-space: pre-wrap; |
| 144 | +} |
| 145 | + |
| 146 | +pre>code { |
| 147 | +padding:0; |
| 148 | +background-color: transparent; |
| 149 | +white-space: pre; |
| 150 | +font-size:1em; |
| 151 | +} |
| 152 | + |
| 153 | +/* Tables */ |
| 154 | +table { |
| 155 | +text-align: justify; |
| 156 | +width:100%; |
| 157 | +border-collapse: collapse; |
| 158 | +margin-bottom:2rem; |
| 159 | +} |
| 160 | + |
| 161 | +td,th { |
| 162 | +padding:0.5em; |
| 163 | +border-bottom:1px solid#f1f1f1; |
| 164 | +} |
| 165 | + |
| 166 | +/* Buttons, forms and input */ |
| 167 | +input,textarea { |
| 168 | +border:1px solid#4a4a4a; |
| 169 | +} |
| 170 | +input:focus,textarea:focus { |
| 171 | +border:1px solid#1d7484; |
| 172 | +} |
| 173 | + |
| 174 | +textarea { |
| 175 | +width:100%; |
| 176 | +} |
| 177 | + |
| 178 | +.button,button, |
| 179 | +input[type=submit], |
| 180 | +input[type=reset], |
| 181 | +input[type=button], |
| 182 | +input[type=file]::file-selector-button { |
| 183 | +display: inline-block; |
| 184 | +padding:5px10px; |
| 185 | +text-align: center; |
| 186 | +text-decoration: none; |
| 187 | +white-space: nowrap; |
| 188 | +background-color:#1d7484; |
| 189 | +color:#f9f9f9; |
| 190 | +border-radius:1px; |
| 191 | +border:1px solid#1d7484; |
| 192 | +cursor: pointer; |
| 193 | +box-sizing: border-box; |
| 194 | +} |
| 195 | +.button:hover,button:hover, |
| 196 | +input[type=submit]:hover, |
| 197 | +input[type=reset]:hover, |
| 198 | +input[type=button]:hover, |
| 199 | +input[type=file]::file-selector-button:hover { |
| 200 | +background-color:#982c61; |
| 201 | +color:#f9f9f9; |
| 202 | +outline:0; |
| 203 | +} |
| 204 | + |
| 205 | +.button[disabled],button[disabled], |
| 206 | +input[type=submit][disabled], |
| 207 | +input[type=reset][disabled], |
| 208 | +input[type=button][disabled], |
| 209 | +input[type=file][disabled] { |
| 210 | +cursor: default; |
| 211 | +opacity:0.5; |
| 212 | +} |
| 213 | +.button:focus-visible,button:focus-visible, |
| 214 | +input[type=submit]:focus-visible, |
| 215 | +input[type=reset]:focus-visible, |
| 216 | +input[type=button]:focus-visible, |
| 217 | +input[type=file]:focus-visible { |
| 218 | +outline-style: solid; |
| 219 | +outline-width:2px; |
| 220 | +} |
| 221 | + |
| 222 | +textarea,select,input { |
| 223 | +color:#4a4a4a; |
| 224 | +padding:6px10px;/* The 6px vertically centers text on FF, ignored by Webkit */ |
| 225 | +margin-bottom:10px; |
| 226 | +background-color:#f1f1f1; |
| 227 | +border:1px solid#f1f1f1; |
| 228 | +border-radius:4px; |
| 229 | +box-shadow: none; |
| 230 | +box-sizing: border-box; |
| 231 | +} |
| 232 | +textarea:focus,select:focus,input:focus { |
| 233 | +border:1px solid#1d7484; |
| 234 | +outline:0; |
| 235 | +} |
| 236 | + |
| 237 | +input[type=checkbox]:focus { |
| 238 | +outline:1px dotted#1d7484; |
| 239 | +} |
| 240 | + |
| 241 | +label,legend,fieldset { |
| 242 | +display: block; |
| 243 | +margin-bottom:0.5rem; |
| 244 | +font-weight:600; |
| 245 | +} |
| 246 | +} |
| 247 | + |