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