Skip to content

Commit

Permalink
Improved little css
Browse files Browse the repository at this point in the history
  • Loading branch information
Vansh-Baghel committed Nov 19, 2022
1 parent a08ad89 commit 00964bb
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 162 deletions.
342 changes: 180 additions & 162 deletions Currency.css
Original file line number Diff line number Diff line change
@@ -1,199 +1,217 @@

body{
background-color: rgb(55, 55, 190);
body {
background-color: rgb(55, 55, 190);
}

.smaller--part{
border-bottom: 0px;
background-color: rgb(26, 26, 94);
position: relative;
top: 0;
left: 0;
.smaller--part {
border-bottom: 0px;
background-color: rgb(26, 26, 94);
position: relative;
top: 0;
left: 0;
}

.larger-part_container{
font-family:Georgia, 'Times New Roman', Times, serif;
background-color: white;
border-radius: 10px;
width: 80%;
height: 85%;
padding: 25px;
flex-direction: column;
.larger-part_container {
font-family: Georgia, "Times New Roman", Times, serif;
background-color: white;
border-radius: 10px;
width: 80%;
height: 85%;
padding: 25px;
flex-direction: column;
}

.out_btn{
display: grid;
justify-content: center;
align-items: center;
.out_btn {
display: grid;
justify-content: center;
align-items: center;
}

.larger--part {
display: flex;
align-items: center;
justify-content: center;
display: flex;
align-items: center;
justify-content: center;
}

option{
font-family:Georgia, 'Times New Roman', Times, serif;
option {
font-family: Georgia, "Times New Roman", Times, serif;
}

.currency_heading{
font-weight: 100;
color: transparent;
background-clip: text;
background-image: linear-gradient(to left , #553c9a , #ee4b2b , #00c2cb, blue );
-webkit-background-clip: text;
.currency_heading {
font-weight: 100;
color: transparent;
background-clip: text;
background-image: linear-gradient(to left, #553c9a, #ee4b2b, #00c2cb, blue);
-webkit-background-clip: text;
}

.select-label-option{
width: 100%;
font-size: 20px;
.select-label-option {
width: 100%;
font-size: 20px;
}

.select-option{
display: flex;
align-items: center;
.select-option {
display: flex;
align-items: center;
}

img .Flag{
border: 5px solid white;
height: 40px;
img .Flag {
border: 5px solid white;
height: 40px;
}

.button{
margin-top: 20px;
.button {
margin-top: 20px;
}

select{
border: 1px solid black;
font-family:Georgia, 'Times New Roman', Times, serif;
font-size: 25px;
height: 7vh;
font-weight:lighter;
width: 80%;
margin-left: 15px;
select {
border: 1px solid black;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 25px;
height: 7vh;
font-weight: lighter;
border-radius: 15px;
padding: 0 0.7rem;
width: 80%;
margin-left: 15px;
}

#convert {
width: 30vw;
border-radius: 15px;
outline: none;
background-color: rgb(55, 55, 190);
color: white;
font-size: larger;
display: flex;
cursor: pointer;
justify-content: center;
padding: 7px;
border:1px none black;
width: 30vw;
border-radius: 15px;
outline: none;
background-color: rgb(55, 55, 190);
color: white;
font-size: larger;
display: flex;
cursor: pointer;
justify-content: center;
padding: 7px;
border: 1px none black;
}

output {
border: 2px solid #03030383;
border-radius: 10px;
font-size: 25px;
color: rgba(0, 0, 0, 0.945);
margin-top: 20px;
display: flex;
padding: 0.6rem;
justify-content: center;
left: 50%;
}

input {
width: 80%;
height: 7vh;
font-size: 25px;
padding: 1rem;
border-radius: 10px;
}

output{
border: 2px solid #03030383;
border-radius: 10px;
font-size: 25px;
color: rgba(0, 0, 0, 0.945);
margin-top: 20px;
display: flex;
justify-content: center;
left: 50%;
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}

input{
width: 80%;
height: 7vh;
font-size: 25px;
padding: 10px;
border-radius: 10px;
.amount {
font-size: 20px;
width: 85%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
#convert:hover {
background-color: rgb(82, 82, 223);
}

.amount{
font-size: 20px;
width: 85%;
}

#convert:hover{
background-color: rgb(82, 82, 223);
}

@media (max-width: 700px){
.smaller--part{
width: 100%;
height: 700px;
margin: none;
min-width: 350px;
}

.dropdown--outmost , .calc__div{
display: grid;
justify-content: center;
align-items: center;

}

.larger--part{
font-size: 25px;
padding: 50px 0;
width: 100%;
}

.currency_heading{
font-size: 30px;
}

.calc--text{
text-align: center;

}
.head{
font-size: 50px;
}
}

@media (min-width: 700px) and (max-width: 1000px){
.smaller--part{
width: 35vw;
height: 100vh;
}

.dropdown--outmost , .calc__div{
display: grid;
justify-content: center;
align-items: center;
left: 0;
}

.larger--part{
height: 100%;
width: 60vw;
position: relative;
left: 0;
padding: 0;
}
}
@media (min-width: 1000px) and (max-width: 1320px){
.smaller--part{
min-width: 25%;
height: 100vh;
}
.larger--container{
width: 75%;
}
@media (max-width: 700px) {
.smaller--part {
width: 100%;
height: 700px;
margin: none;
min-width: 350px;
}

.dropdown--outmost,
.calc__div {
display: grid;
justify-content: center;
align-items: center;
}

.larger--part {
font-size: 25px;
padding: 50px 0;
width: 100%;
}

.currency_heading {
font-size: 30px;
}

.calc--text {
text-align: center;
}
.head {
font-size: 50px;
}
.select-option {
flex-direction: column;
}

img + select {
margin-top: 1rem;
width: 100%;
}
}

@media (min-width: 700px) and (max-width: 1000px) {
.smaller--part {
width: 35vw;
height: 100vh;
}

.select-option {
flex-direction: column;
}

img + select {
margin-top: 1rem;
width: 100%;
}

.dropdown--outmost,
.calc__div {
display: grid;
justify-content: center;
align-items: center;
left: 0;
}

.larger--part {
height: 100%;
width: 60vw;
position: relative;
left: 0;
padding: 0;
}
}
@media (min-width: 1000px) and (max-width: 1320px) {
.smaller--part {
min-width: 25%;
height: 100vh;
}
.larger--container {
width: 75%;
}
}

@media (min-width: 1320px) {
.smaller--part{
min-width: 20%;
height: 100vh;

}
.larger--part{
width: 80%;
height: 100vh;
}
}
.smaller--part {
min-width: 20%;
height: 100vh;
}
.larger--part {
width: 80%;
height: 100vh;
}
}
Binary file added Resources/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="icon" type="image/x-icon" href="/Resources/favicon.ico">
<link rel="stylesheet" href="Calculator.css" />
<title>Calculator</title>
</head>
Expand Down

2 comments on commit 00964bb

@vercel
Copy link

@vercel vercel bot commented on 00964bb Nov 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 00964bb Nov 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.