views: factor out FontAwesome icons.

Factor out FontAwesome icons into a set of helpers. This is so that it's
easier to keep track of which icons we're using and easier to change
icons globally.
This commit is contained in:
evazion
2021-01-21 04:12:13 -06:00
parent 748fcdddcf
commit 63e3b4b447
29 changed files with 199 additions and 73 deletions

View File

@@ -5,12 +5,6 @@ div#page {
margin: 0 20px;
padding: 0 10px;
aside#sidebar {
#options-box i.fa-bookmark {
margin-right: 0.25em;
}
}
aside#sidebar > section {
margin-bottom: 1em;
}

View File

@@ -79,7 +79,7 @@ div#c-posts {
}
}
#remove-fav-button i.fa-heart {
form#remove-fav-button button:not([disabled]) i.icon {
color: var(--remove-favorite-button);
}
@@ -364,7 +364,7 @@ div#c-posts, div#c-uploads {
display: inline-block;
}
i.fa-external-link-alt {
i#open-edit-dialog {
font-size: var(--text-xs);
}