-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.css
110 lines (100 loc) · 2.25 KB
/
index.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;800;900&display=swap');
:root{
--primary-color:#031926;
--accent:#7067CF;
--accent2:#FF3366;
--font-color:#e1e1e1;
--body-color:#FBFFFE;
--font:'Poppins', sans-serif;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family:var(--font);
background-color: var(--body-color);
min-height: 100vh;
display: flex;
align-items: center;
}
.container{
max-width: 400px;
margin: auto;
background-color: var(--primary-color);
padding: 2.5rem 2rem;
border-radius: 10px;
box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}
.text-heading{
text-align: center;
text-transform: uppercase;
}
.text-heading p{
font-size: 2.3rem;
font-weight: 600;
letter-spacing: 3px;
color: var(--font-color);
}
#screen{
margin-top: 20px;
padding: 1.5rem 1rem;
width: 99%;
border-radius: 5px;
outline: none;
border:none;
font-size: 3.5rem;
color: var(--font-color);
background-color: #07212f;
box-shadow: rgba(0, 0, 0, 0.06) 0px 2px 4px 0px inset;
text-align: right;
}
.button{
height: 50px;
width: 65px;
margin-top: 10px;
margin-bottom: 0px;
border-radius: 5px;
border: none;
outline: none;
font-size: 1.7rem;
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.button:hover{
border: 5px var(--accent);
background-color: var(--accent);
transition: 0.3s ease-in;
color:white
}
.number{
background-color: var(--primary-color);
color: var(--font-color);
}
.operator{
background-color: var(--primary-color);
background-color: #011520;
color: var(--font-color);
}
.clear{
background-color: var(--accent2);
font-weight: bold;
font-size: 1.6rem;
color: white;
}
.clear:hover{
background-color: var(--body-color);
color: var(--primary-color);
transition: .3s ease-in-out;
}
.input__field{
display: grid;
width: 100%;
margin-top: 20px;
align-items: center;
padding-left: 5px;
justify-content: center;
column-gap: 10px;
grid-template-columns: 2fr 2fr 2fr 2fr;
margin-bottom: 5px;
}