Update, fix styles

This commit is contained in:
lostinlight 2023-10-30 14:24:32 +03:00
parent c1f926388d
commit 96b57b92ea
7 changed files with 18 additions and 25 deletions

View File

@ -54,7 +54,7 @@
} }
.post__preview:not(.featured) a:focus > p { .post__preview:not(.featured) a:focus > p {
color: $coral; color: $pink;
} }
.post__preview:nth-child(n+4) { .post__preview:nth-child(n+4) {

View File

@ -57,6 +57,7 @@
width: 13px; width: 13px;
height: 13px; height: 13px;
fill: $white; fill: $white;
vertical-align: middle;
} }
@media screen and (max-width: $mq-small) { @media screen and (max-width: $mq-small) {

View File

@ -37,6 +37,7 @@
position: absolute; position: absolute;
width: 190px; width: 190px;
font-family: $font-secondary; font-family: $font-secondary;
font-weight: bold;
display: inline-flex; display: inline-flex;
border-bottom: none; border-bottom: none;
&:active, &:active,

View File

@ -29,6 +29,7 @@
.navbar li { .navbar li {
text-transform: uppercase; text-transform: uppercase;
font-family: $font-secondary; font-family: $font-secondary;
font-weight: bold;
color: $grey; color: $grey;
line-height: 2; line-height: 2;
width: 100%; width: 100%;
@ -121,6 +122,7 @@
width: 120px; width: 120px;
height: 70px; height: 70px;
text-align: center; text-align: center;
font-weight: bold;
} }
.hamburger svg { .hamburger svg {

View File

@ -2,6 +2,7 @@
$white: #ffffff; $white: #ffffff;
$golden: #fecb52; $golden: #fecb52;
$coral: #e93a32; $coral: #e93a32;
$pink: #fe55ba;
$black: #0e0a0c; $black: #0e0a0c;
$asphalt: #171014; $asphalt: #171014;
@ -18,4 +19,5 @@ $peertube: #f1680d;
$misskey: #9fd608; $misskey: #9fd608;
$pixelfed: #6736dd; $pixelfed: #6736dd;
$funkwhale: #009fe3; $funkwhale: #009fe3;
$lemmy: #14854f $lemmy: #14854f;

View File

@ -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; $font-secondary: "secondary", "Georgia", sans-serif;
[class^="icon-"], [class^="icon-"],
@ -9,22 +9,3 @@ $font-secondary: "secondary", "Georgia", sans-serif;
fill: #ffffff; 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;
}

View File

@ -202,7 +202,7 @@ sup {
} }
.contents p:not(.u-nomargin) { .contents p:not(.u-nomargin) {
margin: 2em 0; margin: 1.2em 0;
} }
.contents .section { .contents .section {
@ -359,7 +359,8 @@ sup {
} }
.article-list li:before, .article-list li:before,
.warning-list li:before { .warning-list li:before,
.post li:before {
content: ""; content: "";
width: 7px; width: 7px;
margin: 0 .4em 3px; margin: 0 .4em 3px;
@ -389,7 +390,8 @@ $list: (diaspora, $diaspora),
(misskey, $misskey), (misskey, $misskey),
(lemmy, $lemmy), (lemmy, $lemmy),
(pixelfed, $pixelfed), (pixelfed, $pixelfed),
(funkwhale, $funkwhale); (funkwhale, $funkwhale),
(fediparty, $pink);
@each $tag, $color in $list { @each $tag, $color in $list {
svg.#{$tag} { svg.#{$tag} {
@ -498,6 +500,10 @@ $list: (diaspora, $diaspora),
width: 100%; width: 100%;
} }
.section-hero span:nth-child(2) {
display: block;
}
.section-hero span:last-child { .section-hero span:last-child {
display: none; display: none;
} }