Skip to content

Commit

Permalink
Adds tag styling changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethormandy committed Nov 14, 2024
1 parent a22d03e commit d0a7a87
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
--ifm-hero-background-color: var(--ifm-background-color);
--ifm-menu-link-padding-horizontal: 0.75em;
--ifm-toc-border-color: hsl(276, 20%, 90%);
--docusaurus-tag-list-border: var(--ifm-toc-border-color) !important;
/* --ifm-toc-padding-vertical: 0.65rem; */
/* --ifm-toc-padding-horizontal: 0.5rem; */

Expand Down Expand Up @@ -137,6 +138,10 @@ html[data-theme='dark'] {
padding-left: 0;
}

.clean-list li a {
line-height: calc(var(--ifm-line-height-base) - 0.1);
}

.menu {
font-weight: normal;
}
Expand Down Expand Up @@ -308,6 +313,39 @@ h3 {
margin-bottom: calc(var(--ifm-paragraph-margin-bottom) * 1);
}

/* Blog Post – Tags, that are impractical to swizzle */

.markdown + footer > .col > b,
.theme-blog-footer-edit-meta-row > .col > b {
font-weight: normal;
display: none;
}

.markdown + footer > .col > b + ul,
.theme-blog-footer-edit-meta-row > .col > b + ul {
margin-left: 0 !important;
}

.markdown + footer > .col > b + ul::before,
.theme-blog-footer-edit-meta-row > .col > b + ul::before {
content: "Tags ";
padding-right: 0.2em;
font-size: 0.8em;
}

.markdown + footer > .col > b + ul > li > a,
.theme-blog-footer-edit-meta-row > .col > b + ul > li > a {
padding: 0.2em 0.5em;
border-radius: 4px;
user-select: none;
}

/* Blog Post – Author */

.avatar__subtitle {
margin-top: 0;
}

/* Promo – Max width for newsletter block */

.col--promo {
Expand Down

0 comments on commit d0a7a87

Please sign in to comment.