mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
55 lines
2.0 KiB
SCSS
55 lines
2.0 KiB
SCSS
// Bootstrap SASS styling. Use a SASS compiler (such as sassc) to parse this
|
|
// and write the output to {repo_top}/assets/vendor/bootstrap.css
|
|
// Requires node_modules/bootstrap/scss/bootstrap to contain the Bootstrap
|
|
// source files.
|
|
|
|
|
|
// Override some Bootstrap variables
|
|
$primary: #1db4ff; // "Ripple Blue" (aka "Blue-1")
|
|
$secondary: #0A93EB; // "Blue-2"
|
|
$light: #e1e4e8; // "Black-20"
|
|
$dark: #2b3e51; // "Background Navy"
|
|
$code-color: #3B4147; // "Black-80"
|
|
$navbar-padding-y: 0;
|
|
$navbar-nav-link-padding-x: 1rem;
|
|
|
|
// Font face stuff from Google
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
font-style: normal;
|
|
font-weight: 300;
|
|
src: url("../font/Roboto-Light.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';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url("../font/Roboto-Regular.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';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
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
|
|
@import "node_modules/bootstrap/scss/bootstrap";
|
|
|
|
// CSS overrides
|
|
:root {
|
|
--font-family-sans-serif: 'Roboto', sans-serif;
|
|
--font-family-monospace: 'Roboto Mono', monospace;
|
|
}
|