feat: Don't compile bootstrap-icons and normalize into the main stylesheet and instead import it
Get rid of Twi%%er-like verified badge, tweak the OP instance thingy
This commit is contained in:
@ -1,4 +1,3 @@
|
|||||||
.avatar-link.op::after,
|
|
||||||
.instance.op::before,
|
.instance.op::before,
|
||||||
.reblogs::before,
|
.reblogs::before,
|
||||||
.favourites::before {
|
.favourites::before {
|
||||||
@ -54,18 +53,6 @@ section#comments {
|
|||||||
transform: scale(var(--active));
|
transform: scale(var(--active));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.op::after {
|
|
||||||
background-color: var(--primary-color);
|
|
||||||
border-radius: 50%;
|
|
||||||
bottom: -0.25rem;
|
|
||||||
color: var(--light2);
|
|
||||||
display: flex;
|
|
||||||
position: absolute;
|
|
||||||
right: -0.25rem;
|
|
||||||
padding: 0.25rem;
|
|
||||||
content: "\F4B5";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.author {
|
.author {
|
||||||
@ -73,7 +60,7 @@ section#comments {
|
|||||||
cursor: default;
|
cursor: default;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
gap: 0.5rem;
|
gap: 0.25rem;
|
||||||
grid-area: name;
|
grid-area: name;
|
||||||
|
|
||||||
.instance {
|
.instance {
|
||||||
@ -87,13 +74,17 @@ section#comments {
|
|||||||
transition: var(--transition);
|
transition: var(--transition);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 0.8;
|
background-color: var(--fg-muted-2);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.op {
|
&.op {
|
||||||
background-color: var(--primary-color);
|
background-color: unset;
|
||||||
color: var(--light2);
|
color: var(--primary-color);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: var(--primary-color-alpha);
|
||||||
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "\F4B5";
|
content: "\F4B5";
|
||||||
|
@ -8,18 +8,15 @@
|
|||||||
* https://github.com/systemd/systemd/tree/main/docs
|
* https://github.com/systemd/systemd/tree/main/docs
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@use "normalize";
|
|
||||||
|
|
||||||
@use "variables";
|
@use "variables";
|
||||||
|
@use "gnome-hig";
|
||||||
@use "fonts";
|
@use "fonts";
|
||||||
@use "main";
|
@use "main";
|
||||||
|
|
||||||
@use "bootstrap-icons";
|
|
||||||
@use "buttons";
|
@use "buttons";
|
||||||
@use "comments";
|
@use "comments";
|
||||||
@use "crt";
|
@use "crt";
|
||||||
@use "footer";
|
@use "footer";
|
||||||
@use "gnome-hig";
|
|
||||||
@use "johnvertisement";
|
@use "johnvertisement";
|
||||||
@use "links";
|
@use "links";
|
||||||
@use "media";
|
@use "media";
|
||||||
@ -30,5 +27,7 @@
|
|||||||
@use "statements";
|
@use "statements";
|
||||||
@use "tags";
|
@use "tags";
|
||||||
|
|
||||||
|
@import url("normalize.css");
|
||||||
|
@import url("bootstrap-icons.css");
|
||||||
@import url("syntax-theme-dark.css") (prefers-color-scheme: dark);
|
@import url("syntax-theme-dark.css") (prefers-color-scheme: dark);
|
||||||
@import url("syntax-theme-light.css") (prefers-color-scheme: light);
|
@import url("syntax-theme-light.css") (prefers-color-scheme: light);
|
||||||
|
Reference in New Issue
Block a user