mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
62 lines
2.7 KiB
SCSS
62 lines
2.7 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.
|
|
|
|
|
|
// Set theme colors used by Bootstrap styles
|
|
$theme-colors: (
|
|
"primary": #1B1818, // XRP Black
|
|
"secondary": #676463, // Gray
|
|
"light": #EBE8E7, // light tan?
|
|
"dark": #1B1818, // XRP Black again
|
|
"success": #2BCB96, // light green
|
|
"caution": #D0DB60, // yellowish
|
|
//"info": todo // currently bluish
|
|
"warning": #AA4949, // wine red
|
|
);
|
|
$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: 400;
|
|
src: url(https://fonts.gstatic.com/s/roboto/v19/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2'), 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: local('Roboto Bold'), local('Roboto-Bold'), url(https://fonts.gstatic.com/s/roboto/v19/KFOlCnqEu92Fr1MmWUlfBBc4.woff2) format('woff2'), 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: 'Space Mono';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Space Mono'), local('SpaceMono-Regular'), url(https://fonts.gstatic.com/s/spacemono/v4/i7dPIFZifjKcF5UAWdDRYEF8RQ.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: 'Space Mono';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: local('Space Mono Bold'), local('SpaceMono-Bold'), url(https://fonts.gstatic.com/s/spacemono/v4/i7dMIFZifjKcF5UAWdDRaPpZUFWaHg.woff2) format('woff2'), 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-family-monospace: 'Space Mono', monospace;
|
|
$font-family-sans-serif: 'Roboto', sans-serif;
|
|
|
|
// Bootstrap v4
|
|
@import "node_modules/bootstrap/scss/bootstrap.scss";
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
font-family: 'Space Mono', monospace;
|
|
font-weight: 700;
|
|
}
|