Skip to content

Commit

Permalink
docs: ⚡ ui: apply styles to code block in docs page
Browse files Browse the repository at this point in the history
  • Loading branch information
xandemon committed Dec 15, 2024
1 parent 54c508f commit 896efc3
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions docs/src/styles/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ p {
text-decoration: underline;
}
}
}

code {
padding: 2px 6px;
border-radius: 4px;
background-color: #24292e;
}
code:not(pre code) {
padding: 2px 6px;
border-radius: 4px;
background-color: #24292e;
font-size: 0.8rem;
}

pre {
Expand All @@ -65,7 +66,8 @@ pre {
font-size: 0.9rem;
}

ol, ul {
ol,
ul {
list-style-position: outside;
margin-left: 1.5rem;
}
Expand All @@ -86,7 +88,8 @@ li {
}
}

.contributing-body ol, .contributing-body ul {
.contributing-body ol,
.contributing-body ul {
@apply pt-2;
}

Expand All @@ -96,4 +99,4 @@ li {

.contributing-body a:hover {
@apply text-blue-400 underline;
}
}

0 comments on commit 896efc3

Please sign in to comment.