1
0
Fork 0
web-jbeyerstedt/assets/css/main.css

222 lines
4.5 KiB
CSS
Raw Normal View History

/* STYLE for jannikbeyerstedt.de
* generic styles
*/
body {
margin: 0;
font-family: 'Alegreya Sans', "Verdana", "Arial", sans-serif;
min-width: 300px; }
h1, h2, h3, h4 {
margin-bottom: 18px;
font-family: 'Crimson Text', serif; }
h5 {
margin-bottom: 8px; }
h6 {
margin-bottom: 5px; }
p {
margin-top: 0;
line-height: 1.5em; }
main div.container {
margin-top: 10px; }
@media (min-width: 992px) {
main div.container {
max-width: 940px; } }
header {
margin-bottom: 10px; }
header img {
width: 75px;
height: 75px;
float: left; }
nav {
box-sizing: border-box; }
nav ul.nav {
margin: 0;
padding-left: 0; }
nav ul.nav a {
text-decoration: none;
background-color: inherit;
color: inherit; }
nav ul.nav li {
list-style-type: none; }
nav ul.nav a:hover, nav ul.nav a:focus {
text-decoration: none; }
@media (min-width: 544px) {
nav {
float: right;
height: 75px; }
nav ul.nav a {
float: left;
text-align: center;
font-size: 16px;
padding: 45px 0 5px;
width: 109px; }
nav ul.nav a:hover, nav ul.nav a:focus, nav ul.nav a.active {
color: #fff;
background-color: #0060e3; }
nav ul.nav.home {
color: #fff; }
nav ul.nav.home a {
background-color: #1779ff;
border-right: 1px solid #0055ca; }
nav ul.nav.home a:last-child {
border-right: 0; }
nav ul.nav.home a.active {
color: #fff;
border-bottom: 4px solid #2da301;
padding-bottom: 1px; }
nav ul.nav.main, nav ul.nav.second {
height: 37.5px; }
nav ul.nav.main a, nav ul.nav.second a {
padding: 8px 0 5.5px; }
nav ul.nav.main {
color: #1779ff; }
nav ul.nav.main a.active {
color: #fff;
border-bottom: 4px solid #2da301;
padding-bottom: 1.5px; }
nav ul.nav.second {
color: #fff; }
nav ul.nav.second a {
background-color: #1779ff; }
nav ul.nav.second a.active {
border-bottom: 4px solid #2da301;
padding-bottom: 1.5px; } }
@media (max-width: 543px) {
nav button.navbar-toggler {
float: right;
margin-top: 10px;
font-family: inherit;
font-weight: 300; }
nav ul.mobileNav a {
font-size: 18px;
font-weight: 300; }
nav ul.mobileNav a.active {
color: #4a96ff;
font-weight: 700; }
.navbar-toggler {
padding: 0.5rem 0.75rem;
font-size: 1.25rem;
line-height: 1;
background: none;
border: 1px solid transparent;
border-radius: 0.25rem; }
.navbar-toggler:focus,
.navbar-toggler:hover {
text-decoration: none; } }
footer {
margin-top: 20px;
padding-top: 20px;
padding-bottom: 20px;
background-color: #bebebe;
color: #000; }
footer p {
margin-bottom: 0; }
@media (max-width: 543px) {
footer {
text-align: center; }
footer p {
margin-bottom: 10px; } }
footer i.fa {
color: #000;
font-size: 1.4rem;
padding-right: 0.2em; }
footer a > svg {
height: 1.4rem;
width: 1.4rem;
position: relative;
top: 0.18rem; }
footer a > svg image {
height: 1.4rem;
width: 1.4rem; }
/* make footer sticky */
html {
position: relative;
min-height: 100%; }
@media (min-width: 544px) {
body {
/* Margin bottom by footer height */
margin-bottom: 85px; }
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 85px; } }
@media (max-width: 543px) {
body {
/* Margin bottom by footer height */
margin-bottom: 162px; }
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 162px; } }
/*
* HELPERS
*/
.right {
text-align: right; }
.center {
text-align: center; }
@media (max-width: 543px) {
.col-xxs-12.right, .col-xxs-12.center {
text-align: inherit; } }
/* to break down col-xs */
.visible-xxs {
display: none !important; }
@media (max-width: 543px) {
.col-xxs-12 {
float: none;
width: 100%;
position: relative;
left: 0;
right: 0;
min-height: 1px;
padding-right: 15px;
padding-left: 15px; }
.hidden-xxs {
display: none !important; }
.visible-xxs {
display: block !important; } }
/*
* KIRBYTAGS
*/
.html5player {
width: 100%;
height: auto;
background-color: black; }
div.video-container {
position: relative;
width: 100%;
height: auto;
max-width: 100%;
padding-bottom: 53%;
padding-top: 30px;
overflow: hidden; }
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%; }
/*# sourceMappingURL=main.css.map */