Nils Diewald | 8462c18 | 2015-03-10 20:57:55 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
| 2 | |
| 3 | body, html { |
| 4 | color: #666; |
| 5 | font-family: verdana, tahoma, arial; |
| 6 | text-shadow: 1px 1px rgba(255, 255, 255, 0.4); |
| 7 | margin: 0; |
| 8 | } |
| 9 | |
| 10 | a { |
| 11 | color: inherit; |
| 12 | } |
| 13 | |
| 14 | #top { |
| 15 | background-color: #7ba400; |
| 16 | -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ |
| 17 | -moz-box-sizing: border-box; /* Firefox, other Gecko */ |
| 18 | box-sizing: border-box; /* Opera/IE 8+ */ |
| 19 | padding: 0pt; |
| 20 | padding-top: 5px; |
| 21 | position: relative; |
| 22 | height: 70px; |
| 23 | padding-left: 30px; |
| 24 | } |
| 25 | |
| 26 | #q-field { |
| 27 | -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ |
| 28 | -moz-box-sizing: border-box; /* Firefox, other Gecko */ |
| 29 | box-sizing: border-box; /* Opera/IE 8+ */ |
| 30 | } |
| 31 | |
| 32 | #button-right { |
| 33 | position: absolute; |
| 34 | right: 15px; |
| 35 | top: 15px; |
| 36 | } |
| 37 | |
| 38 | input, button { |
| 39 | border: 2px solid white; |
| 40 | padding: 3px; |
| 41 | font-size: 11pt; |
| 42 | } |
| 43 | |
| 44 | form { |
| 45 | margin-left: 235px; |
| 46 | margin-top:0px |
| 47 | } |
| 48 | |
| 49 | form input[type=search] { |
| 50 | width: 50%; |
| 51 | } |
| 52 | |
| 53 | a { |
| 54 | text-decoration: none; |
| 55 | } |
| 56 | |
| 57 | p.found { |
| 58 | font-size: 10pt; |
| 59 | padding: 0; |
| 60 | margin: 0; |
| 61 | } |
| 62 | |
| 63 | p.found { |
| 64 | text-align: right; |
| 65 | } |
| 66 | |
| 67 | #pagination { |
| 68 | position: fixed; |
| 69 | right: 20px; |
| 70 | bottom: 10px; |
| 71 | z-index: 800; |
| 72 | } |
| 73 | |
| 74 | #pagination span { |
| 75 | display: inline-block; |
| 76 | background-color: #ddd; |
| 77 | margin: 2pt; |
| 78 | height: 1.5em; |
| 79 | padding-left: .5em; |
| 80 | padding-right: .5em; |
| 81 | line-height: 1.5em; |
| 82 | text-align: center; |
| 83 | border-width: 2px; |
| 84 | border-style: solid; |
| 85 | border-color: #999; |
| 86 | box-shadow: 3px 3px 3px rgba(0,0,0,0.3); |
| 87 | } |
| 88 | |
| 89 | #pagination a { |
| 90 | text-shadow: 1px 1px rgba(255, 255, 255, 0.9); |
| 91 | } |
| 92 | |
| 93 | #pagination a[rel=self] span { |
| 94 | border-color: #ffa500; |
| 95 | background-color: #f4eebb; |
| 96 | color: #ff8000; |
| 97 | } |
| 98 | |
| 99 | #pagination a[href] { |
| 100 | color: #7ba400; |
| 101 | } |
| 102 | |
| 103 | #pagination a[href] span:hover { |
| 104 | background-color: #7ba400; |
| 105 | border-color: #496000; |
| 106 | color: #496000; |
| 107 | text-shadow: none; |
| 108 | } |
| 109 | |
| 110 | #total-results { |
| 111 | color: #c1002b; |
| 112 | } |
| 113 | |
| 114 | code.query { |
| 115 | background-color: #f4eebb; |
| 116 | display: block; |
| 117 | border-style: solid; |
| 118 | border-color: #ffa500; |
| 119 | font-size: 12pt; |
| 120 | padding: 2pt; |
| 121 | color: #bb6000; |
| 122 | font-weight: bold; |
| 123 | text-shadow: 1px 1px rgba(255, 255, 255, 0.9); |
| 124 | border-width: 2px; |
| 125 | margin: 0; |
| 126 | margin-bottom: 5pt; |
| 127 | cursor: pointer; |
| 128 | } |
| 129 | |
| 130 | code.query.serial:not(.active) span { |
| 131 | padding: 2pt; |
| 132 | } |
| 133 | |
| 134 | code.query pre { |
| 135 | display: block; |
| 136 | padding: 2px 5px; |
| 137 | margin: 0; |
| 138 | } |
| 139 | |
| 140 | code.query.serial:not(.active) pre { |
| 141 | display: none; |
| 142 | } |
| 143 | |
| 144 | code.query.serial.active span { |
| 145 | display: none; |
| 146 | } |
| 147 | |
| 148 | #sidebar.active { |
| 149 | margin-left: 0px; |
| 150 | left: 0; |
| 151 | top: 0; |
| 152 | } |
| 153 | |
| 154 | #sidebar { |
| 155 | color: #fff; |
| 156 | text-shadow: none; |
| 157 | transition: all .3s ease-in-out; |
| 158 | position: fixed; |
| 159 | z-index: 500; |
| 160 | height: 100%; |
| 161 | background-color: #496000; |
| 162 | width: 260px; |
| 163 | margin-left: -245px; |
| 164 | left: 0; |
| 165 | top: 0; |
| 166 | } |
| 167 | |
| 168 | #sidebar > * { |
| 169 | opacity: 0; |
| 170 | transition-property: opacity; |
| 171 | transition-duration: .3s; |
| 172 | } |
| 173 | |
| 174 | #sidebar:not(.active) > i.fa-bars { |
| 175 | opacity: 1; |
| 176 | cursor: pointer; |
| 177 | background-color: #496000; |
| 178 | position: fixed; |
| 179 | font-size: 16pt; |
| 180 | width: 16pt; |
| 181 | height: 17pt; |
| 182 | padding: 6pt; |
| 183 | bottom: 0; |
| 184 | left: 0; |
| 185 | border-top-right-radius: 5pt; |
| 186 | } |
| 187 | |
| 188 | #sidebar.active > * { |
| 189 | opacity: 1; |
| 190 | } |
| 191 | |
| 192 | #sidebar.active > i.fa-bars { |
| 193 | opacity: 0; |
| 194 | } |
| 195 | |
| 196 | #sidebar h2 { |
| 197 | font-size: 100%; |
| 198 | font-weight: bold; |
| 199 | text-align: center; |
| 200 | padding: 0; |
| 201 | margin: 0 0 5pt 0; |
| 202 | } |
| 203 | |
| 204 | #sidebar ul { |
| 205 | list-style-type: none; |
| 206 | margin: 0; |
| 207 | font-size: 10pt; |
| 208 | text-indent: 0; |
| 209 | padding: 0; |
| 210 | } |
| 211 | |
| 212 | #sidebar ul li { |
| 213 | padding: 4pt 10pt; |
| 214 | } |
| 215 | |
| 216 | #sidebar ul li h3 { |
| 217 | font-weight: bold; |
| 218 | font-size: 100%; |
| 219 | padding: 0; |
| 220 | margin: 0; |
| 221 | } |
| 222 | |
| 223 | #sidebar ul li.active h3 { |
| 224 | margin-bottom: 2pt; |
| 225 | padding-bottom: 2pt; |
| 226 | border-bottom: 1px solid black; |
| 227 | } |
| 228 | |
| 229 | #sidebar ul li.active { |
| 230 | background-color: #7ba400; |
| 231 | text-shadow: 1px 1px rgba(0, 0, 0, 0.4); |
| 232 | } |
| 233 | |
| 234 | dl.info { |
| 235 | font-size: 9pt; |
| 236 | padding: 0 10pt; |
| 237 | } |
| 238 | |
| 239 | dl.info dt { |
| 240 | font-weight: bold; |
| 241 | float: left; |
| 242 | } |
| 243 | |
| 244 | dl.info dd { |
| 245 | text-align: right; |
| 246 | } |
| 247 | |
| 248 | #tutorial { |
| 249 | position: fixed; |
| 250 | display: block; |
| 251 | z-index: 9999; |
| 252 | background-color: #496000; |
| 253 | border-radius: 15px; |
| 254 | padding: 5px; |
| 255 | top: 2%; |
| 256 | bottom: 2%; |
| 257 | left: 5%; |
| 258 | right: 5%; |
| 259 | } |
| 260 | |
| 261 | #tutorial:not(.active) { |
| 262 | display: none; |
| 263 | } |
| 264 | |
| 265 | #tutorial.active { |
| 266 | display: block; |
| 267 | } |
| 268 | |
| 269 | #tutorial > i, |
| 270 | #tutorial > a > i { |
| 271 | font-size: 20pt; |
| 272 | color: #496000; |
| 273 | position: absolute; |
| 274 | z-index: 100; |
| 275 | top: 10pt; |
| 276 | right: 20pt; |
| 277 | cursor: pointer; |
| 278 | } |
| 279 | |
| 280 | #tutorial > a > i { |
| 281 | right: 40pt; |
| 282 | } |
| 283 | |
| 284 | #tutorial iframe { |
| 285 | width: 100%; |
| 286 | min-height: 100%; |
| 287 | border-width: 0; |
| 288 | border-radius: 10px; |
| 289 | background-image: url('img/crab.svg'); |
| 290 | background-size: 10%; |
| 291 | background-repeat: no-repeat; |
| 292 | background-position: center center; |
| 293 | background-color: white; |
| 294 | } |
| 295 | |
| 296 | h1 { |
| 297 | margin: 0; |
| 298 | left: 0; |
| 299 | top: 0; |
| 300 | background-image: url('/img/korap-logo-solo.svg'); |
| 301 | position: absolute; |
| 302 | width: 260px; /* like sidebars*/ |
| 303 | height: 68px; /* like #top */ |
| 304 | z-index: 999; |
| 305 | background-repeat: no-repeat; |
| 306 | background-position: center center; |
| 307 | background-size: 65%; |
| 308 | } |
| 309 | |
| 310 | h1 span { |
| 311 | margin-left: -3000px; |
| 312 | } |
| 313 | |
| 314 | #search { |
| 315 | margin-bottom: 44px; |
| 316 | } |
| 317 | |
| 318 | #search.match { |
| 319 | margin-top: 14pt; |
| 320 | } |
| 321 | |
| 322 | main { |
| 323 | margin-left: 30px; |
| 324 | margin-right: 14px; |
| 325 | } |
| 326 | |
| 327 | main.embedded { |
| 328 | margin-left: 14px; |
| 329 | margin-right: 14px; |
| 330 | } |