mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-25 10:01:27 +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) {
|
||||
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;
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -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;}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue