Website: update <code> styles on markdown article pages (#45161)

Related to: https://github.com/fleetdm/fleet/issues/42652

Changes:
- Updated the styles for `<code>` elements on Markdown article pages to
match handbook and documentation pages.
This commit is contained in:
Eric
2026-05-11 12:23:55 -05:00
committed by GitHub
parent 42210d0a96
commit c9690ca3d7
4 changed files with 24 additions and 16 deletions
+6 -4
View File
@@ -598,12 +598,14 @@
text-decoration: inherit;
}
code:not(.bash):not(.hljs):not(.nohighlight):not(.mermaid) {
background: #F1F0FF;
padding: 4px 8px;
font-family: @code-font;
background-color: @ui-off-white;
border: 1px solid @border-lt-gray;
color: @core-fleet-black-75;
font-size: 13px;
padding: 2px 6px;
line-height: 16px;
color: @core-fleet-black;
font-weight: 400;
border-radius: 4px;
}
pre {
code {
+6 -4
View File
@@ -410,12 +410,14 @@
text-decoration: inherit;
}
code:not(.bash):not(.hljs):not(.nohighlight):not(.mermaid) {
background: #F1F0FF;
padding: 4px 8px;
font-family: @code-font;
background-color: @ui-off-white;
border: 1px solid @border-lt-gray;
color: @core-fleet-black-75;
font-size: 13px;
padding: 2px 6px;
line-height: 16px;
color: @core-fleet-black;
font-weight: 400;
border-radius: 4px;
}
pre {
code {
+6 -4
View File
@@ -354,12 +354,14 @@
text-decoration: inherit;
}
code:not(.bash):not(.hljs):not(.nohighlight):not(.mermaid) {
background: #F1F0FF;
padding: 4px 8px;
font-family: @code-font;
background-color: @ui-off-white;
border: 1px solid @border-lt-gray;
color: @core-fleet-black-75;
font-size: 13px;
padding: 2px 6px;
line-height: 16px;
color: @core-fleet-black;
font-weight: 400;
border-radius: 4px;
}
pre {
code {
+6 -4
View File
@@ -421,12 +421,14 @@
text-decoration: inherit;
}
code:not(.bash):not(.hljs):not(.nohighlight):not(.mermaid) {
background: #F1F0FF;
padding: 4px 8px;
font-family: @code-font;
background-color: @ui-off-white;
border: 1px solid @border-lt-gray;
color: @core-fleet-black-75;
font-size: 13px;
padding: 2px 6px;
line-height: 16px;
color: @core-fleet-black;
font-weight: 400;
border-radius: 4px;
}
pre {
code {