Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (114 loc) · 2.17 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (114 loc) · 2.17 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
body {
margin: 0;
display: flex;
justify-content: center;
font-family: sans-serif;
font-weight: bold;
align-items: center;
min-height: 100vh;
background-color: #3b4664;
}
.calculator {
width: 400px;
height:500px;
padding: 20px;
background-color: #182034;
border-radius: 10px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
color: #fff;
}
.calc-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 50px;
}
.calc-logo {
font-size: 1.5rem;
font-weight: bold;
}
.theme-switcher {
text-align: right;
}
.theme-buttons {
display: flex;
align-items: center;
gap: 5px;
margin-top: 5px;
}
.theme-toggle {
width: 60px;
position: relative;
}
#theme-slider {
width: 100%;
cursor: pointer;
}
.display {
width: 100%;
background-color: #1e213f;
padding: 10px 10px;
margin-bottom: 40px;
margin-left:-10px;
border-radius: 5px;
text-align: right;
}
#calc-display {
width: 100%;
background: none;
border: none;
color: #fff;
font-size: 2rem;
text-align: right;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
button {
height: 50px;
font-size: 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-family: sans-serif;
font-weight: bold;
}
button:hover {
opacity: 0.9;
}
button:not(.btn-del, .btn-reset, .btn-equal) {
background-color: #eae3dc;
color: #000;
}
.btn-del {
background-color: #647198;
color: #fff;
}
.btn-reset {
grid-column: span 2;
background-color: #647198;
color: #fff;
}
.btn-equal {
grid-column: span 2;
background-color: #d03f2f;
color: #fff;
}
body.theme1 {
background-color: #3b4664;
}
body.theme2 {
background-color: #e6e6e6;
}
body.theme2 .calculator {
background-color: #d3cdcd;
color: #000;
}
body.theme3 {
background-color: #17062a;
}
body.theme3 .calculator {
background-color: #1e0836;
}