diff --git a/site/content/docs/0.0/examples/grid-system/grid-system.css b/site/content/docs/0.0/examples/grid-system/grid-system.css index aac4607cf7..10bedd3742 100644 --- a/site/content/docs/0.0/examples/grid-system/grid-system.css +++ b/site/content/docs/0.0/examples/grid-system/grid-system.css @@ -1,27 +1,35 @@ -.padding-color { +:root { + --bs-example-bg-col: #ffe2e2; +} + +.legend { + display: inline-block; + width: 20px; + height: 20px; +} + +.bg-example { + background-color: #ff9f9f; +} + +.bg-col { + background-color: var(--bs-example-bg-col); +} + +.col { text-align: center; - background-color: #ffe2e2; + background-color: var(--bs-example-bg-col); background-clip: content-box; } -div.row .padding-color { +div.row .col { box-shadow: inset calc(var(--bs-gutter-x) * -.5) 0 0 0 #fff, inset calc(var(--bs-gutter-x) * .5) 0 0 0 #fff; } -div.row .padding-color:first-child { +div.row .col:first-child { box-shadow: inset calc(var(--bs-gutter-x) * -.5) 0 0 0 #fff; } -div.row .padding-color:last-child { +div.row .col:last-child { box-shadow: inset calc(var(--bs-gutter-x) * .5) 0 0 0 #fff; } - -.legend { - display: inline-block; - width: 20px; - height: 20px; -} - -.column-color { - background-color: #ffe2e2; -} diff --git a/site/content/docs/0.0/examples/grid-system/index.html b/site/content/docs/0.0/examples/grid-system/index.html index 10e84c1bcf..771cbecf40 100644 --- a/site/content/docs/0.0/examples/grid-system/index.html +++ b/site/content/docs/0.0/examples/grid-system/index.html @@ -21,276 +21,242 @@ -
- -
+
+

OUDS Web grid system example

-

Use this page to see how containers behave while resizing the browser window.

+

Use this page to see how containers behave while resizing the browser.

Legend

-

Containers padding color (#CCCCCC)

-

Columns color (#FFE2E2)

-

Gutters color (#FFFFFF)

+

+ Containers padding color (#CCCCCC) +

+

+ Columns color (#FFE2E2) +

+

+ Gutters color (#FFFFFF) +

-

- Class .container-fluid with class .container-max-width

-

- - - - To be used by default +

Default grid

+

+ The default grid system to use is the one combining .container-fluid and .container-max-width classes.

-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-

Class .container-fluid

-

- - - - To be used if more space is needed +

Need more space?

+

+ If more space is needed, use only the .container-fluid class.

-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+