1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Reduce base font size

This commit is contained in:
jeremystretch
2021-08-13 11:17:37 -04:00
parent 7727ec91f4
commit 0609bcaaf0
4 changed files with 9 additions and 27 deletions

View File

@@ -7,6 +7,7 @@
body {
color: var(--nbx-body-color);
background-color: var(--nbx-body-bg);
font-size: $font-size-sm;
}
pre {
@@ -17,34 +18,11 @@ pre {
border-radius: $border-radius;
}
form,
.form-control {
font-size: 0.875rem;
}
// Force <small/> elements to make text smaller.
small {
font-size: smaller !important;
}
h1 {
font-weight: $font-weight-bolder;
}
h2 {
font-weight: $font-weight-bold;
}
h3,
h4 {
font-weight: $font-weight-medium;
}
h5,
h6 {
font-weight: $font-weight-medium;
}
// Fix the hideous way Safari shows button anchor elements.
a[type='button'] {
-webkit-appearance: unset !important;
@@ -56,3 +34,7 @@ a[type='button'] {
*[data-href] {
cursor: pointer;
}
.form-control {
font-size: inherit;
}