-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
113 lines (97 loc) · 1.82 KB
/
styles.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
* {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(to bottom right, #3498db, #2ecc71);
color: #ffffff;
font-family: 'Roboto', sans-serif;
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.converter-container {
text-align: center;
background-color: #333333;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
h1 {
font-size: 24px;
margin-bottom: 20px;
}
.input-group {
margin-bottom: 20px;
}
input,
select {
width: 200px;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
padding: 12px 24px;
font-size: 16px;
background-color: #ff7675;
color: #ffffff;
border: none;
border-radius: 25px;
margin: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #d63031;
}
.result {
/* color: #ffffff !important; */
font-size: 20px;
margin-top: 20px;
}
@media screen and (max-width: 1023px) {
.converter-container {
padding: 30px;
}
input[type="number"],
select {
padding: 10px;
font-size: 14px;
}
button {
padding: 12px 20px;
font-size: 14px;
}
}
/* Mobile-specific styles */
@media screen and (max-width: 599px) {
.converter-container {
margin: 23px;
padding: 20px;
}
input[type="number"],
select {
margin: 5px;
padding: 8px;
font-size: 14px;
}
button {
padding: 10px 18px;
font-size: 14px;
}
}