blob: 0d85a7889df6e2031ed6279e0c5bb87c878d0fa4 [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 Tran243fe732024-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
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +020022 &.shifted {
23 padding-left: $logo-left-distance;
24 }
25
Akroned280252021-03-15 15:02:41 +010026 nav {
27 margin-left: $button-width;
28 padding: $item-padding;
29 text-align: left;
30 flex-grow: 2;
Akronc84ec1a2024-04-12 13:50:10 +020031 display: flex;
32 flex-direction: row;
Akroned280252021-03-15 15:02:41 +010033 a {
34 white-space: nowrap;
35 }
36 }
37
Akronc84ec1a2024-04-12 13:50:10 +020038 > 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
Akroned280252021-03-15 15:02:41 +010058 div.logos {
59 font-size: 0;
60 flex-grow: 1;
61 }
62
63
Akronafeca252018-05-23 15:54:28 +020064 a {
Akroned280252021-03-15 15:02:41 +010065 font-size: 10pt;
Akronafeca252018-05-23 15:54:28 +020066 &:link {
Akroned280252021-03-15 15:02:41 +010067 // margin: 0 .5em;
Akron7e5afce2020-08-25 15:50:19 +020068 color: $light-grey;
Akronafeca252018-05-23 15:54:28 +020069 }
70 &:visited {
Akron7e5afce2020-08-25 15:50:19 +020071 color: $light-grey;
Akronafeca252018-05-23 15:54:28 +020072 }
73 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020074 color: $nearly-white;
Akronafeca252018-05-23 15:54:28 +020075 }
76 &[href^="http://"]::after,
77 &[href^="https://"]::after {
78 content: none
79 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000080 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000081}
Akroned280252021-03-15 15:02:41 +010082
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;
Akronbaba3b62021-11-22 17:24:48 +010095 width: math.div(631,30) + em;
96 height: math.div(200,30) + em;
Akroned280252021-03-15 15:02:41 +010097 background-image: url('#{$img-path}/ids-institute-for-the-german-language-white.svg');
98}
99
Akronb01cccc2024-09-30 15:32:43 +0200100aside.active:not(.off) ~ footer {
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +0200101 // padding-left: $logo-left-distance;
Akroned280252021-03-15 15:02:41 +0100102 transition: all .3s ease-in-out;
Akronbaba3b62021-11-22 17:24:48 +0100103}