Skip to content

Commit

Permalink
Refactor CSS to use Bootstrap variables
Browse files Browse the repository at this point in the history
Updated `.ul-tag-mgr li a` in `admin.css` to use Bootstrap variables for `background-color` and `color`. Removed `--gray-4` variable from `base.css`. Cleaned up `post.css` by removing `color` and `line-height` properties for blockquote elements that used `--gray-4`.
  • Loading branch information
EdiWang committed Sep 15, 2024
1 parent a900f0a commit 424e677
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Moonglade.Web/wwwroot/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ div.mce-fullscreen {
}

.ul-tag-mgr li a {
background-color: var(--gray-2);
color: var(--gray-4);
background-color: var(--bs-gray-200);
color: var(--bs-gray-dark);
cursor: pointer;
display: inline-block;
font-size: 16px;
Expand Down
1 change: 0 additions & 1 deletion src/Moonglade.Web/wwwroot/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
--gray-1: #FAFAFA;
--gray-2: #EEE;
--gray-3: #CCC;
--gray-4: #777;
}

::selection {
Expand Down
3 changes: 0 additions & 3 deletions src/Moonglade.Web/wwwroot/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ h1.post-title,
.post-content blockquote footer,
.post-content blockquote small,
.post-content blockquote .small {
color: var(--gray-4);
display: block;
font-size: 80%;
line-height: 1.42857143;
}

.comment-list .thumbnail {
Expand Down

0 comments on commit 424e677

Please sign in to comment.