107 lines
1.4 KiB
SCSS
107 lines
1.4 KiB
SCSS
|
@import 'reset';
|
||
|
|
||
|
body {
|
||
|
background-color: #e6e6e6;
|
||
|
margin: 0;
|
||
|
display: grid;
|
||
|
}
|
||
|
|
||
|
@media (min-width: 1025px) {
|
||
|
body {
|
||
|
grid-template-columns: 250px;
|
||
|
grid-template-areas: 'menu title' 'menu content';
|
||
|
}
|
||
|
|
||
|
#navbar {
|
||
|
height: 100vh;
|
||
|
position: fixed;
|
||
|
padding: 1rem;
|
||
|
margin-right: 1rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (max-width: 1024px) {
|
||
|
body {
|
||
|
grid-template-areas: 'title' 'menu' 'content';
|
||
|
}
|
||
|
|
||
|
#navbar {
|
||
|
width: 100%;
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#title {
|
||
|
grid-area: title;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
margin-top: 1rem;
|
||
|
margin-bottom: 2rem;
|
||
|
|
||
|
h1 {
|
||
|
margin: 0;
|
||
|
font-size: xx-large;
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
margin: 0;
|
||
|
font-size: x-large;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#navbar {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
background-color: #eadecc;
|
||
|
list-style: none;
|
||
|
grid-area: menu;
|
||
|
|
||
|
li {
|
||
|
&:not(:first-child) {
|
||
|
margin-top: 1rem;
|
||
|
}
|
||
|
|
||
|
&:last-child {
|
||
|
margin-bottom: 1rem;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#logo {
|
||
|
width: 150px;
|
||
|
}
|
||
|
|
||
|
#content {
|
||
|
grid-area: content;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
}
|
||
|
|
||
|
h1, h2, h3 {
|
||
|
color: #8c877d;
|
||
|
}
|
||
|
|
||
|
.galery {
|
||
|
display: flex;
|
||
|
justify-content: center;
|
||
|
flex-wrap: wrap;
|
||
|
|
||
|
a img {
|
||
|
margin: 0.5rem;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#contact {
|
||
|
background-color: #f6f1ea;
|
||
|
width: 100%;
|
||
|
|
||
|
p {
|
||
|
margin: 1rem;
|
||
|
font-size: large;
|
||
|
color: #8c877d;
|
||
|
}
|
||
|
}
|