Skip to content

Commit 6a2b8d7

Browse files
committed
docs: update example
1 parent 24c3eee commit 6a2b8d7

File tree

10 files changed

+277
-117
lines changed

10 files changed

+277
-117
lines changed

docs/css/default.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ body {
6969
}
7070

7171
h2 {
72-
border-bottom: solid 1px #ccc;
72+
font-size: 180%;
73+
border-bottom: solid 2px #ccc;
74+
margin-top: 4rem;
7375
}
7476

7577
pre {

docs/css/example-margin-offset.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,6 +1824,41 @@ ul.grid li {
18241824
margin-bottom: 2%;
18251825
}
18261826

1827+
.grid--both-row {
1828+
-webkit-box-sizing: border-box;
1829+
box-sizing: border-box;
1830+
display: -webkit-box;
1831+
display: -ms-flexbox;
1832+
display: flex;
1833+
-ms-flex-wrap: nowrap;
1834+
flex-wrap: nowrap;
1835+
-webkit-box-pack: justify;
1836+
-ms-flex-pack: justify;
1837+
justify-content: space-between;
1838+
-webkit-box-align: center;
1839+
-ms-flex-align: center;
1840+
align-items: center;
1841+
}
1842+
1843+
.grid--both-row > .grid__col-both {
1844+
-webkit-box-sizing: border-box;
1845+
box-sizing: border-box;
1846+
-webkit-box-flex: 0;
1847+
-ms-flex: 0 0 49.16667%;
1848+
flex: 0 0 49.16667%;
1849+
-ms-flex-item-align: stretch;
1850+
align-self: stretch;
1851+
}
1852+
1853+
.grid--both-row > .grid__col-both.left {
1854+
text-align: left;
1855+
}
1856+
1857+
.grid--both-row > .grid__col-both.right {
1858+
text-align: right;
1859+
margin-left: auto;
1860+
}
1861+
18271862
.grid--items-row-alignment {
18281863
-webkit-box-sizing: border-box;
18291864
box-sizing: border-box;

docs/css/example.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,6 +1651,41 @@ ul.grid li {
16511651
margin: 0 1% 2%;
16521652
}
16531653

1654+
.grid--both-row {
1655+
-webkit-box-sizing: border-box;
1656+
box-sizing: border-box;
1657+
display: -webkit-box;
1658+
display: -ms-flexbox;
1659+
display: flex;
1660+
-ms-flex-wrap: nowrap;
1661+
flex-wrap: nowrap;
1662+
-webkit-box-pack: justify;
1663+
-ms-flex-pack: justify;
1664+
justify-content: space-between;
1665+
-webkit-box-align: center;
1666+
-ms-flex-align: center;
1667+
align-items: center;
1668+
}
1669+
1670+
.grid--both-row > .grid__col-both {
1671+
-webkit-box-sizing: border-box;
1672+
box-sizing: border-box;
1673+
-webkit-box-flex: 0;
1674+
-ms-flex: 0 0 49.16667%;
1675+
flex: 0 0 49.16667%;
1676+
-ms-flex-item-align: stretch;
1677+
align-self: stretch;
1678+
}
1679+
1680+
.grid--both-row > .grid__col-both.left {
1681+
text-align: left;
1682+
}
1683+
1684+
.grid--both-row > .grid__col-both.right {
1685+
text-align: right;
1686+
margin-left: auto;
1687+
}
1688+
16541689
.grid--items-row-alignment {
16551690
-webkit-box-sizing: border-box;
16561691
box-sizing: border-box;

0 commit comments

Comments
 (0)