Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 2 | @import "../util"; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 3 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 4 | /** |
5 | * Rules for logos. | ||||
6 | */ | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 7 | .logo { |
8 | &::after { | ||||
9 | content: "" !important; | ||||
10 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 11 | |
Uyen-Nhu Tran | b30a5a3 | 2024-04-10 01:17:24 +0200 | [diff] [blame^] | 12 | // div.logoaddon { |
13 | // position:absolute; | ||||
14 | // display: block; | ||||
15 | // font-size: 45%; | ||||
16 | // right: 5pt; | ||||
17 | // bottom: 4pt; | ||||
18 | // text-align:right; | ||||
19 | // color: $dark-orange; | ||||
20 | // padding: 3pt; | ||||
21 | // text-shadow: 1pt 1pt 0 $nearly-white, -1pt -1pt 0 $nearly-white, -1pt 1pt 0 $nearly-white, 1pt -1pt 0 $nearly-white; | ||||
22 | // } | ||||
Akron | 7b98f26 | 2024-05-02 10:39:38 +0200 | [diff] [blame] | 23 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 24 | > * { |
25 | background: { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 26 | repeat: no-repeat; |
27 | size: 90%; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 28 | position: 50% 50%; |
29 | } | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 30 | |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 31 | > span { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 32 | @include blind; |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 33 | } |
Uyen-Nhu Tran | b30a5a3 | 2024-04-10 01:17:24 +0200 | [diff] [blame^] | 34 | |
35 | > div.logoaddon { | ||||
36 | position:absolute; | ||||
37 | display: block; | ||||
38 | font-size: 10pt; | ||||
39 | right: -1rem; | ||||
40 | top: 1.7rem; | ||||
41 | // bottom: 4pt; | ||||
42 | // text-align:right; | ||||
43 | color: $dark-orange; | ||||
44 | // padding: 3pt; | ||||
45 | text-shadow: 1pt 1pt 0 $nearly-white, -1pt -1pt 0 $nearly-white, -1pt 1pt 0 $nearly-white, 1pt -1pt 0 $nearly-white; | ||||
46 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 47 | } |
48 | } | ||||
49 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 50 | /** |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 51 | * Logo: KorAP |
52 | */ | ||||
53 | h1 { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 54 | position: absolute; |
55 | margin: 0; | ||||
Uyen-Nhu Tran | b30a5a3 | 2024-04-10 01:17:24 +0200 | [diff] [blame^] | 56 | // margin-left: 10pt; |
57 | margin-left: 3rem; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 58 | left: 0; |
Uyen-Nhu Tran | b30a5a3 | 2024-04-10 01:17:24 +0200 | [diff] [blame^] | 59 | top: 50%; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 60 | width: 7.8em; |
61 | height: 2.4em; | ||||
62 | z-index: 105; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 63 | background: { |
Akron | d059ea2 | 2021-03-02 15:32:27 +0100 | [diff] [blame] | 64 | size: 78% !important; |
65 | image: url('#{$img-path}/korap-logo.svg'); | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 66 | } |
Uyen-Nhu Tran | b30a5a3 | 2024-04-10 01:17:24 +0200 | [diff] [blame^] | 67 | transform: translateY(-50%); |
68 | -o-transform: translateY(-50%); | ||||
69 | -moz-transform: translateY(-50%); | ||||
70 | -webkit-transform: translateY(-50%); | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 71 | } |
72 | |||||
Uyen-Nhu Tran | b30a5a3 | 2024-04-10 01:17:24 +0200 | [diff] [blame^] | 73 | // aside.active ~ header h1 { |
74 | // position: fixed; | ||||
75 | // } | ||||
Akron | c3f063c | 2021-04-20 14:29:42 +0200 | [diff] [blame] | 76 | |
77 | |||||
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 78 | #overview { |
79 | text-align: center; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 80 | width: 100%; |
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 81 | } |