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