-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
118 lines (105 loc) · 2.13 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
114
115
116
117
118
/* Body styles */
body {
font-family: Arial, sans-serif;
background-color: #2b2b2b;
color: #fff;
padding: 10px;
}
/* Calculator container styles */
.container {
background-color: #212121;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
transition: background 1s ease-in-out;
-webkit-transition: background 1s ease-in-out;
-moz-transition: background 1s ease-in-out;
-ms-transition: background 1s ease-in-out;
-o-transition: background 1s ease-in-out;
}
/* Calculator header styles */
.header {
text-align: center;
font-size: 2rem;
margin-bottom: 20px;
}
.footer {
text-align: center;
font-size: 1.1rem;
background-color: #212121;
padding: 20px;
margin-bottom: 20px;
margin: 20px 0;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
}
/* Form styles */
form {
display: flex;
flex-direction: column;
}
/* Label styles */
label {
font-weight: bold;
margin-bottom: 10px;
}
/* Input styles */
input[type="number"] {
margin-bottom: 20px;
padding: 10px;
border-radius: 5px;
border: none;
background-color: #3c3c3c;
color: #fff;
font-size: 1.2rem;
text-align: center;
}
/* Button styles */
button {
background-color: #4caf50;
color: #fff;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
font-size: 1.2rem;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #388e3c;
}
/* Result styles */
.result {
margin-top: 20px;
font-weight: bold;
font-size: 1.5rem;
text-align: center;
}
@media screen and (max-width: 480px) {
/* Calculator container styles */
.container {
max-width: 100%;
padding: 10px;
}
/* Calculator header styles */
.header {
font-size: 1.5rem;
}
/* Input styles */
input[type="number"] {
margin-bottom: 10px;
font-size: 1rem;
}
/* Button styles */
button {
font-size: 1rem;
padding: 8px;
}
/* Result styles */
.result {
font-size: 1.2rem;
}
}