hugo_idunn/static/css/media-queries.css

63 lines
1.1 KiB
CSS
Raw Normal View History

2020-04-27 16:49:21 +02:00
/******************* Main layout *******************/
@media screen and (max-width: 768px) {
.post {
margin-bottom: calc(-1 * var(--footer-height-block));
}
.post_body {
margin: 0 1em;
}
.post:after {
height: var(--footer-height-block);
}
.footer {
height: var(--footer-height-block);
padding: 1em 0;
}
.footer address {
display: block;
}
.footer p {
line-height: 2em;
}
.front-screen {
margin-left: 1em;
padding-left: 0;
}
.section {
width: 100%;
padding: 1em 1em;
}
}
/******************* Navbar Menu *******************/
@media only screen and (min-width: 768px) {
2020-04-27 21:59:24 +02:00
2020-04-27 16:49:21 +02:00
#navigation-list {
position: relative;
float: right;
top: 0;
max-height: none;
visibility: visible;
opacity: 100;
width: auto;
border: none;
font-size: 1em;
margin-top: 0;
}
#navigation-list .navigation-item {
display: inline-block;
line-height: 4rem;
}
#navigation-list .navigation-item a,
#navigation-list .navigation-item span {
line-height: 1rem;
}
#menu-toggle:checked + label + ul {
visibility: visible;
opacity: 1;
}
#navigation .menu-button {
display: none;
}
}