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