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; | ||||
Akron | c84ec1a | 2024-04-12 13:50:10 +0200 | [diff] [blame] | 27 | display: flex; |
28 | flex-direction: row; | ||||
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 29 | a { |
30 | white-space: nowrap; | ||||
31 | } | ||||
32 | } | ||||
33 | |||||
Akron | c84ec1a | 2024-04-12 13:50:10 +0200 | [diff] [blame] | 34 | > nav > div { |
35 | display: inline; | ||||
36 | margin: .2em; | ||||
37 | &:after { | ||||
38 | font-size: bold; | ||||
39 | content: " | "; | ||||
40 | white-space: nowrap; | ||||
41 | color: $dark-orange; | ||||
42 | } | ||||
43 | &:last-child { | ||||
44 | margin-right: 0; | ||||
45 | &:after { | ||||
46 | content: none; | ||||
47 | } | ||||
48 | } | ||||
49 | &:first-child { | ||||
50 | margin-left: 0; | ||||
51 | } | ||||
52 | } | ||||
53 | |||||
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 54 | div.logos { |
55 | font-size: 0; | ||||
56 | flex-grow: 1; | ||||
57 | } | ||||
58 | |||||
59 | |||||
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 60 | a { |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 61 | font-size: 10pt; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 62 | &:link { |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 63 | // margin: 0 .5em; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 64 | color: $light-grey; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 65 | } |
66 | &:visited { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 67 | color: $light-grey; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 68 | } |
69 | &:hover { | ||||
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 70 | color: $nearly-white; |
Akron | afeca25 | 2018-05-23 15:54:28 +0200 | [diff] [blame] | 71 | } |
72 | &[href^="http://"]::after, | ||||
73 | &[href^="https://"]::after { | ||||
74 | content: none | ||||
75 | } | ||||
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 76 | } |
Nils Diewald | ab4d3ca | 2015-04-17 01:48:43 +0000 | [diff] [blame] | 77 | } |
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 78 | |
79 | /** | ||||
80 | * Logo table of the front page | ||||
81 | */ | ||||
82 | #logos { | ||||
83 | margin-right: $standard-margin; | ||||
84 | } | ||||
85 | |||||
86 | /** | ||||
87 | * Logo: Institute for German Language | ||||
88 | */ | ||||
89 | #ids-logo { | ||||
90 | display: inline-block; | ||||
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 91 | width: math.div(631,30) + em; |
92 | height: math.div(200,30) + em; | ||||
Akron | ed28025 | 2021-03-15 15:02:41 +0100 | [diff] [blame] | 93 | background-image: url('#{$img-path}/ids-institute-for-the-german-language-white.svg'); |
94 | } | ||||
95 | |||||
96 | aside.active ~ footer { | ||||
97 | padding-left: $logo-left-distance; | ||||
98 | transition: all .3s ease-in-out; | ||||
Akron | baba3b6 | 2021-11-22 17:24:48 +0100 | [diff] [blame] | 99 | } |