mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2025-01-09 01:21:06 +00:00
Update, fix styles
This commit is contained in:
parent
c1f926388d
commit
96b57b92ea
|
@ -54,7 +54,7 @@
|
|||
}
|
||||
|
||||
.post__preview:not(.featured) a:focus > p {
|
||||
color: $coral;
|
||||
color: $pink;
|
||||
}
|
||||
|
||||
.post__preview:nth-child(n+4) {
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
width: 13px;
|
||||
height: 13px;
|
||||
fill: $white;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
@media screen and (max-width: $mq-small) {
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
position: absolute;
|
||||
width: 190px;
|
||||
font-family: $font-secondary;
|
||||
font-weight: bold;
|
||||
display: inline-flex;
|
||||
border-bottom: none;
|
||||
&:active,
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
.navbar li {
|
||||
text-transform: uppercase;
|
||||
font-family: $font-secondary;
|
||||
font-weight: bold;
|
||||
color: $grey;
|
||||
line-height: 2;
|
||||
width: 100%;
|
||||
|
@ -121,6 +122,7 @@
|
|||
width: 120px;
|
||||
height: 70px;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.hamburger svg {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
$white: #ffffff;
|
||||
$golden: #fecb52;
|
||||
$coral: #e93a32;
|
||||
$pink: #fe55ba;
|
||||
|
||||
$black: #0e0a0c;
|
||||
$asphalt: #171014;
|
||||
|
@ -18,4 +19,5 @@ $peertube: #f1680d;
|
|||
$misskey: #9fd608;
|
||||
$pixelfed: #6736dd;
|
||||
$funkwhale: #009fe3;
|
||||
$lemmy: #14854f
|
||||
$lemmy: #14854f;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
$font-primary: "primary", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;
|
||||
$font-primary: "Roboto", "Arial", sans-serif;
|
||||
$font-secondary: "secondary", "Georgia", sans-serif;
|
||||
|
||||
[class^="icon-"],
|
||||
|
@ -9,22 +9,3 @@ $font-secondary: "secondary", "Georgia", sans-serif;
|
|||
fill: #ffffff;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "primary";
|
||||
src: url("../fonts/font-primary.woff2") format("woff2"),
|
||||
url("../fonts/font-primary.woff") format("woff"),
|
||||
url("../fonts/font-primary.eot"),
|
||||
url("../fonts/font-primary.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "secondary";
|
||||
src: url("../fonts/font-secondary.woff2") format("woff2"),
|
||||
url("../fonts/font-secondary.woff") format("woff"),
|
||||
url("../fonts/font-secondary.eot"),
|
||||
url("../fonts/font-secondary.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -202,7 +202,7 @@ sup {
|
|||
}
|
||||
|
||||
.contents p:not(.u-nomargin) {
|
||||
margin: 2em 0;
|
||||
margin: 1.2em 0;
|
||||
}
|
||||
|
||||
.contents .section {
|
||||
|
@ -359,7 +359,8 @@ sup {
|
|||
}
|
||||
|
||||
.article-list li:before,
|
||||
.warning-list li:before {
|
||||
.warning-list li:before,
|
||||
.post li:before {
|
||||
content: "";
|
||||
width: 7px;
|
||||
margin: 0 .4em 3px;
|
||||
|
@ -389,7 +390,8 @@ $list: (diaspora, $diaspora),
|
|||
(misskey, $misskey),
|
||||
(lemmy, $lemmy),
|
||||
(pixelfed, $pixelfed),
|
||||
(funkwhale, $funkwhale);
|
||||
(funkwhale, $funkwhale),
|
||||
(fediparty, $pink);
|
||||
|
||||
@each $tag, $color in $list {
|
||||
svg.#{$tag} {
|
||||
|
@ -498,6 +500,10 @@ $list: (diaspora, $diaspora),
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.section-hero span:nth-child(2) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.section-hero span:last-child {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue