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