forked from Rohan-450/Digiconvert-Calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (87 loc) · 1.89 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); /*Fonts uploaded*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(45deg, #0a0a0a, #3a4452);
} /*body of whole calculator*/
.calculator{
border: 1px solid #717377;
padding: 10px;
border-radius: 16px;
background: transparent;
box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.5);
}
input{
width: 324px;
height: 55px;
border: none;
padding: 10px;
margin: -5px;
background: rgb(5, 198, 176);
box-shadow: 0px 3px 15px rgbs(84, 84, 84, 0.1);
font-size: 25px;
text-align: right;
cursor: pointer;
color: #ffffff;
border-radius: 10px;
}
input::placeholder{
color: #ffffff;
}
#inputBox{
color:rgb(255, 255, 255);
}
button{
border: none;
width: 60px;
height: 60px;
margin: 10px;
border-radius: 50%;
background: transparent;
color: #ffffff;
font-size: 23px;
box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1);
cursor: pointer;
}
.equalBtn{
background-color: #fb7c14;
width: 234px;
height:60px;
border-radius: 20px;
} /*Equal Button design*/
.operator{
color: #6dee0a;
}
.operatorA{
border: none;
width: 50px;
height: 50px;
margin: 7.7px;
border-radius: 50%;
background: transparent;
color: #6dee0a;
font-size: 28px;
box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1);
cursor: pointer;
}/*For Hexadecimal buttons*/
.Mode{
border: none;
width: 60px;
height: 60px;
margin: 10px;
border-radius: 50%;
background: transparent;
color: #ffffff;
font-size: 23px;
box-shadow: -8px -8px 15px rgba(255, 255, 255, 0.1);
cursor: pointer;
}/*For Mode buttons*/