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:
+6
-4
@@ -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
@@ -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 {
|
||||
|
||||
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user