diff options
| author | Julien Déramond <[email protected]> | 2022-01-19 12:27:57 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-19 13:27:57 +0200 |
| commit | 520cc8de92ca48d7ac60102d992d7afe9788b239 (patch) | |
| tree | dbc61e6a807599a8b0befff41b175a37a2f07bb5 /site/layouts/_default/examples.html | |
| parent | cd208341a198f22f60f20e674b8060d5e7d65f92 (diff) | |
| download | bootstrap-520cc8de92ca48d7ac60102d992d7afe9788b239.tar.xz bootstrap-520cc8de92ca48d7ac60102d992d7afe9788b239.zip | |
Docs: group together reusable CSS for examples in a single stylesheet (#35649)
* Docs: group together examples reusable CSS in a stylesheet
* Use pointer-events utility in sidebars example
* Remove @import and move the content into _default/examples.html. Handle 2 sorts of dividers
* Remove footers.css extra css declaration
* Fix modals example
* Review: remove .b-example-hr
Co-authored-by: Gaël Poupard <[email protected]>
Diffstat (limited to 'site/layouts/_default/examples.html')
| -rw-r--r-- | site/layouts/_default/examples.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html index 948c3756f..6709cdfa7 100644 --- a/site/layouts/_default/examples.html +++ b/site/layouts/_default/examples.html @@ -31,6 +31,25 @@ font-size: 3.5rem; } } + + .b-example-divider { + height: 3rem; + background-color: rgba(0, 0, 0, .1); + border: solid rgba(0, 0, 0, .15); + border-width: 1px 0; + box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15); + } + + .b-example-vr { + flex-shrink: 0; + width: 1.5rem; + height: 100vh; + } + + .bi { + vertical-align: -.125em; + fill: currentColor; + } </style> {{ range .Page.Params.extra_css }} |
