diff --git a/styles.css b/styles.css index acc2afc..a70f9d3 100644 --- a/styles.css +++ b/styles.css @@ -33,21 +33,18 @@ a { * { /* unfucks some stuff */ box-sizing: border-box; } -.contacts { - width: 550px; - margin:auto; - display: grid; - grid-template-areas: /* i know how to do it this way, */ - 'one two three'; /* so shut up about the "right way" */ - grid-gap: 10px; - padding: 10px; - grid-auto-columns: 1fr; - grid-auto-rows: 1fr; +.contacts { + display: flex; + flex-wrap: wrap; + justify-content: center; + width: 580px; + margin: auto; + padding: 10px; } .contact { - float: left; width: 170px; + margin: 5px; padding: 15px; background-color: #232629; border-radius: 10px; @@ -56,6 +53,7 @@ a { position: relative; transition: opacity .25s; } + /* some hacky shit to make