mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-13 08:44:51 -06:00

* Add a background-color to img elements in docs to ensure readability in dark mode * Limit style changes to those within CMS content blocks; update colors of main netbox_logo.svg * Add a white stroke to the main logo * Add light & dark mode versions of the NetBox logo --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
34 lines
571 B
CSS
34 lines
571 B
CSS
/* Images */
|
|
img {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.md-content img {
|
|
background-color: rgba(255, 255, 255, 0.64);
|
|
}
|
|
|
|
/* Tables */
|
|
table {
|
|
margin-bottom: 24px;
|
|
width: 100%;
|
|
}
|
|
th {
|
|
padding: 6px;
|
|
font-weight: bold;
|
|
}
|
|
td {
|
|
padding: 6px;
|
|
}
|
|
/* Remove table header coloring. */
|
|
.md-typeset table:not([class]) th {
|
|
color: unset !important;
|
|
background-color: unset !important;
|
|
}
|
|
thead tr {
|
|
/* Colorize table headers. */
|
|
background-color: var(--md-code-bg-color);
|
|
color: var(--md-code-fg-color);
|
|
}
|