From ecd45927e0db704c805578f81e86673cb8d69daf Mon Sep 17 00:00:00 2001 From: Pooja Sharma Date: Wed, 2 Oct 2019 17:51:33 +0530 Subject: [PATCH 1/4] Horizontal scrolling fix --- Task1/style.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Task1/style.css b/Task1/style.css index f1e8437b..bed4f205 100644 --- a/Task1/style.css +++ b/Task1/style.css @@ -82,3 +82,7 @@ body::after { margin: 1rem auto; } +.row { + margin-left: 0px; + margin-right: 0px; +} \ No newline at end of file From 99a80918736e27fc1795e2a00f3a393bc75fb230 Mon Sep 17 00:00:00 2001 From: Pooja Sharma Date: Wed, 2 Oct 2019 19:11:31 +0530 Subject: [PATCH 2/4] Changed github and linkedin text buttons to fa icons to make all cards symmetric --- Task1/index.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Task1/index.html b/Task1/index.html index f553840f..2371956b 100644 --- a/Task1/index.html +++ b/Task1/index.html @@ -223,8 +223,8 @@
Abednego Edet
Baecon
- Github - LinkedIn + +
@@ -235,7 +235,7 @@
Baecon
Romain Guillemot
- +
@@ -290,8 +290,8 @@
Anchal Agarwal
Aditya Raj Singh
- Github - LinkedIn + +
@@ -302,8 +302,8 @@
Aditya Raj Singh
Suchismita Sarkar
- - + +
@@ -313,8 +313,8 @@
Suchismita Sarkar
Bradley Jordan
- Github - LinkedIn + +
@@ -360,7 +360,7 @@
Udai Agarwal
Vaibhav Vijay
- +
From f20937146a8af496846d1c9ed66ba2cc383ea265 Mon Sep 17 00:00:00 2001 From: Pooja Sharma Date: Wed, 2 Oct 2019 19:23:37 +0530 Subject: [PATCH 3/4] Made height of all images equal inside the cards and added top-bottom padding --- Task1/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Task1/style.css b/Task1/style.css index bed4f205..6bcfbb7a 100644 --- a/Task1/style.css +++ b/Task1/style.css @@ -44,10 +44,12 @@ body::after { .w-full { width: 100%; + height: calc(100% - 50%); } .mycard{ margin: 2rem auto; + padding: 15px; } From f69e389b592efc84f984575f4660394b23cccb43 Mon Sep 17 00:00:00 2001 From: Pooja Sharma Date: Wed, 2 Oct 2019 23:07:45 +0530 Subject: [PATCH 4/4] Responsive Styles Added --- Task1/index.html | 4 ++-- Task1/style.css | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/Task1/index.html b/Task1/index.html index 2371956b..1c67a2e1 100644 --- a/Task1/index.html +++ b/Task1/index.html @@ -34,7 +34,7 @@

HACKTOBERFEST 2019 | BIT MESRA

-
+
Harshit Singh
@@ -58,7 +58,7 @@
(Collaborator)
-
+
Vishal Gorai
diff --git a/Task1/style.css b/Task1/style.css index 6bcfbb7a..2895b4ac 100644 --- a/Task1/style.css +++ b/Task1/style.css @@ -87,4 +87,42 @@ body::after { .row { margin-left: 0px; margin-right: 0px; +} + +/* ****************** Responsive Styles ********************** */ +@media (max-width: 1200px) { + .fa-3x { + font-size: 1.5em; + } + .card-body { + padding: 0.8rem; + } + .card-title { + font-size: 1.0rem; + } + h6 { + font-size: 0.8rem; + } +} + +@media (max-width: 767px) { + .row { + padding-left: 15px; + padding-right: 15px; + } +} + +@media (max-width: 550px) { + .footer-block { + margin: 0.5rem auto; + } + .w-full { + height: auto; + } +} + +@media (max-width: 425px) { + .card-title { + font-size: 1.5rem; + } } \ No newline at end of file