2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Improve Grid examples. (#26808)

Removes the grid.css file of the grid example and makes use of utility classes
This commit is contained in:
Martijn Cuppens
2018-10-21 09:52:13 +02:00
committed by XhmikosR
parent 3075432584
commit 49ca910667
3 changed files with 75 additions and 92 deletions
+3 -24
View File
@@ -1,27 +1,6 @@
body {
padding-top: 2rem;
padding-bottom: 2rem;
}
h3 {
margin-top: 2rem;
}
.row {
margin-bottom: 1rem;
}
.row .row {
margin-top: 1rem;
margin-bottom: 0;
}
[class*="col-"] {
padding-top: 1rem;
padding-bottom: 1rem;
.themed-grid-col {
padding-top: 15px;
padding-bottom: 15px;
background-color: rgba(86, 61, 124, .15);
border: 1px solid rgba(86, 61, 124, .2);
}
hr {
margin-top: 2rem;
margin-bottom: 2rem;
}