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 | 243fe73 | 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: 2.5pt; | ||||
18 | // text-align:right; | ||||
19 | // color: $nearly-white; | ||||
20 | // padding: 3pt; | ||||
21 | // text-shadow: 1pt 1pt 0 $light-green, -1pt -1pt 0 $light-green, -1pt 1pt 0 $light-green, 1pt -1pt 0 $light-green; | ||||
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 | 243fe73 | 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: $nearly-white; | ||||
44 | // padding: 3pt; | ||||
45 | text-shadow: 1pt 1pt 0 $light-green, -1pt -1pt 0 $light-green, -1pt 1pt 0 $light-green, 1pt -1pt 0 $light-green; | ||||
46 | |||||
47 | // Values from new logo: | ||||
48 | // font-size: 45%; | ||||
49 | // right: 5pt; | ||||
50 | // bottom: 2.5pt; | ||||
51 | // text-align: right; | ||||
52 | // padding: 3pt; | ||||
53 | } | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 54 | } |
55 | } | ||||
56 | |||||
Akron | 9d68973 | 2024-07-29 16:47:18 +0200 | [diff] [blame] | 57 | aside.active + header .logo div.logoaddon { |
58 | text-shadow: 1pt 1pt 0 $dark-green, -1pt -1pt 0 $dark-green, -1pt 1pt 0 $dark-green, 1pt -1pt 0 $dark-green; | ||||
59 | } | ||||
60 | |||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 61 | /** |
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 62 | * Logo: KorAP |
63 | */ | ||||
Akron | 3d4687f | 2024-11-06 19:25:35 +0200 | [diff] [blame] | 64 | a.logo > h1 { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 65 | position: absolute; |
66 | margin: 0; | ||||
Uyen-Nhu Tran | 243fe73 | 2024-04-10 01:17:24 +0200 | [diff] [blame] | 67 | // margin-left: 10pt; |
68 | margin-left: 3rem; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 69 | left: 0; |
Uyen-Nhu Tran | 243fe73 | 2024-04-10 01:17:24 +0200 | [diff] [blame] | 70 | top: 50%; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 71 | width: 7.8em; |
72 | height: 2.4em; | ||||
73 | z-index: 105; | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 74 | background: { |
Akron | d059ea2 | 2021-03-02 15:32:27 +0100 | [diff] [blame] | 75 | size: 78% !important; |
76 | image: url('#{$img-path}/korap-logo.svg'); | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 77 | } |
Uyen-Nhu Tran | 243fe73 | 2024-04-10 01:17:24 +0200 | [diff] [blame] | 78 | transform: translateY(-50%); |
79 | -o-transform: translateY(-50%); | ||||
80 | -moz-transform: translateY(-50%); | ||||
81 | -webkit-transform: translateY(-50%); | ||||
Nils Diewald | a944fab | 2015-04-08 21:02:04 +0000 | [diff] [blame] | 82 | } |
83 | |||||
Uyen-Nhu Tran | 243fe73 | 2024-04-10 01:17:24 +0200 | [diff] [blame] | 84 | // aside.active ~ header h1 { |
85 | // position: fixed; | ||||
86 | // } | ||||
Akron | c3f063c | 2021-04-20 14:29:42 +0200 | [diff] [blame] | 87 | |
88 | |||||
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 89 | #overview { |
90 | text-align: center; | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 91 | width: 100%; |
Nils Diewald | 0e6992a | 2015-04-14 20:13:52 +0000 | [diff] [blame] | 92 | } |