Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Neel-07 authored Oct 12, 2023
1 parent a9c7534 commit 061110e
Showing 1 changed file with 16 additions and 30 deletions.
46 changes: 16 additions & 30 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,52 +1,53 @@
*{
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body{
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f2f2f2; /* Background color for the body */
}

.container{
.container {
max-width: 450px;
background: #06E6A6;
border-radius: 8px;
box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.4);
box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.4);
font-family: sans-serif;
padding: 20px;
}

.title{
.title {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap-reverse;
gap: 10px;
}

.Temperature-icon{
.temperature-icon {
font-size: 45px;
color: 06E6A6;
color: #06E6A6;
}

h1{
color: 06E6A6;
h1 {
color: #06E6A6;
letter-spacing: 1.2px;
font-size: 30px;
}

#celsius, #fahrenheit, #kelvin{
.temperature-input {
display: flex;
justify-content: center;
align-items: center;
margin-top: 25px;
}

input{
input {
flex: 5;
height: 60px;
font-size: 20px;
Expand All @@ -58,20 +59,7 @@ input{
padding: 0 10px;
}


/* for chrome, safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
-webkit-appearance: none;
}

/* for Mozila firefox */
input{
-moz-appearance: textfield;
}


.icon{
.unit {
flex: 1;
height: 60px;
line-height: 60px;
Expand All @@ -83,14 +71,12 @@ input{
border-radius: 0 8px 8px 0;
}


.button{
.button {
margin-top: 25px;
text-align: center;
}


.button button{
button {
border: none;
outline: none;
padding: 10px 30px;
Expand All @@ -101,7 +87,7 @@ input{
transition: 0.3s;
}

.button button:hover{
button:hover {
background: #000;
color: #fff;
}

0 comments on commit 061110e

Please sign in to comment.