Skip to content
Snippets Groups Projects
Forked from stustanet / stustanet-website
278 commits behind the upstream repository.
styles.css 6.79 KiB
:root {
    /* --yellow: rgb(255, 232, 89);
    --red: rgb(226, 107, 68);
    --green: rgb(137, 187, 79);
    --blue: rgb(94, 146, 189); */
}

html {
    font-family: sans-serif;
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
}

html, body {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    width: 100%;
    height: 100%;
}

body {
    line-height: 1;
    font-size: 100%;
    vertical-align: baseline;
    color: #4B4B4B;
    display: flex;
    flex-direction: column;
}

#top-bar {
    background: #fff;
    width: 100%;
    height: 54px;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.12);
    z-index: 1;
}

#top-bar div.logo {
    display: inline-block;
}

#top-bar .logo a img {
    height: 34px;
    width: auto;
    margin: 10px 10px 10px -5px;
}

ul.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.menu li {
    display: inline-block;
}

ul.menu li a {
    display: inline-block;
    padding: 15px 5px;
}

#top-bar .menu {
    float: right;
}

.lang-dropdown {
    color: #EDEDED;
    cursor: default;
    position: relative;
}

.lang-dropdown a {
    cursor: pointer;
}

.lang-dropdown .globe {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: -2px 5px 0 0;
    vertical-align: top;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAABFklEQVQoz13RMUgbUBSF4duCg4MmQQK6FbQ4d3Ps6uQQBRdp0U5uxdCAiF1aLBQLLQjilEWcAkJALbWtg1tBKAh2ERxiwQSFDm6az8EXk+Zs79yf+945LyJJ1rJvaq4c+OxZ/C8DJqwqWnIIbnzR3w2VVLxwCa6dGe4GMkYU/ARHZj3pBvpUNdyCdTPWTHkUnnsaIWvIjrYWDHtpw9uwoiznr0bHuOxxe/F3bHnll1PNBJQ6b/6RzB098jZBzaR5g/fAxwQsRkTo99pJcubugel0/KM37awkp9qq+DwZexERRlNVfG29YjwZxxERfj9kudbXQj6Bf3Led4TdlWlnKahjzEUaNr3r6CIiQt4bH+yr21Zsf/cd+nQr23neGI8AAAAASUVORK5CYII=) no-repeat;
}

.lang-dropdown ul {
    position: absolute;
    right: 0;
    top: 0;
    list-style: none;
    width: 140px;
    font: bold 12px sans-serif;
    overflow: hidden;
    max-height: 0px;
    -webkit-transition: max-height 0.4s linear;
    -moz-transition: max-height 0.4s linear;
    transition: max-height 0.4s linear;
}
.lang-dropdown:hover ul {
    max-height: 200px;
}
.lang-dropdown ul.up {
    top: auto;
    bottom: 20px;
}

.lang-dropdown li {
    background-color: #454545;
    position: relative;
    line-height: 24px;
    vertical-align: middle;
}
.lang-dropdown li:hover {
    background-color:#555;
}
.lang-dropdown li:first-child {
    border-radius: 3px 3px 0 0;
    margin-top: 20px;
}
.lang-dropdown li:first-child:before {
    content:'';
    position: absolute;
    width: 1px;
    height: 1px;
    border: 5px solid transparent;
    border-bottom-color: #454545;
    left: 50%;
    top: -11px;
    margin-left: -5px;
}
.lang-dropdown li:last-child {
    border-radius: 0 0 3px 3px;
}
.lang-dropdown .up li:first-child {
    margin-top: 0px;
}
.lang-dropdown .up li:last-child {
    margin-bottom: 15px;
}
.lang-dropdown .up li:last-child:after {
    content:'';
    position: absolute;
    width: 1px;
    height: 1px;
    border: 5px solid transparent;
    border-top-color: #454545;
    left: 50%;
    bottom: -11px;
    margin-left: -5px;
}

.lang-dropdown li > a,
.lang-dropdown li > span {
    padding: 12px;
    color: #fff !important;
    text-decoration: none !important;
    display: block;
}

.lang-dropdown span.shorthand {
    background: #282828;
    width: 24px;
    height: 24px;
    display: inline-block;
    line-height: 24px;
    text-align: center;
    margin: 0 6px;
}

article > *,
.container,
header h1 {
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 50px;
}

header {
    position: relative;
    display: block;
    background-image: url(/header.jpg);
    background-size: cover;
    background-position-y: 30%;
    background-blend-mode: soft-light;
}

header h1 {
    margin: 0 auto 15px auto;
    padding: 50px;
    text-shadow: 0px 0px 1px rgba(0,0,0,0.8);
}

.yellow { 
    background-color: rgb(255, 232, 89);
    box-shadow: 0 0 8px 0 rgba(255, 232, 89, 0.12);
}
.yellow h1 {
    color: black; 
    text-shadow: none;
}
.red { 
    background-color: rgb(226, 107, 68);
    box-shadow: 0 0 8px 0 rgba(226, 107, 68, 0.12);
}
.red h1 { color: white; }
.green { 
    background-color: rgb(137, 187, 79);
    box-shadow: 0 0 8px 0 rgba(137, 187, 79, 0.12);
}
.green h1 { color: white; }
.blue { 
    background-color: rgb(94, 146, 189);
    box-shadow: 0 0 8px 0 rgba(94, 146, 189, 0.12);
}
.blue h1 { color: white; }

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 1.5rem;
    margin-bottom: 0;
    line-height: 1.5rem;
    color: #363636;
}
h1 {
    font-size: 2rem;
    line-height: 3.5rem;
    margin-top: 2.5rem;
}
h2 {
    font-size: 1.7rem;
    line-height: 3rem;
    margin-top: 2rem;
}
h3 {
    font-size: 1.3rem;
}
h4 {
    font-size: 0.707rem;
}
h5 {
    font-size: 0.4713333333333333rem;
}
h6 {
    font-size: 0.3535rem;
}
h2 + h3 {
    margin-top: 0.3rem;
}

main {
    background: #FFF;
    width: 100%;
    position: relative;
    padding: 50px 0;
    flex: 1 1 0;
}

p, ul, ol {
    line-height: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}
ul li,
ol li {
    margin-left: 25px;
    line-height: 1.5rem;
}
ul ul,
ol ul,
ul ol,
ol ol {
    margin-top: 0;
    margin-bottom: 0;
}

dl {
    line-height: 1.2;
}

dt {
    font-weight: bold;
}

hr {
    border: 0;
    height: 1px;
    background: #363636;
    margin: 15px 0;
}

blockquote {
    line-height: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

table {
    margin-top: 1.5rem;
    border-spacing: 0px;
    border-collapse: collapse;
}
table td,
table th {
    padding: 0;
    line-height: 33px;
}

code {
    vertical-align: bottom;
}

a {
    color: #3273dc;
    cursor: pointer;
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: underline;
}

footer {
    background: #363636;
    display: flex;
    flex-shrink: 0;
}

footer .editPage {
    padding: 15px;
    flex: 1 1 0;
}

footer .editPage a {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAANlBMVEUAAADv7+/v7+/v7+/v7+/s7Ozs7Ozt7e3t7e3t7e3s7Ozs7Ozs7Ozs7Ozt7e3t7e3t7e3t7e3ECRl9AAAAEXRSTlMAECAwQFBgkJ+gr7C/wNDv8A/g33EAAABLSURBVHjarchBAoAgDAPBUCqISjX//6xyMnh2bztIGw+DtJMNSWB8OfML/XlSxMZPki5+JP8p4R0qsaCZigNeIdJXR0CzGiyYK+0GziYE48hUzCUAAAAASUVORK5CYII=) no-repeat;
    padding-left: 20px;
}

footer a {
    color: #EDEDED;
}

footer .center {
    padding: 15px;
    text-align: center;
    flex: 1 1 0;
}

footer .lang-dropdown-container {
    flex: 1 1 0;
    padding: 15px;
    text-align: right;
}

footer .lang-dropdown {
    display: inline;
}

.we-are-not-stuwerk {
    border: 1px solid #fa7171;
    border-radius: 2px;
    margin: 5px 0;
    padding: 10px 10px 7px 10px;
    background: #ffdbdb;
    line-height: 1.25;
    color: red;
}

.email {
    font-style: italic;
}

.vorstand ul {
    padding-left: 0;
}