Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Style File #313

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 25 additions & 6 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,23 @@
--secondary-color: #1b206e;
}


/* BASE STYLES */

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}


/*font family*/

html,
body {
font-family: "Poppins", sans-serif;
color: #111;
background-color: bisque;
background-color: Violet;
}

h1 {
Expand All @@ -43,6 +47,7 @@ section.home {
margin-top: 0;
}


/* BUTTON */

.btn {
Expand All @@ -63,6 +68,7 @@ section.home {
transform: scale(0.98);
background-color: rgb(117, 199, 3);
}

.btn-dark {
padding: 10px 70px;
}
Expand All @@ -73,18 +79,24 @@ section.home {
left: 100px;
color: yellowgreen;
text-shadow: 2px 2px 8px blueviolet;
font-size: 3rem;
font-size: 5rem;
font-weight: 700;
z-index: 20;
background-color: burlywood;
border-radius: 10%;
}

.title {
text-shadow: 2px 2px 8px yellowgreen;
font-size: 3rem;
font-weight: 1000;
font-style: normal;
}

.logo.active {
color: #000000;
text-shadow: 2px 2px 8px #e0e0e0;
}


/* TOGGLE */

.toggle {
Expand All @@ -108,6 +120,7 @@ section.home {
background-repeat: no-repeat;
}


/* NAVIGATION */

.navigation {
Expand Down Expand Up @@ -191,6 +204,7 @@ section.home {
transform: scale(0.5);
}


/* HOMEPAGE */

.home {
Expand Down Expand Up @@ -244,6 +258,7 @@ section.home {
background-position: center center;
}


/* SERVICES PAGE */

.services {
Expand Down Expand Up @@ -273,6 +288,7 @@ section.home {
max-width: 300px;
}


/* WORK PAGE */

.portfolio {
Expand Down Expand Up @@ -321,6 +337,7 @@ section.home {
padding: 5px 15px;
}


/* CONTACT */

.contact {
Expand Down Expand Up @@ -374,6 +391,7 @@ section.home {
resize: none;
}


/*GLOW EFFECT on FOCUS*/

.contact-form .row input:focus,
Expand Down Expand Up @@ -446,14 +464,14 @@ section.home {
.services .service {
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-img {
opacity: 0.5;
}
#dark-mode {
display: none;
}
}

@media (max-width: 500px) {
.home-content h1 {
font-size: revert;
Expand All @@ -466,6 +484,7 @@ section.home {
}
}


/* icon */

.service {
Expand Down Expand Up @@ -684,4 +703,4 @@ section.home {
::selection {
color: #ffffff;
background-color: #252525;
}
}
5 changes: 1 addition & 4 deletions dishes.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@
<section>
<div class="title">
<h1>Select your favourite food, and trust me you will like it.</h1>
<p>

</p>
</div>
<div class="services">
<div class="service" data-aos="fade-right">
Expand Down Expand Up @@ -184,4 +181,4 @@ <h2>Stake</h2>
<script src="js/script.js"></script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ toggle.addEventListener('click', () => {
//dark-light toggle
function dark() {
if (document.body.style.backgroundColor == "grey") {
document.body.style.backgroundColor = "bisque"
document.body.style.backgroundColor = "Violet";
document.body.style.Color = "black"
} else {
document.body.style.backgroundColor = "grey";
Expand Down