2
0
mirror of https://github.com/offen/website.git synced 2024-10-19 04:20:28 +02:00
website/homepage/theme/static/css/style.css

460 lines
8.2 KiB
CSS
Raw Normal View History

2019-05-21 23:01:57 +02:00
@font-face {
font-family: 'Noto Sans';
font-weight: 400;
font-style: normal;
2019-06-27 20:23:31 +02:00
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-400/Noto-Sans-400.eot");
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-400/Noto-Sans-400.eot?#iefix") format("embedded-opentype"), local("Noto Sans"), local("Noto-Sans-400"), url("https://www.offen.dev/theme/fonts/Noto-Sans-400/Noto-Sans-400.woff2") format("woff2"), url("https://www.offen.dev/theme/fonts/Noto-Sans-400/Noto-Sans-400.woff") format("woff"), url("https://www.offen.dev/theme/fonts/Noto-Sans-400/Noto-Sans-400.ttf") format("truetype"), url("https://www.offen.dev/theme/fonts/Noto-Sans-400/Noto-Sans-400.svg#NotoSans") format("svg")
2019-05-21 23:01:57 +02:00
}
@font-face {
font-family: 'Noto Sans';
font-weight: 700;
font-style: normal;
2019-06-27 20:23:31 +02:00
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-700/Noto-Sans-700.eot");
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-700/Noto-Sans-700.eot?#iefix") format("embedded-opentype"), local("Noto Sans Bold"), local("Noto-Sans-700"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700/Noto-Sans-700.woff2") format("woff2"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700/Noto-Sans-700.woff") format("woff"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700/Noto-Sans-700.ttf") format("truetype"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700/Noto-Sans-700.svg#NotoSans") format("svg")
2019-05-21 23:01:57 +02:00
}
@font-face {
font-family: 'Noto Sans';
font-weight: 400;
font-style: italic;
2019-06-27 20:23:31 +02:00
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-italic/Noto-Sans-italic.eot");
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-italic/Noto-Sans-italic.eot?#iefix") format("embedded-opentype"), local("Noto Sans Italic"), local("Noto-Sans-italic"), url("https://www.offen.dev/theme/fonts/Noto-Sans-italic/Noto-Sans-italic.woff2") format("woff2"), url("https://www.offen.dev/theme/fonts/Noto-Sans-italic/Noto-Sans-italic.woff") format("woff"), url("https://www.offen.dev/theme/fonts/Noto-Sans-italic/Noto-Sans-italic.ttf") format("truetype"), url("https://www.offen.dev/theme/fonts/Noto-Sans-italic/Noto-Sans-italic.svg#NotoSans") format("svg")
2019-05-21 23:01:57 +02:00
}
@font-face {
font-family: 'Noto Sans';
font-weight: 700;
font-style: italic;
2019-06-27 20:23:31 +02:00
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot");
src: url("https://www.offen.dev/theme/fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot?#iefix") format("embedded-opentype"), local("Noto Sans Bold Italic"), local("Noto-Sans-700italic"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2") format("woff2"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff") format("woff"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf") format("truetype"), url("https://www.offen.dev/theme/fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg#NotoSans") format("svg")
2019-05-21 23:01:57 +02:00
}
/* Typo
------------------------------------------------------------- */
body {
2019-06-27 10:34:11 +02:00
padding: 50px;
background-color: #fff;
2019-05-21 23:01:57 +02:00
color: #898989;
2019-06-27 10:34:11 +02:00
font: 18px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
2019-05-21 23:01:57 +02:00
font-size: 18px;
2019-06-23 22:21:42 +02:00
line-height: 1.5;
2019-05-21 23:01:57 +02:00
font-weight: 400;
}
h1,
h2,
2019-06-29 20:53:38 +02:00
h3,
h4 {
2019-05-21 23:01:57 +02:00
color: #404040;
font-size: 28px;
line-height: 1.4;
font-weight: 400;
2019-06-23 22:21:42 +02:00
margin: 0 0 40px 0;
2019-05-21 23:01:57 +02:00
}
2019-06-27 10:34:11 +02:00
h3,
h4 {
2019-05-21 23:01:57 +02:00
font-size: 18px;
2019-06-27 10:34:11 +02:00
margin: 30px 0 20px 0;
2019-05-21 23:01:57 +02:00
}
2019-06-30 15:42:40 +02:00
.section-auditorium h3 {
margin: 0 0 10px 0;
}
2019-06-29 20:53:38 +02:00
h4 {
color: #898989;
2019-07-15 08:16:10 +02:00
margin: 30px 0 6px 0;
2019-06-29 20:53:38 +02:00
}
2019-06-27 10:34:11 +02:00
2019-07-15 08:34:21 +02:00
.section-auditorium h4 {
margin: 30px 0 20px 0;
}
2019-05-21 23:01:57 +02:00
/* Links
------------------------------------------------------------- */
a,
a:hover,
a:focus {
color: #898989;
text-decoration: none;
font-weight: 700;
}
h1 a,
h1 a:hover,
h1 a:focus {
color: #f7bf08;
text-decoration: none;
font-weight: 400;
}
small a,
small a:hover,
small a:focus {
color: #898989;
text-decoration: none;
font-weight: 700;
}
sup {
line-height: 1;
}
sup a,
sup a:hover,
sup a:focus {
color: #cfcfcf;
}
ol {
padding-inline-start: 20px;
}
ol li p a,
ol li p a:hover,
ol li p a:focus {
color: #cfcfcf;
}
2019-06-27 10:34:11 +02:00
/* Typo Elements
2019-05-21 23:01:57 +02:00
------------------------------------------------------------- */
.logo {
margin: -20px 0 0 0;
}
2019-06-27 10:34:11 +02:00
blockquote {
border-left: 1px solid #e5e5e5;
margin: 0;
padding: 0 0 0 20px;
font-style: italic
2019-05-21 23:01:57 +02:00
}
hr {
2019-06-27 10:34:11 +02:00
border-top: 1px solid #d5d5d5;
height: 0;
margin: 80px 0 0 0;
2019-05-21 23:01:57 +02:00
}
2019-05-31 10:07:44 +02:00
.footnote hr {
border: 0;
height: 0;
2019-06-27 10:34:11 +02:00
margin: 0;
2019-05-31 10:07:44 +02:00
}
2019-05-21 23:01:57 +02:00
blockquote {
border-left: 1px solid #d5d5d5;
margin: 40px 0 40px 0;
}
2019-06-27 10:34:11 +02:00
strong {
font-weight: 700
}
2019-05-21 23:01:57 +02:00
strong,
2019-06-29 21:28:41 +02:00
h1 strong,
2019-06-29 20:53:38 +02:00
h2 strong,
h3 strong {
2019-05-21 23:01:57 +02:00
color: #404040;
text-decoration: none;
font-weight: 400;
}
2019-06-29 21:28:41 +02:00
h1 strong,
2019-06-29 20:53:38 +02:00
h2 strong,
h3 strong {
2019-05-21 23:01:57 +02:00
color: #898989;
}
2019-06-29 20:53:38 +02:00
tbody,
2019-06-27 10:34:11 +02:00
h4 strong {
color: #404040;
text-decoration: none;
font-weight: 700;
}
2019-06-29 20:53:38 +02:00
h4 strong {
font-size: 36px;
}
2019-06-27 10:34:11 +02:00
2019-06-23 22:21:42 +02:00
/* Buttons
------------------------------------------------------------- */
.btn {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0px;
padding: 6px;
2019-05-21 23:01:57 +02:00
text-align: center;
text-decoration: none;
}
2019-06-23 22:21:42 +02:00
.btn-color-grey,
.btn-color-grey:visited,
.btn-color-grey:link {
background: #fff;
color: #898989;
border: solid #898989 5px;
2019-05-21 23:01:57 +02:00
}
2019-06-23 22:21:42 +02:00
.btn-color-orange,
.btn-color-orange:visited,
.btn-color-orange:link {
background: #fff;
color: #F7BF08;
border: solid #F7BF08 5px;
}
.btn-color-grey:hover,
.btn-color-grey:active {
background: #898989;
color: #fff;
text-decoration: none;
}
.btn-color-orange:hover,
.btn-color-orange:active {
background: #F7BF08;
color: #fff;
text-decoration: none;
}
2019-07-15 08:16:10 +02:00
.btn {
2019-06-23 22:21:42 +02:00
margin: 0 0 15px 0;
}
.button-wrapper {
display: flex;
flex-flow: column wrap;
justify-content: space-around;
}
.button-wrapper:first-of-type {
2019-07-15 08:16:10 +02:00
margin: 60px 0 0 0;
2019-06-23 22:21:42 +02:00
}
@media (min-width: 480px) {
.button-wrapper {
align-items: center;
flex-flow: row wrap;
-ms-flex-flow: row wrap;
-webkit-flex-flow: row wrap;
}
.btn {
flex-grow: 1;
}
2019-07-15 08:16:10 +02:00
.btn {
margin: 0 15px 15px 0;
2019-06-23 22:21:42 +02:00
}
.btn:last-of-type {
2019-07-15 08:16:10 +02:00
margin: 0 0 15px 0;
2019-06-23 22:21:42 +02:00
}
2019-06-27 10:34:11 +02:00
}
2019-06-23 22:21:42 +02:00
2019-06-27 10:34:11 +02:00
/* Custom Underline
------------------------------------------------------------- */
em {
color: #898989;
background: linear-gradient(transparent 66%, #fde28c 66%);
font-style: normal;
2019-06-23 22:21:42 +02:00
}
2019-06-27 10:34:11 +02:00
/* Layout
------------------------------------------------------------- */
.wrapper {
width: 860px;
margin: 0 auto
}
header {
width: 270px;
float: left;
position: fixed;
-webkit-font-smoothing: subpixel-antialiased
}
2019-06-30 15:42:40 +02:00
section,
section-auditorium {
2019-06-27 10:34:11 +02:00
float: right;
width: 600px;
padding: 0 0 40px 0;
}
2019-06-30 15:42:40 +02:00
section > p,
section-auditorium > p {
2019-06-27 10:34:11 +02:00
margin: 0 0 20px 0;
}
2019-06-30 15:42:40 +02:00
section > p:last-child,
section-auditorium > p:last-child {
2019-06-27 10:34:11 +02:00
margin: 0 0 60px 0;
}
2019-06-29 20:53:38 +02:00
.row {
display: flex;
justify-content: flex-start;
}
.row h4:first-child {
margin-right: 30px;
}
/* Tables
------------------------------------------------------------- */
.table-full-width {
box-sizing: border-box
}
td {
padding-right: 30px;
}
2019-06-27 10:34:11 +02:00
2019-06-23 22:21:42 +02:00
/* Footer
------------------------------------------------------------- */
2019-06-27 10:34:11 +02:00
footer {
width: 270px;
float: left;
position: fixed;
bottom: 100px;
-webkit-font-smoothing: subpixel-antialiased
}
2019-06-23 22:21:42 +02:00
2019-05-31 10:07:44 +02:00
.footnote {
2019-05-21 23:01:57 +02:00
color: #d5d5d5;
font-size: 14px;
2019-06-27 10:34:11 +02:00
margin: 20px 0 0 0;
2019-05-21 23:01:57 +02:00
}
2019-05-31 10:07:44 +02:00
.footnote ol {
2019-06-27 10:34:11 +02:00
margin-bottom: 0;
2019-05-21 23:01:57 +02:00
}
.footer-list {
list-style-type: none;
padding: 0;
margin: 0;
}
.footer-list li {
display: inline-block;
font-size: 14px;
margin-right: 0.14em;
}
2019-06-27 10:34:11 +02:00
/* Media Queries
2019-05-21 23:01:57 +02:00
------------------------------------------------------------- */
2019-06-27 10:34:11 +02:00
@media screen and (max-width: 960px) {
div.wrapper {
width: auto;
margin: 0
}
header,
section,
2019-06-30 15:42:40 +02:00
section-auditorium,
2019-06-27 10:34:11 +02:00
footer {
float: none;
position: static;
width: auto
}
header {
padding-right: 320px
2019-05-21 23:01:57 +02:00
}
2019-06-30 15:42:40 +02:00
section,
section-auditorium {
2019-05-21 23:01:57 +02:00
border: none;
width: auto;
padding: 0 0 0 0;
2019-06-23 22:21:42 +02:00
margin: 40px 0 40px 0;
2019-05-21 23:01:57 +02:00
}
2019-06-30 15:42:40 +02:00
section > p:first-child,
section > p:last-child,
section-auditorium > p:first-child,
section-auditorium > p:last-child {
2019-06-27 10:34:11 +02:00
margin: 0 0 40px 0;
}
}
2019-05-21 23:01:57 +02:00
2019-06-29 20:53:38 +02:00
@media screen and (max-width: 480px) {
2019-06-27 10:34:11 +02:00
body {
2019-06-29 20:53:38 +02:00
font-size: 14px;
line-height: 1.3;
padding: 15px;
word-wrap: break-word;
2019-06-27 10:34:11 +02:00
}
2019-06-29 20:53:38 +02:00
h1,
h2 {
font-size: 20px;
line-height: 1.3;
margin: 0 0 20px 0;
2019-06-27 10:34:11 +02:00
}
2019-06-29 20:53:38 +02:00
h3,
h4 {
font-size: 14px;
line-height: 1.3;
margin: 30px 0 15px 0;
2019-06-27 10:34:11 +02:00
}
2019-06-29 20:53:38 +02:00
h4 strong {
font-size: 28px;
}
header {
padding: 0
2019-06-27 10:34:11 +02:00
}
2019-05-21 23:01:57 +02:00
.logo {
margin: 0;
}
2019-06-29 20:53:38 +02:00
hr {
margin: 60px 0 0 0;
}
blockquote {
margin: 15px 0 15px 0;
}
.row {
justify-content: space-between;
}
.row h4:first-child {
margin-right: 0;
}
.table-full-width {
width: 100%;
}
td {
padding-right: 0;
}
2019-05-21 23:01:57 +02:00
}
2019-06-23 22:21:42 +02:00
2019-06-29 20:53:38 +02:00
/* AUDITORIUM QUICK FIX
2019-06-23 22:21:42 +02:00
------------------------------------------------------------- */
2019-06-29 20:53:38 +02:00
.bottom {
display: block;
margin: 60px;
2019-06-27 10:34:11 +02:00
}