blob: e2ec64e70853c662ba8764ce2a5dee560306c10b [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;
Akron7e5afce2020-08-25 15:50:19 +020010 position: absolute;
Akroned280252021-03-15 15:02:41 +010011
Akron7e5afce2020-08-25 15:50:19 +020012 bottom: 0;
13 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;
Akronc84ec1a2024-04-12 13:50:10 +020027 display: flex;
28 flex-direction: row;
Akroned280252021-03-15 15:02:41 +010029 a {
30 white-space: nowrap;
31 }
32 }
33
Akronc84ec1a2024-04-12 13:50:10 +020034 > nav > div {
35 display: inline;
36 margin: .2em;
37 &:after {
38 font-size: bold;
39 content: " | ";
40 white-space: nowrap;
41 color: $dark-orange;
42 }
43 &:last-child {
44 margin-right: 0;
45 &:after {
46 content: none;
47 }
48 }
49 &:first-child {
50 margin-left: 0;
51 }
52 }
53
Akroned280252021-03-15 15:02:41 +010054 div.logos {
55 font-size: 0;
56 flex-grow: 1;
57 }
58
59
Akronafeca252018-05-23 15:54:28 +020060 a {
Akroned280252021-03-15 15:02:41 +010061 font-size: 10pt;
Akronafeca252018-05-23 15:54:28 +020062 &:link {
Akroned280252021-03-15 15:02:41 +010063 // margin: 0 .5em;
Akron7e5afce2020-08-25 15:50:19 +020064 color: $light-grey;
Akronafeca252018-05-23 15:54:28 +020065 }
66 &:visited {
Akron7e5afce2020-08-25 15:50:19 +020067 color: $light-grey;
Akronafeca252018-05-23 15:54:28 +020068 }
69 &:hover {
Akron7e5afce2020-08-25 15:50:19 +020070 color: $nearly-white;
Akronafeca252018-05-23 15:54:28 +020071 }
72 &[href^="http://"]::after,
73 &[href^="https://"]::after {
74 content: none
75 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000076 }
Nils Diewaldab4d3ca2015-04-17 01:48:43 +000077}
Akroned280252021-03-15 15:02:41 +010078
79/**
80 * Logo table of the front page
81 */
82#logos {
83 margin-right: $standard-margin;
84}
85
86/**
87 * Logo: Institute for German Language
88 */
89#ids-logo {
90 display: inline-block;
Akronbaba3b62021-11-22 17:24:48 +010091 width: math.div(631,30) + em;
92 height: math.div(200,30) + em;
Akroned280252021-03-15 15:02:41 +010093 background-image: url('#{$img-path}/ids-institute-for-the-german-language-white.svg');
94}
95
96aside.active ~ footer {
97 padding-left: $logo-left-distance;
98 transition: all .3s ease-in-out;
Akronbaba3b62021-11-22 17:24:48 +010099}