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