Tweak mobile styles

This commit is contained in:
lostinlight 2018-03-21 05:27:07 +03:00
parent 58c59007f6
commit ad2fb089e1
3 changed files with 13 additions and 11 deletions

View file

@ -180,6 +180,12 @@ $taglist: (diaspora, $diaspora),
.post__preview:not(.wanted):not(.featured) {
flex: 100% 0 0;
height: 170px;
height: 200px;
}
}
@media screen and (max-width: $mq-small) {
.contents.chronicles {
padding-top: 7em;
}
}

View file

@ -42,7 +42,6 @@
height: 80px;
flex: 40% 0 0;
border: 3px solid $white;
box-shadow: inset 3px 3px 0 3px white;
border-radius: 50%;
}
@ -305,12 +304,12 @@
@media screen and (max-width: $mq-xsmall) {
.grid__item {
flex: 100% 0 0;
align-self: flex-end;
}
.grid__item__image {
width: 40px;
height: 40px;
margin-left: 4em;
}
.grid__item__image,
@ -318,10 +317,6 @@
flex: initial;
}
.grid__item__title {
margin-top: -1em;
}
.grid__card {
display: none;
}

View file

@ -304,14 +304,15 @@ ol {
.no-js {
position: absolute;
top: 0;
top: 4em;
left: 50%;
transform: translate(-50%, 0);
transform: translateX(-50%);
width: 70%;
background: $grey;
background: $white;
color: $black;
padding: .4em 1em;
text-align: center;
z-index: $zIndex--4;
}
@media screen and (max-width: $mq-medium) {
@ -357,5 +358,5 @@ ol {
@media screen and (max-width: $mq-xsmall) {
body { font-size: 90%; }
.no-js {left: 0; transform: translate(0, 0); width: 100%; padding: .6em 14% .6em 2em; z-index: $zIndex--4;}
.no-js {left: 0; transform: translate(0, 0); width: 100%; padding: .6em 14% .6em 2em;}
}