Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 1 | @charset "utf-8"; |
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 2 | @use 'sass:math'; |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 3 | @import "../util"; |
4 | |||||
Nils Diewald | 652e5f4 | 2015-05-10 18:11:45 +0000 | [diff] [blame] | 5 | /** |
6 | * Rules for the footer section of Kalamar | ||||
7 | */ | ||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 8 | footer { |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 9 | background-color: $dark-grey; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 10 | position: absolute; |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 11 | |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 12 | bottom: 0; |
13 | padding-bottom: 2px; | ||||
14 | font-size: 70%; | ||||
15 | width: 100%; | ||||
16 | text-align: right; | ||||
17 | |||||
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 18 | display: flex; |
19 | align-items: center; | ||||
20 | height: $footer-height; | ||||
21 | |||||
22 | nav { | ||||
23 | margin-left: $button-width; | ||||
24 | padding: $item-padding; | ||||
25 | text-align: left; | ||||
26 | flex-grow: 2; | ||||
27 | a { | ||||
28 | white-space: nowrap; | ||||
29 | } | ||||
30 | } | ||||
31 | |||||
32 | div.logos { | ||||
33 | font-size: 0; | ||||
34 | flex-grow: 1; | ||||
35 | } | ||||
36 | |||||
37 | |||||
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 38 | a { |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 39 | font-size: 10pt; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 40 | &:link { |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 41 | // margin: 0 .5em; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 42 | color: $light-grey; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 43 | } |
44 | &:visited { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 45 | color: $light-grey; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 46 | } |
47 | &:hover { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 48 | color: $nearly-white; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 49 | } |
50 | &[href^="http://"]::after, | ||||
51 | &[href^="https://"]::after { | ||||
52 | content: none | ||||
53 | } | ||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 54 | } |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 55 | |
Akron | ef6d5f1 | 2018-05-28 17:54:58 +0200 | [diff] [blame] | 56 | span.separator { |
57 | &:after { | ||||
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 58 | font-size: bold; |
59 | content: " | "; | ||||
60 | color: $dark-orange; | ||||
Akron | ef6d5f1 | 2018-05-28 17:54:58 +0200 | [diff] [blame] | 61 | } |
62 | } | ||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 63 | } |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 64 | |
65 | /** | ||||
66 | * Logo table of the front page | ||||
67 | */ | ||||
68 | #logos { | ||||
69 | margin-right: $standard-margin; | ||||
70 | } | ||||
71 | |||||
72 | /** | ||||
73 | * Logo: Institute for German Language | ||||
74 | */ | ||||
75 | #ids-logo { | ||||
76 | display: inline-block; | ||||
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 77 | width: math.div(631,30) + em; |
78 | height: math.div(200,30) + em; | ||||
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 79 | background-image: url('#{$img-path}/ids-institute-for-the-german-language-white.svg'); |
80 | } | ||||
81 | |||||
82 | aside.active ~ footer { | ||||
83 | padding-left: $logo-left-distance; | ||||
84 | transition: all .3s ease-in-out; | ||||
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 85 | } |