blob: 650d3ef5f14aa1bf4eb6c62828adfdd7ca405ad5 [file] [log] [blame]
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00001@charset "utf-8";
Akronbaba3b62021-11-22 17:24:48 +01002@use 'sass:math';
Akron7636edf2025-11-04 12:44:53 +01003@use "../util";
4@use "../base/colors";
5@use "../base/lengths";
6@use "../base/paths";
Nils Diewaldab4d3ca2015-04-17 01:48:43 +00007
Nils Diewald652e5f42015-05-10 18:11:45 +00008/**
9 * Rules for the footer section of Kalamar
10 */
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000011footer {
Akron7636edf2025-11-04 12:44:53 +010012 background-color: colors.$dark-grey;
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +020013 // position: absolute;
14 // bottom: 0;
15 margin-top: auto;
Akron7e5afce2020-08-25 15:50:19 +020016 padding-bottom: 2px;
17 font-size: 70%;
18 width: 100%;
19 text-align: right;
20
Akroned280252021-03-15 15:02:41 +010021 display: flex;
22 align-items: center;
Akron7636edf2025-11-04 12:44:53 +010023 height: lengths.$footer-height;
Akroned280252021-03-15 15:02:41 +010024
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +020025 &.shifted {
Akron7636edf2025-11-04 12:44:53 +010026 padding-left: lengths.$logo-left-distance;
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +020027 }
28
Akroned280252021-03-15 15:02:41 +010029 nav {
Akron7636edf2025-11-04 12:44:53 +010030 margin-left: lengths.$button-width;
31 padding: lengths.$item-padding;
Akroned280252021-03-15 15:02:41 +010032 text-align: left;
33 flex-grow: 2;
Akronc84ec1a2024-04-12 13:50:10 +020034 display: flex;
35 flex-direction: row;
Akroned280252021-03-15 15:02:41 +010036 a {
37 white-space: nowrap;
38 }
39 }
40
Akronc84ec1a2024-04-12 13:50:10 +020041 > nav > div {
42 display: inline;
43 margin: .2em;
44 &:after {
45 font-size: bold;
46 content: " | ";
47 white-space: nowrap;
Akron7636edf2025-11-04 12:44:53 +010048 color: colors.$dark-orange;
Akronc84ec1a2024-04-12 13:50:10 +020049 }
50 &:last-child {
51 margin-right: 0;
52 &:after {
53 content: none;
54 }
55 }
56 &:first-child {
57 margin-left: 0;
58 }
59 }
60
Akroned280252021-03-15 15:02:41 +010061 div.logos {
62 font-size: 0;
63 flex-grow: 1;
64 }
65
66
Akronafeca252018-05-23 15:54:28 +020067 a {
Akroned280252021-03-15 15:02:41 +010068 font-size: 10pt;
Akronafeca252018-05-23 15:54:28 +020069 &:link {
Akroned280252021-03-15 15:02:41 +010070 // margin: 0 .5em;
Akron7636edf2025-11-04 12:44:53 +010071 color: colors.$light-grey;
Akronafeca252018-05-23 15:54:28 +020072 }
73 &:visited {
Akron7636edf2025-11-04 12:44:53 +010074 color: colors.$light-grey;
Akronafeca252018-05-23 15:54:28 +020075 }
76 &:hover {
Akron7636edf2025-11-04 12:44:53 +010077 color: colors.$nearly-white;
Akronafeca252018-05-23 15:54:28 +020078 }
79 &[href^="http://"]::after,
80 &[href^="https://"]::after {
81 content: none
82 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000083 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000084}
Akroned280252021-03-15 15:02:41 +010085
86/**
87 * Logo table of the front page
88 */
89#logos {
Akron7636edf2025-11-04 12:44:53 +010090 margin-right: lengths.$standard-margin;
Akroned280252021-03-15 15:02:41 +010091}
92
93/**
94 * Logo: Institute for German Language
95 */
96#ids-logo {
97 display: inline-block;
Akronbaba3b62021-11-22 17:24:48 +010098 width: math.div(631,30) + em;
99 height: math.div(200,30) + em;
Akron7636edf2025-11-04 12:44:53 +0100100 background-image: url('#{paths.$img-path}/ids-institute-for-the-german-language-white.svg');
Akroned280252021-03-15 15:02:41 +0100101}
102
Akronb01cccc2024-09-30 15:32:43 +0200103aside.active:not(.off) ~ footer {
Uyen-Nhu Tran243fe732024-04-10 01:17:24 +0200104 // padding-left: $logo-left-distance;
Akroned280252021-03-15 15:02:41 +0100105 transition: all .3s ease-in-out;
Akronbaba3b62021-11-22 17:24:48 +0100106}