0
mirror of https://github.com/valentineus/popov.link.git synced 2025-07-04 08:30:27 +03:00

Updated site styles

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-01-23 11:54:12 +04:00
parent d489110896
commit 20a83cfb4a
7 changed files with 29 additions and 73 deletions

View File

@ -1,9 +0,0 @@
.avatar {
margin: auto;
max-width: 148px;
text-align: center;
img {
border-radius: 10px;
}
}

View File

@ -4,47 +4,11 @@
*::after,
*::before {
@include text-size-adjust(100%);
box-sizing: border-box;
}
html {
background-color: $color-html;
height: 100%;
overflow-y: scroll;
}
body {
display: flex;
flex-direction: row;
min-height: 100%;
}
.container {
flex: 75%;
padding-right: 16px;
}
.sidebar {
border-left: 1px solid $color-bg-alt;
flex: 25%;
height: 100%;
padding-left: 16px;
}
@media (max-width: 684px) {
body {
flex-direction: column;
}
.container {
flex: 100%;
padding-right: 0;
}
.sidebar {
border: 0;
display: none;
flex: 100%;
padding-left: 0;
}
}