anna-uetwiller-architecture/style.css

111 lines
1.4 KiB
CSS
Raw Permalink Normal View History

2020-05-12 16:57:02 +02:00
body {
background-color: #e6e6e6;
margin: 0;
display: grid;
}
2020-05-12 18:12:47 +02:00
@media (min-width: 1025px) {
2020-05-12 16:57:02 +02:00
body {
grid-template-columns: 250px;
grid-template-areas:
'menu title'
'menu content';
}
2020-05-12 17:15:24 +02:00
#navbar {
height: 100vh;
position: fixed;
2020-05-12 18:12:47 +02:00
padding: 1rem;
margin-right: 1rem;
2020-05-12 17:15:24 +02:00
}
2020-05-12 16:57:02 +02:00
}
2020-05-12 18:12:47 +02:00
@media (max-width: 1024px) {
2020-05-12 16:57:02 +02:00
body {
grid-template-areas:
'title'
'menu'
'content';
}
2020-05-12 18:12:47 +02:00
#navbar {
width: 100%;
margin-bottom: 1rem;
}
2020-05-12 16:57:02 +02:00
}
#title {
grid-area: title;
2020-05-12 18:12:47 +02:00
display: flex;
flex-direction: column;
align-items: center;
margin-top: 1rem;
}
#title h1,h2 {
margin: 0;
2020-05-12 16:57:02 +02:00
}
#navbar {
2020-05-12 17:15:24 +02:00
display: flex;
flex-direction: column;
align-items: center;
2020-05-12 16:57:02 +02:00
background-color: #eadecc;
list-style: none;
grid-area: menu;
}
#navbar li:not(:first-child) {
margin-top: 1rem;
}
#navbar li: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;
}
2020-05-12 18:12:47 +02:00
#title {
margin-bottom: 2rem;
}
#title h1 {
font-size: xx-large;
2020-05-12 16:57:02 +02:00
}
2020-05-12 18:12:47 +02:00
#title h2 {
font-size: x-large;
2020-05-12 16:57:02 +02:00
}
2020-05-12 17:15:24 +02:00
.galery {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
2020-05-12 16:57:02 +02:00
.galery a img {
margin: 0.5rem;
}
2020-05-12 18:12:47 +02:00
#contact {
background-color: #f6f1ea;
width: 100%
}
#contact p {
margin: 1rem;
font-size: large;
color: #8c877d
}