Skip to content

Commit

Permalink
Merge pull request #60 from harshit1142/optimization
Browse files Browse the repository at this point in the history
Improve:Performance Optimization
  • Loading branch information
Neel-07 authored Oct 23, 2023
2 parents 2a82edb + d773382 commit 90e7cab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 31 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name="description"
content="This web application provides a simple and intuitive interface for converting temperatures between Celsius and Fahrenheit. Whether you need quick temperature conversions for cooking, weather analysis, or any other purpose, this tool has got you covered."
/>

<title>Temperature Convertor</title>
<!-- Open Graph -->
<meta property="og:title" content="Temperature Converter" />
<meta property="og:site_name" content="Temperature Converter" />
Expand Down
41 changes: 11 additions & 30 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
box-sizing: border-box;
}

/* Navbar */
/* Navbar */
.navbar {
background-color: #333;
Expand All @@ -27,27 +26,14 @@
margin-left: 15px;
}

/* .start-tour-button button {
padding: 12px 24px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
background-color: #06e6a6;
color: #800080;
} */

/* .start-tour-button button:hover {
background-color: #0fbb8a;
} */

/* Body Styles */
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(to top, #0093e9, #80d0c7);
background: linear-gradient(to top, #173bca, #80d0c7);
}

/* Container Styles */
Expand Down Expand Up @@ -104,18 +90,7 @@ body {
justify-content: center;
margin-top: 20px;
}
/*
.button button {
border-radius: 8px;
padding: 10px 20px;
font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
"Lucida Sans", Arial, sans-serif;
background-color: transparent;
}

.button button:hover {
background-color: #e8e5e5;
} */

/* Footer Styles */
.footer {
Expand Down Expand Up @@ -268,7 +243,7 @@ a {
height: 2.2em;
width: 2.2em;
border-radius: 0.7em;
box-shadow: 0.1em 0.1em 0.6em 0.2em #5295b9;
box-shadow: 0.1em 0.1em 0.6em 0.2em #0f2ec8;
right: 0.3em;
transition: all 0.3s;
}
Expand Down Expand Up @@ -335,6 +310,7 @@ a {
transition-duration: 0.3s;
box-shadow: 2px 2px 0px rgb(140, 32, 212);
}

/* For devices with a maximum width of 768px */
@media only screen and (max-width: 768px) {
.containers {
Expand All @@ -353,23 +329,28 @@ a {
padding: 14px;
margin: 10px;
}
.start-tour-button{

.start-tour-button {
scale: 0.6;
margin-top: -13px;
margin-bottom: -13px;
}
.footer{

.footer {
height: 30%;
}

.footer-para {
font-size: 0.9rem;
padding: 7px;
}

.footer .footer-content {
padding: 9px;
margin: -4px;
}

.temperature-input input {
width: 90%;
}
}
}

0 comments on commit 90e7cab

Please sign in to comment.