From 4da40fc57e251be847624a0b15068b9ed3a085f1 Mon Sep 17 00:00:00 2001 From: Juneau <33215669+ljuneaul@users.noreply.github.com> Date: Fri, 31 May 2019 12:38:03 -0400 Subject: [PATCH] made 'connect with us' sectoin responsive (#215) --- examples/demo.css | 26 +++++++++++++++++++++++++- index.html | 10 +++++----- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/examples/demo.css b/examples/demo.css index f9e238f7..e32201c8 100644 --- a/examples/demo.css +++ b/examples/demo.css @@ -77,5 +77,29 @@ h1, h2, .section h3 { } #connectwithusbody { - overflow: hidden; + margin: auto; + width: 80%; + display: flex; + flex-wrap: wrap; + flex-shrink: initial; + background-color: yellow; +} + +.links { + width: 20%; + margin: 10px; + text-align: center; +} + +@media only screen and (max-width: 569px) { + .links { + width: 25%; + margin: 10px 0; + } +} + +@media only screen and (max-width: 400px) { + .links { + width: 50%; + } } diff --git a/index.html b/index.html index 30cf37e4..87fc49cb 100644 --- a/index.html +++ b/index.html @@ -148,11 +148,11 @@

Contributors

Connect with us

You can connect with us on any of these platforms:

-
- - - - +
+ + + +