| @charset "utf-8"; |
| @use 'sass:math'; |
| @import "../util"; |
| |
| /** |
| * Rules for the footer section of Kalamar |
| */ |
| footer { |
| background-color: $dark-grey; |
| position: absolute; |
| |
| bottom: 0; |
| padding-bottom: 2px; |
| font-size: 70%; |
| width: 100%; |
| text-align: right; |
| |
| display: flex; |
| align-items: center; |
| height: $footer-height; |
| |
| nav { |
| margin-left: $button-width; |
| padding: $item-padding; |
| text-align: left; |
| flex-grow: 2; |
| display: flex; |
| flex-direction: row; |
| a { |
| white-space: nowrap; |
| } |
| } |
| |
| > nav > div { |
| display: inline; |
| margin: .2em; |
| &:after { |
| font-size: bold; |
| content: " | "; |
| white-space: nowrap; |
| color: $dark-orange; |
| } |
| &:last-child { |
| margin-right: 0; |
| &:after { |
| content: none; |
| } |
| } |
| &:first-child { |
| margin-left: 0; |
| } |
| } |
| |
| div.logos { |
| font-size: 0; |
| flex-grow: 1; |
| } |
| |
| |
| a { |
| font-size: 10pt; |
| &:link { |
| // margin: 0 .5em; |
| color: $light-grey; |
| } |
| &:visited { |
| color: $light-grey; |
| } |
| &:hover { |
| color: $nearly-white; |
| } |
| &[href^="http://"]::after, |
| &[href^="https://"]::after { |
| content: none |
| } |
| } |
| } |
| |
| /** |
| * Logo table of the front page |
| */ |
| #logos { |
| margin-right: $standard-margin; |
| } |
| |
| /** |
| * Logo: Institute for German Language |
| */ |
| #ids-logo { |
| display: inline-block; |
| width: math.div(631,30) + em; |
| height: math.div(200,30) + em; |
| background-image: url('#{$img-path}/ids-institute-for-the-german-language-white.svg'); |
| } |
| |
| aside.active ~ footer { |
| padding-left: $logo-left-distance; |
| transition: all .3s ease-in-out; |
| } |