Use dl instead of .simple in CSS

This commit is contained in:
Guillaume Ayoub 2017-09-22 15:02:15 +02:00
parent e66d62327e
commit a268f826d7
2 changed files with 4 additions and 4 deletions

View File

@ -106,7 +106,7 @@ h2
font-size: 2em
font-weight: 400
.simple
dl
display: flex
flex-wrap: wrap

View File

@ -92,10 +92,10 @@ h2 {
font-size: 2em;
font-weight: 400; }
.simple {
dl {
display: flex;
flex-wrap: wrap; }
.simple dt {
dl dt {
box-sizing: border-box;
display: flex;
flex-direction: column;
@ -103,7 +103,7 @@ h2 {
text-align: center;
padding: 1em;
width: 300px; }
.simple dd {
dl dd {
box-sizing: border-box;
margin-left: -300px;
padding: 3em 0 0;