blob: 59ad7319125ad71436efe3a99083be4873377b18 [file] [log] [blame]
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00001@charset "utf-8";
Akronbaba3b62021-11-22 17:24:48 +01002@use 'sass:math';
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00003@import "../util";
4
Nils Diewald652e5f42015-05-10 18:11:45 +00005/**
6 * Rules for the footer section of Kalamar
7 */
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00008footer {
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00009 background-color: $dark-grey;
Uyen-Nhu Tran87aabcc2024-04-10 01:17:24 +020010 // position: absolute;
11 // bottom: 0;
12 margin-top: auto;
Akron7e5afce2020-08-25 15:50:19 +020013 padding-bottom: 2px;
14 font-size: 70%;
15 width: 100%;
16 text-align: right;
17
Akroned280252021-03-15 15:02:41 +010018 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
Akronafeca252018-05-23 15:54:28 +020038 a {
Akroned280252021-03-15 15:02:41 +010039 font-size: 10pt;
Akronafeca252018-05-23 15:54:28 +020040 &:link {
Akroned280252021-03-15 15:02:41 +010041 // margin: 0 .5em;
Akron7e5afce2020-08-25 15:50:19 +020042 color: $light-grey;
Akronafeca252018-05-23 15:54:28 +020043 }
44 &:visited {
Akron7e5afce2020-08-25 15:50:19 +020045 color: $light-grey;
Akronafeca252018-05-23 15:54:28 +020046 }
47 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020048 color: $nearly-white;
Akronafeca252018-05-23 15:54:28 +020049 }
50 &[href^="http://"]::after,
51 &[href^="https://"]::after {
52 content: none
53 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000054 }
Akroned280252021-03-15 15:02:41 +010055
Akronef6d5f12018-05-28 17:54:58 +020056 span.separator {
57 &:after {
Akroned280252021-03-15 15:02:41 +010058 font-size: bold;
59 content: " | ";
60 color: $dark-orange;
Akronef6d5f12018-05-28 17:54:58 +020061 }
62 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000063}
Akroned280252021-03-15 15:02:41 +010064
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;
Akronbaba3b62021-11-22 17:24:48 +010077 width: math.div(631,30) + em;
78 height: math.div(200,30) + em;
Akroned280252021-03-15 15:02:41 +010079 background-image: url('#{$img-path}/ids-institute-for-the-german-language-white.svg');
80}
81
82aside.active ~ footer {
Uyen-Nhu Tran87aabcc2024-04-10 01:17:24 +020083 // padding-left: $logo-left-distance;
Akroned280252021-03-15 15:02:41 +010084 transition: all .3s ease-in-out;
Akronbaba3b62021-11-22 17:24:48 +010085}