121 lines
1.9 KiB
CSS
121 lines
1.9 KiB
CSS
|
|
/* RESPONSIVE DESIGN */
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
html {
|
|
font-size: var(--small-font-size);
|
|
}
|
|
.container_main {
|
|
flex-direction: column;
|
|
}
|
|
.container_main > * {
|
|
margin: 20px;
|
|
}
|
|
.aside_left {
|
|
position: relative;
|
|
}
|
|
/*NAVBAR*/
|
|
nav.navbar {
|
|
flex-direction: column;
|
|
height: auto;
|
|
}
|
|
.navbar .nav_left a {
|
|
display: none;
|
|
margin-left: 0px;
|
|
width: 100%;
|
|
}
|
|
.navbar .nav_left a p {
|
|
margin-left: 20px;
|
|
}
|
|
.navbar .nav_right {
|
|
display: none;
|
|
}
|
|
.navbar .nav_left a#nav_logo {
|
|
display: flex;
|
|
margin-bottom: 0px;
|
|
width: auto;
|
|
}
|
|
.navbar .nav_left {
|
|
flex-direction: column;
|
|
height: auto;
|
|
}
|
|
.navbar .nav_right {
|
|
margin: 20px 0px 20px 27px;
|
|
width: 150px;
|
|
}
|
|
/*burger menu*/
|
|
nav.navbar input#burger {
|
|
display: none;
|
|
}
|
|
nav.navbar .burger {
|
|
position: absolute;
|
|
right: 0px;
|
|
top: 0px;
|
|
height: 100%;
|
|
width: 50%;
|
|
cursor: pointer;
|
|
}
|
|
nav.navbar .burger::before {
|
|
content: "";
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 10px;
|
|
width: 26px;
|
|
height: 14px;
|
|
border-top: 2px solid lightgrey;
|
|
border-bottom: 2px solid lightgrey;
|
|
}
|
|
nav.navbar .burger::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 20px;
|
|
top: 18px;
|
|
width: 26px;
|
|
height: 2px;
|
|
border-top: 2px solid lightgrey;
|
|
}
|
|
nav.navbar #burger:checked ~ .nav_right {
|
|
display: flex;
|
|
}
|
|
nav.navbar #burger:checked ~ .nav_left a {
|
|
display: flex;
|
|
}
|
|
nav.navbar #burger:checked ~ .nav_left a#nav_logo {
|
|
display: flex;
|
|
margin-bottom: 40px;
|
|
}
|
|
/*MAIN*/
|
|
main {
|
|
max-width: 90%;
|
|
}
|
|
main .image {
|
|
flex-wrap: wrap;
|
|
}
|
|
main .image img {
|
|
margin-bottom: 20px;
|
|
}
|
|
.image h1, .image h2, .image h3, .image p {
|
|
margin-left: 0px;
|
|
}
|
|
/*INDEX*/
|
|
.logo_links#index_links {
|
|
flex-direction: column;
|
|
}
|
|
body#body_index {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
main#index {
|
|
height: auto;
|
|
}
|
|
.logo_links#index_links h3 {
|
|
margin: 10px auto;
|
|
}
|
|
.logo_links#index_links {
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
|