-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (83 loc) · 1.39 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
* {
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
font-family: sans-serif;
overflow: hidden;
}
.card {
width: 400px;
padding: 30px;
box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.075);
}
.d-flex {
display: flex;
justify-content: space-between;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
input {
color: #252525;
font-size: 16px;
font-weight: 600;
max-width: 50px;
padding: 10px 10px;
border: 1px solid #dddddd;
}
input:focus {
outline: none;
box-shadow: none;
}
button {
color: #ffffff;
background: #252525;
font-size: 16px;
padding: 10px 20px;
border: none;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
}
h3 {
color: #252525;
font-size: 20px;
margin-bottom: 20px;
}
h4 {
color: #252525;
font-size: 18px;
margin-top: 20px;
}
.hidden {
display: none;
}
#error {
color: red;
}
@media screen and (max-width: 520px) {
.card {
width: auto;
}
.d-flex {
flex-direction: column;
gap: 20px;
}
input {
max-width: 100%;
}
}