Files
runosaari.net/assets/css/layout.scss
2021-04-25 01:31:53 +03:00

95 lines
1.4 KiB
SCSS

body {
background-color: white;
font-family: 'Crimson Text', sans-serif;
text-shadow: 3px 3px 3px #ababab;
color: #2f273e;
}
header {
.nav {
display: flex;
justify-content: center;
a {
padding: 15px;
color: #2f273e;
text-decoration: none;
}
a:hover {
background-image: linear-gradient(to bottom, rgba(255, 0, 0, 0), #d5caf2);
text-decoration: underline;
}
}
}
main {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
min-height: 500px;
}
footer {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 30px;
.container {
display: flex;
justify-content: space-between;
width: 50%;
align-items: start;
.middle img {
max-width: 55px;
margin-top: 10px;
}
.right {
text-align: right;
}
}
.mobile-middle {
visibility: hidden;
img {
max-width: 55px;
margin-top: 10px;
}
}
img:hover {
border-radius: 50%;
border: solid 2px;
}
}
@media screen and (max-width: 600px) {
footer {
.container {
width: 95% !important;
flex-direction: column;
align-items: center;
margin-top: 20px;
margin-bottom: 20px;
div {
text-align: center !important;
}
.middle {
visibility: hidden;
max-height: 15px;
}
}
.mobile-middle {
visibility: visible;
}
}
}