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:
@ -1,9 +0,0 @@
|
||||
.avatar {
|
||||
margin: auto;
|
||||
max-width: 148px;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
border-radius: 10px;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user