mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-22 08:31:28 +00:00
Tweak mobile styles
This commit is contained in:
parent
58c59007f6
commit
ad2fb089e1
|
@ -180,6 +180,12 @@ $taglist: (diaspora, $diaspora),
|
||||||
|
|
||||||
.post__preview:not(.wanted):not(.featured) {
|
.post__preview:not(.wanted):not(.featured) {
|
||||||
flex: 100% 0 0;
|
flex: 100% 0 0;
|
||||||
height: 170px;
|
height: 200px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: $mq-small) {
|
||||||
|
.contents.chronicles {
|
||||||
|
padding-top: 7em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
height: 80px;
|
height: 80px;
|
||||||
flex: 40% 0 0;
|
flex: 40% 0 0;
|
||||||
border: 3px solid $white;
|
border: 3px solid $white;
|
||||||
box-shadow: inset 3px 3px 0 3px white;
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -305,12 +304,12 @@
|
||||||
@media screen and (max-width: $mq-xsmall) {
|
@media screen and (max-width: $mq-xsmall) {
|
||||||
.grid__item {
|
.grid__item {
|
||||||
flex: 100% 0 0;
|
flex: 100% 0 0;
|
||||||
|
align-self: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid__item__image {
|
.grid__item__image {
|
||||||
width: 40px;
|
width: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
margin-left: 4em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid__item__image,
|
.grid__item__image,
|
||||||
|
@ -318,10 +317,6 @@
|
||||||
flex: initial;
|
flex: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
.grid__item__title {
|
|
||||||
margin-top: -1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.grid__card {
|
.grid__card {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -304,14 +304,15 @@ ol {
|
||||||
|
|
||||||
.no-js {
|
.no-js {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 4em;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, 0);
|
transform: translateX(-50%);
|
||||||
width: 70%;
|
width: 70%;
|
||||||
background: $grey;
|
background: $white;
|
||||||
color: $black;
|
color: $black;
|
||||||
padding: .4em 1em;
|
padding: .4em 1em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
z-index: $zIndex--4;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: $mq-medium) {
|
@media screen and (max-width: $mq-medium) {
|
||||||
|
@ -357,5 +358,5 @@ ol {
|
||||||
@media screen and (max-width: $mq-xsmall) {
|
@media screen and (max-width: $mq-xsmall) {
|
||||||
body { font-size: 90%; }
|
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;}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue