-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
146 lines (143 loc) · 2.71 KB
/
Copy pathstyle.css
File metadata and controls
146 lines (143 loc) · 2.71 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
:root {
--color2 : #a3b18a;
--color1 : #E4E4E4;
--color3 : #becca7;
}
* {
margin: 0
}
body {
background-color: var(--color1);
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: 600;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
box-shadow: 0 0 10px #7e7b74;
}
header .logo {
display: flex;
margin-left: 30px
}
header .logo img {
width: 50px;
margin-right: 10px;
}
header .logo h1 {
margin-right: 10px;
}
header .navbar ul {
display: flex;
font-size: 25px;
}
header .navbar ul li {
list-style: none;
margin-right: 10px;
padding: 5px 10px;
border-radius: 10px;
}
header .navbar ul li a {
text-decoration: none;
color: #434040;
}
header .navbar ul li:hover {
background-color: var(--color2);
cursor: pointer;
}
main {
display: flex;
justify-content: center;
margin-top: 60px;
}
main .calculator {
background-color: #7b8864;
border-radius: 15px;
}
main .calculator .brand {
color: var(--color1);
text-align: center;
margin: 10px;
}
main .calculator .top {
display: flex;
justify-content: center;
}
main .calculator .top .screen {
width: 300px;
height: 60px;
border-radius: 10px;
padding: 10px 15px;
background-color: var(--color2);
}
main .calculator .screen h2 {
}
main .calculator .bottom {
display: flex;
flex-direction: column;
align-items: center;
}
main .calculator .keys {
display: flex;
margin: 15px;
}
main .calculator .keys .numbers {
display: flex;
}
main .calculator .keys .numbers {
display: flex;
flex-direction: column;
align-items: center;
}
main .calculator .keys .numbers .btn-num {
width: 80px;
height: 60px;
margin: 5px;
padding: 5px 10px;
border-radius: 10px;
border: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: 600;
color: #434040
}
main .calculator .keys .btn {
background-color: #E4E4E4;
transition: .5s ease;
}
main .calculator .keys .btn:hover {
background-color: #c3c0c0;
cursor: pointer;
}
main .calculator .keys .btn:active {
transform: scale(0.90);
}
main .calculator .keys .operators {
display: flex;
flex-direction: column;
}
main .calculator .keys .operators .btn-op {
width: 70px;
height: 40px;
margin: 3px;
padding: 5px 10px;
border-radius: 10px;
border: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: 600;
color: #434040
}
@media (max-width: 480px) {
.calculator {
width: 95vw;
padding: 15px;
}
.btn {
height: 60px;
font-size: 20px;
}
}