-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
114 lines (97 loc) · 2.04 KB
/
Copy pathstyles.css
File metadata and controls
114 lines (97 loc) · 2.04 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
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
background-color: #f5f5f5;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 400px;
background-color: white;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
padding: 25px;
}
h1 {
text-align: center;
color: #333;
margin-bottom: 20px;
font-weight: bold;
font-size: 24px;
}
.calculator {
margin-bottom: 20px;
}
.input-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
color: #555;
font-weight: bold;
}
input {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
}
input:focus {
outline: none;
border-color: #4c84ff;
}
.operations {
display: flex;
gap: 10px;
margin-bottom: 20px;
}
button {
flex: 1;
padding: 10px;
background-color: #4c84ff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
}
button:hover {
background-color: #3a6edb;
}
.result-container {
background-color: #f8f9fa;
padding: 15px;
border-radius: 5px;
text-align: center;
}
h2 {
color: #333;
margin-bottom: 10px;
font-size: 18px;
}
#result {
font-weight: bold;
color: #4c84ff;
font-size: 22px;
}
#calculation-steps {
color: #666;
font-style: italic;
margin-top: 8px;
font-size: 14px;
}
@media (max-width: 450px) {
.container {
width: 100%;
}
}