diff --git a/css/contributors.css b/css/contributors.css index 53bf070..4de8649 100644 --- a/css/contributors.css +++ b/css/contributors.css @@ -7,6 +7,7 @@ flex-direction: column; justify-content: center; align-items: center; + text-align: center; } .contributors h1 { @@ -46,8 +47,8 @@ } .contributor-card img:hover { - width: 78px; - height: 78px; + width: 75px; + height: 75px; opacity: 1; } diff --git a/css/style.css b/css/style.css index d932db7..4b7b233 100644 --- a/css/style.css +++ b/css/style.css @@ -1,8 +1,11 @@ +@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300&family=Open+Sans:wght@300;400;500;600;700&display=swap'); + * { padding: 0; margin: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; + text-decoration: none; } html { @@ -17,6 +20,111 @@ html { } +/* Styling of Navbar */ +.navbar { + list-style: none; + z-index: 100; + font-family: 'Josefin Sans', sans-serif; + background: rgba(0, 130, 230, 0.6); + height: 80px; + width: 98%; + position: fixed; + top: 3%; + left: 1%; + transform: translate(-50%, -50%); + animation: moveAnimation 2s ease-in-out infinite alternate; +} +label.logo { + color: white; + font-size: 35px; + line-height: 80px; + padding: 0 70px; + font-weight: bold; +} +.navbar ul { + float: right; + margin-right: 20px; +} +.navbar ul li { + display: inline-block; + line-height: 80px; + margin: 0 5px; +} +.navbar ul li a { + color: white; + font-size: 17px; + text-transform: uppercase; + font-weight: bold; + padding: 7px 13px; + border-radius: 3px; +} +a.active, a:hover { + background: #1b9bff; + transition: 0.5s; +} +.checkbtn { + font-size: 30px; + color: white; + float: right; + line-height: 80px; + margin-right: 40px; + cursor: pointer; + display: none; +} +#check { + display: none; +} +@media (max-width: 1300px) { + label.logo { + font-size: 25px; + padding-left: 25px; + } + .navbar ul li a { + font-size: 16px; + } +} +@media (max-width: 1225px) { + .checkbtn { + display: block; + } + ul { + position: fixed; + width: 100%; + height: 100vh; + background-color: #2c3e50; + top: 80px; + left: -100%; + text-align: center; + transition: all .5s; + } + .navbar ul li { + display: block; + margin: 50px 0; + line-height: 30px; + } + .navbar ul li a { + font-size: 20px; + } + a:hover, a.active { + background: none; + color: #0082e6; + } + #check:checked ~ ul { + left: 0; + } +} +@keyframes moveAnimation { + 0% { + transform: translateY(-10px); + } + 100% { + transform: translateY(10px); + } +} + +/* End styling of navbar */ + + /* View Port Style */ .Viewcontainer { @@ -186,7 +294,7 @@ html { footer { margin-top: auto; - background-color: #000; + background-color: rgba(0, 130, 230, 0.75); padding-top: 40px; color: #fff; } @@ -248,7 +356,7 @@ footer { } .footer-bottom{ - background: #000; + background: transparent; padding-top: 20px; padding-bottom: 30px; text-align: center; diff --git a/index.html b/index.html index 2c93794..832016b 100644 --- a/index.html +++ b/index.html @@ -13,17 +13,20 @@ -
-
-

GitHub Automation Scripts 🤖

- -
-
+
@@ -47,7 +50,7 @@

Tech Stack

-
+
gitrepo-Floating-Image @@ -64,7 +67,7 @@

GitHub Automation Scripts 🤖

-
+

Contributing to GitHub-Automation-Scripts

First off, thanks for taking the time to contribute! ❤️

@@ -110,7 +113,7 @@

Styleguides

-
+