SHOW:
|
|
- or go back to the newest paste.
| 1 | section{
| |
| 2 | - | width: 9em; |
| 2 | + | width:80%; |
| 3 | - | margin: 1ex auto; |
| 3 | + | margin:0 auto; |
| 4 | - | background-color: #F0F0F0; |
| 4 | + | |
| 5 | - | text-align: center; |
| 5 | + | section>dl{
|
| 6 | display:grid; | |
| 7 | grid-template-columns:1fr; | |
| 8 | grid-auto-rows:180px; | |
| 9 | grid-gap:10px; | |
| 10 | } | |
| 11 | section div {
| |
| 12 | background-color: #F0F0F0; | |
| 13 | text-align: center; | |
| 14 | padding:2em;} | |
| 15 | section dd {
| |
| 16 | margin: 0; | |
| 17 | color: #66cca8;} | |
| 18 | - | width:35%; |
| 18 | + | |
| 19 | - | float:left; |
| 19 | + | |
| 20 | - | margin:7.5%; |
| 20 | + | |
| 21 | - | padding: 1em 0 1.5em; } |
| 21 | + | |
| 22 | ========================================================================== */ | |
| 23 | - | font-size:125%; |
| 23 | + | |
| 24 | section>dl{
| |
| 25 | - | section div:nth-of-type(3) { clear: left; }
|
| 25 | + | grid-template-columns:repeat(2,1fr); |
| 26 | } | |
| 27 | section div {
| |
| 28 | padding: 1em; } | |
| 29 | section dt {
| |
| 30 | - | section div {
|
| 30 | + | |
| 31 | - | width:23%; |
| 31 | + | |
| 32 | - | height:148px; |
| 32 | + | |
| 33 | - | margin: 0 1%; } |
| 33 | + | |
| 34 | - | section div:nth-of-type(3) { clear: none; }
|
| 34 | + | |
| 35 | section>dl{
| |
| 36 | grid-template-columns:repeat(4,20%); | |
| 37 | ||
| 38 | } | |
| 39 | } |