2022-04-12 03:43:18 +02:00
|
|
|
:root {
|
|
|
|
--base00: #fff;
|
|
|
|
--base01: #f5f5f5;
|
|
|
|
--base02: #c8c8fa;
|
|
|
|
--base03: #565c64;
|
|
|
|
--base04: #030303;
|
|
|
|
--base05: #333;
|
|
|
|
--base06: #fff;
|
|
|
|
--base07: #9a6700;
|
|
|
|
--base08: #bc4c00;
|
|
|
|
--base09: #087990;
|
|
|
|
--base0A: #795da3;
|
|
|
|
--base0B: #183691;
|
|
|
|
--base0C: #183691;
|
|
|
|
--base0D: #795da3;
|
|
|
|
--base0E: #a71d5d;
|
|
|
|
--base0F: #333;
|
|
|
|
}
|
|
|
|
|
2022-04-14 19:10:42 +02:00
|
|
|
.hl { background-color: var(--base02); }
|
2022-04-12 03:43:18 +02:00
|
|
|
.c { color: var(--base03); }
|
|
|
|
.err { color: var(--base08); }
|
|
|
|
.k { color: var(--base0E); }
|
|
|
|
.l { color: var(----base09); }
|
|
|
|
.n { color: var(--base08); }
|
|
|
|
.o { color: var(--base05); }
|
|
|
|
.p { color: var(--base05); }
|
|
|
|
.cm { color: var(--base04); }
|
|
|
|
.cp { color: var(--base08); }
|
|
|
|
.c1 { color: var(--base03); }
|
|
|
|
.cs { color: var(--base04); }
|
|
|
|
.gd { color: var(--base08); }
|
|
|
|
.ge { font-style: italic; }
|
|
|
|
.gh {
|
|
|
|
font-weight: 600;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.gi { color: var(--base0C); }
|
|
|
|
.gp {
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--base04);
|
|
|
|
}
|
|
|
|
.gs { font-weight: 600; }
|
|
|
|
.gu {
|
|
|
|
font-weight: 600;
|
|
|
|
color: var(--base0C);
|
|
|
|
}
|
|
|
|
.kc { color: var(--base0E); }
|
|
|
|
.kd { color: var(--base0E); }
|
|
|
|
.kn { color: var(--base0C); }
|
|
|
|
.kp { color: var(--base0E); }
|
|
|
|
.kr { color: var(--base0E); }
|
|
|
|
.kt { color: var(--base0A); }
|
|
|
|
.ld { color: var(--base0C); }
|
|
|
|
.m { color: var(--base09); }
|
|
|
|
.s { color: var(--base0C); }
|
|
|
|
.na { color: var(--base0A); }
|
|
|
|
.nb { color: var(--base05); }
|
|
|
|
.nc { color: var(--base07); }
|
|
|
|
.no { color: var(--base08); }
|
|
|
|
.nd { color: var(--base07); }
|
|
|
|
.ni { color: var(--base08); }
|
|
|
|
.ne { color: var(--base08); }
|
|
|
|
.nf { color: var(--base0B); }
|
|
|
|
.nl { color: var(--base05); }
|
|
|
|
.nn { color: var(--base0A); }
|
|
|
|
.nx { color: var(--base0A); }
|
|
|
|
.py { color: var(--base08); }
|
|
|
|
.nt { color: var(--base08); }
|
|
|
|
.nv { color: var(--base08); }
|
|
|
|
.ow { color: var(--base0C); }
|
|
|
|
.w { color: #fff; }
|
|
|
|
.mf { color: var(--base09); }
|
|
|
|
.mh { color: var(--base09); }
|
|
|
|
.mi { color: var(--base09); }
|
|
|
|
.mo { color: var(--base09); }
|
|
|
|
.sb { color: var(--base0C); }
|
|
|
|
.sc { color: #fff; }
|
|
|
|
.sd { color: var(--base04); }
|
|
|
|
.s2 { color: var(--base0C); }
|
|
|
|
.se { color: var(--base09); }
|
|
|
|
.sh { color: var(--base0C); }
|
|
|
|
.si { color: var(--base09); }
|
|
|
|
.sx { color: var(--base0C); }
|
|
|
|
.sr { color: var(--base0C); }
|
|
|
|
.s1 { color: var(--base0C); }
|
|
|
|
.ss { color: var(--base0C); }
|
|
|
|
.bp { color: var(--base05); }
|
|
|
|
.vc { color: var(--base08); }
|
|
|
|
.vg { color: var(--base08); }
|
|
|
|
.vi { color: var(--base08); }
|
|
|
|
.il { color: var(--base09); }
|
2017-10-03 05:34:56 +02:00
|
|
|
|
2022-04-12 03:43:18 +02:00
|
|
|
// Color commas in rgba() values
|
|
|
|
.m + .o { color: var(--base03); }
|
2014-07-09 11:40:05 +02:00
|
|
|
|
2022-04-12 03:43:18 +02:00
|
|
|
// Fix bash
|
|
|
|
.language-sh .c { color: var(--base03); }
|
2016-10-06 03:02:52 +02:00
|
|
|
|
2019-02-27 12:37:08 +01:00
|
|
|
.chroma {
|
|
|
|
.language-bash,
|
|
|
|
.language-sh {
|
|
|
|
&::before {
|
v5.2.0 design refresh, plus responsive offcanvas classes (#35736)
* Add responsive offcanvas classes
- Updates navbar-expand classes to de-dupe some styles—these shouldn't interfere now.
- Adds some JS to the offcanvas component to help with responsiveness
Co-Authored-By: GeoSot <geo.sotis@gmail.com>
* Redesign homepage, docs, and examples
Homepage:
- New Bootstrap purple navbar
- Redesigned masthead
- Rewrote and redesigned homepage content
- Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances
- Fixed padding issues in site footer
- Match homepage button styles to examples page, use gap instead of tons of responsive margin utils
Docs:
- New navbar, no more subnav. Migrated search and version picker into the main navbar and refreshed the design of it all, including the responsive toggles.
- New sidebar navigation is always expanded, and now features Bootstrap Icons alongside section headings
- Sidebar navigation autoscrolls to active link for better usability
- Subnav and navbar padding issues ironed out
- Enhanced the version picker in anticipation of v5.2: we can now link right to the same page in the previous version.
- Redesign callouts to add more color to our pages
- Collapse table of contents on mobile
- Cleanup and redesign button styles with CSS variables
- Update design for subnav version dropdown
- Update highlight and example to be full-width until md
- Improve the Added In badges
- Turn the ToC into a well on mobile
- Redesign code snippets to better house two action buttons
Examples:
- Redesign Examples page layout
- Add new example for responsive offcanvases in navbars
* Convert offcanvas to CSS vars
* Feat: add resize handler to Offcanvas.js.
If we could use as default the `.offcanvas` class without modifiers, we then, could add a simplified selector
The selector itself, ignores the .offcanvas class as it doesn't have any responsive behavior
The `aria-modal` addon is to protect us, selection backdrop elements
* Separate examples code, Add some selectors, fix stackblitz btn
Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-18 07:17:50 +02:00
|
|
|
color: #777;
|
2019-02-27 12:37:08 +01:00
|
|
|
content: "$ ";
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
}
|
2019-02-27 11:33:04 +01:00
|
|
|
|
2019-02-27 12:37:08 +01:00
|
|
|
.language-powershell::before {
|
|
|
|
color: #009;
|
|
|
|
content: "PM> ";
|
|
|
|
user-select: none;
|
|
|
|
}
|
2017-09-26 11:30:58 +02:00
|
|
|
}
|