-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (95 loc) · 1.66 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
margin: 0;
padding: 0;
font-family: "Roboto", sans-serif;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.container {
width: 500px;
/* border: 1px solid; */
}
.container input {
width: 95.8%;
border: none;
margin-bottom: 2px;
padding: 20px 10px;
border-radius: 5px;
text-align: right;
font-family: "Roboto", sans-serif;
color: #fff;
font-size: 1.3rem;
background-color: #323232;
}
.container input:focus {
outline: none;
}
.btn-container {
display: grid;
width: 100%;
grid-template-columns: repeat(4, 1fr);
gap: 3px;
}
.btn-container button {
padding: 10px;
font-size: 1.3rem;
border-radius: 5px;
border: none;
transition: all 0.3s;
}
.operators {
background-color: #323232;
color: #fff;
font-weight: 600;
}
.operators:hover {
color: #fff;
background-color: #3b3b3b;
font-weight: 600;
cursor: pointer;
}
.numbers:hover {
background-color: #323232;
color: #fff;
font-weight: 600;
cursor: pointer;
}
.numbers {
color: #fff;
background-color: #3b3b3b;
font-weight: 600;
}
#equal {
color: #323232;
background-color: #ff8780;
}
#equal:hover {
background-color: #f59590;
cursor: pointer;
}
footer {
margin-top: 40px;
text-align: center;
}
footer p{
font-size: 1.2rem;
/* color: #fff; */
font-weight: 600;
}
footer p #currYear {
color: #ff817a;
font-weight: 600;
}
@media (max-width: 300px) {
.container{
width: 250px;
}
.container input {
padding: 20px 5px;
}
}