mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-02 01:25:50 +00:00
Use Roboto Mono for code font
This commit is contained in:
@@ -4,6 +4,11 @@ body {
|
||||
font-family: Roboto, sans-serif;
|
||||
}
|
||||
|
||||
code,
|
||||
pre {
|
||||
font-family: "Roboto Mono", monospace;
|
||||
}
|
||||
|
||||
td {
|
||||
border: 1px solid #dbdde2;
|
||||
padding: 0.2em;
|
||||
|
||||
BIN
assets/font/Roboto-Mono.woff2
Normal file
BIN
assets/font/Roboto-Mono.woff2
Normal file
Binary file not shown.
10
assets/vendor/bootstrap.css
vendored
10
assets/vendor/bootstrap.css
vendored
@@ -19,6 +19,13 @@
|
||||
src: url("../font/Roboto-Bold.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url("../font/Roboto-Mono.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
|
||||
|
||||
/*!
|
||||
* Bootstrap v4.1.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2018 The Bootstrap Authors
|
||||
@@ -6289,4 +6296,5 @@ a.text-dark:hover, a.text-dark:focus {
|
||||
border: 1px solid #dee2e6 !important; } }
|
||||
|
||||
:root {
|
||||
--font-family-sans-serif: 'Roboto', sans-serif; }
|
||||
--font-family-sans-serif: 'Roboto', sans-serif;
|
||||
--font-family-monospace: 'Roboto Mono', monospace; }
|
||||
|
||||
@@ -29,6 +29,13 @@ $navbar-nav-link-padding-x: 1rem;
|
||||
src: url("../font/Roboto-Bold.woff2") format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Roboto Mono';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url("../font/Roboto-Mono.woff2") format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
|
||||
|
||||
// Bootstrap v4
|
||||
@@ -37,4 +44,5 @@ $navbar-nav-link-padding-x: 1rem;
|
||||
// CSS overrides
|
||||
:root {
|
||||
--font-family-sans-serif: 'Roboto', sans-serif;
|
||||
--font-family-monospace: 'Roboto Mono', monospace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user