Skip to content
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
12 changes: 11 additions & 1 deletion assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
scroll-behavior: smooth;
}

/* Navigation Bar */

nav {
background: rgb(48, 85, 98);
height: 80px;
Expand Down Expand Up @@ -58,6 +60,8 @@
transition: .5s;
}

/* Hamburger Icon */

.checkbutton {
font-size: 30px;
color: white;
Expand All @@ -72,6 +76,8 @@
display: none;
}

/* Navigation bar in hamburger icon menu */

@media (max-width:952px){
label.title {
font-size: 30px;
Expand Down Expand Up @@ -112,30 +118,34 @@
left:0;
}
}

/* Background image size */
.section {
height: calc(100vh - 80px);
}

/* Date and Temperature */
section ul li {
text-align: center;
color: rgb(48, 85, 98);
font-size: 100%;

}

/* Zipcode Text */
.zipcodeText {
text-align: center;
font-size: 136%;
}

/* Zipcode input */
#zipcode {
border-radius: 30px;
background-color: rgb(109, 141, 173);
font-size: 80%;

}

/* Recipe Title */
.recipeDay {
color: rgb(255, 255, 255);
text-align: center;
Expand Down
11 changes: 6 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
</head>

<body>
<!--Navigation Bar-->
<nav>
<input type="checkbox" id="check">
<label for="check" class="checkbutton">
Expand All @@ -24,11 +25,12 @@
<label class="title">WeatherMe</label>
<ul>
<li><a class="active" href="#">Home</a></li>
<li><a href="#zipcode">Choose Zipcode</a></li>
<li><a href="#zipcode">Zipcode</a></li>
<li><a href="#recipes">Recipe Today</a></li>
</ul>
</nav>
<main>
<!--Zipcode-->
<section class="section">
<form class="zipcodeText">
<label for="zipcode">Zipcode:</label>
Expand All @@ -40,23 +42,21 @@
maxlength="5"
>
</form>
<!--Date and Temperature-->
<div class="dateTemp">
<ul>
<li>Date: <span id="date"\></li>
<li>Temperature: <span id="temp"\></li>
</ul>
</div>

<!--Recipe section-->
</section>
<div id="recipes">
<h2 class="recipeDay">Recipe for the Day</h2>

<!-- <script async src="https://cse.google.com/cse.js?cx=93dfd1403c28d4a84"> -->
</script>
<div class="gcse-search"></div>



<section class="py-6" id="image-quote-display">

</section>
Expand All @@ -70,6 +70,7 @@ <h2 class="recipeDay">Recipe for the Day</h2>
</body>
</main>

<!--Footer-->
<footer>
<h4></h4>
</footer>
Expand Down