-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance OUDS Web grid system example
- Loading branch information
1 parent
75b0cbe
commit fa8bf0d
Showing
2 changed files
with
221 additions
and
247 deletions.
There are no files selected for viewing
38 changes: 23 additions & 15 deletions
38
site/content/docs/0.0/examples/grid-system/grid-system.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} |
Oops, something went wrong.