mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 10:58:37 -06:00
Reduce base font size
This commit is contained in:
parent
b235f2dd53
commit
001c6b0ef8
BIN
netbox/project-static/dist/netbox-dark.css
vendored
BIN
netbox/project-static/dist/netbox-dark.css
vendored
Binary file not shown.
BIN
netbox/project-static/dist/netbox-light.css
vendored
BIN
netbox/project-static/dist/netbox-light.css
vendored
Binary file not shown.
@ -7,6 +7,7 @@
|
|||||||
body {
|
body {
|
||||||
color: var(--nbx-body-color);
|
color: var(--nbx-body-color);
|
||||||
background-color: var(--nbx-body-bg);
|
background-color: var(--nbx-body-bg);
|
||||||
|
font-size: $font-size-sm;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
@ -17,34 +18,11 @@ pre {
|
|||||||
border-radius: $border-radius;
|
border-radius: $border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
form,
|
|
||||||
.form-control {
|
|
||||||
font-size: 0.875rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Force <small/> elements to make text smaller.
|
// Force <small/> elements to make text smaller.
|
||||||
small {
|
small {
|
||||||
font-size: smaller !important;
|
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.
|
// Fix the hideous way Safari shows button anchor elements.
|
||||||
a[type='button'] {
|
a[type='button'] {
|
||||||
-webkit-appearance: unset !important;
|
-webkit-appearance: unset !important;
|
||||||
@ -56,3 +34,7 @@ a[type='button'] {
|
|||||||
*[data-href] {
|
*[data-href] {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-control {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
@ -104,7 +104,7 @@
|
|||||||
<div class="row align-items-center justify-content-between mx-0">
|
<div class="row align-items-center justify-content-between mx-0">
|
||||||
|
|
||||||
{# Docs & Community Links #}
|
{# Docs & Community Links #}
|
||||||
<div class="col-sm-12 col-md-auto">
|
<div class="col-sm-12 col-md-auto fs-4">
|
||||||
<nav class="nav justify-content-center justify-content-lg-start">
|
<nav class="nav justify-content-center justify-content-lg-start">
|
||||||
{# Documentation #}
|
{# Documentation #}
|
||||||
<a type="button" class="nav-link" href="{% static 'docs/' %}" target="_blank">
|
<a type="button" class="nav-link" href="{% static 'docs/' %}" target="_blank">
|
||||||
@ -141,7 +141,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{# System Info #}
|
{# System Info #}
|
||||||
<div class="col-sm-12 col-md-auto text-center text-lg-end small text-muted">
|
<div class="col-sm-12 col-md-auto text-center text-lg-end text-muted">
|
||||||
<span class="d-block d-md-inline">{% annotated_now %} {% now 'T' %}</span>
|
<span class="d-block d-md-inline">{% annotated_now %} {% now 'T' %}</span>
|
||||||
<span class="ms-md-3 d-block d-md-inline">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</span>
|
<span class="ms-md-3 d-block d-md-inline">{{ settings.HOSTNAME }} (v{{ settings.VERSION }})</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user