-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
120 lines (106 loc) · 2.09 KB
/
main.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
119
120
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,700;1,400;1,800&display=swap');
*{
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
font-family: 'Poppins';
background-color: hsl(0, 0%, 94%);
}
section {
width: 50%;
background-color: hsl(0, 0%, 100%);
border-radius: 20px 20px 139px 20px;
padding: 50px;
margin:100px auto;
}
.row {
display: grid;
grid-template-columns: repeat(3, 10.733vw);
}
label {
color: hsl(0, 1%, 44%);
font-weight:700;
font-size: 15px;
letter-spacing: 1.5px;
}
input {
width: 85%;
font-size: 28px;
font-weight: 700;
color: hsl(0, 0%, 8%);
padding: 15px;
border: 1px solid hsl(0, 0%, 86%);
border-radius: 7px;
margin: 0.45rem 0 0.5rem 0;
}
::placeholder {
color: hsl(0, 1%, 44%);
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
}
input[type=number] {
appearance: textfield;
}
input:hover,
input:focus {
border-color: hsl(259, 100%, 65%);
outline-color: hsl(259, 100%, 65%);
cursor: pointer;
}
/* .sub {
display: flex;
} */
button {
cursor: pointer !important;
height: 86px;
width: 88px;
border-radius: 50%;
background-color: hsl(259, 100%, 65%);
border: 0px;
/* margin-left: auto; */
}
.wrapper:before {
display: inline-block;
content: " ";
height: 2px;
width: 598px;
background-color: hsl(0, 0%, 86%);
vertical-align: text-top;
}
button:hover {
background-color: hsl(0, 0%, 8%);
}
.results {
font-weight: 800;
font-size: 75px;
font-style: italic;
}
.results span {
color: hsl(259, 100%, 65%);
}
/* ERROR MESSAGES */
.empty__string-input {
border-color: hsl(0, 100%, 67%);
}
.empty__string-label {
color: hsl(0, 100%, 67%);
}
.empty__string-input:hover,
.empty__string-input:focus {
border-color: hsl(0, 100%, 67%);
outline-color: hsl(0, 100%, 67%);
}
.empty__string__text,
.invalid__string__whole,
.invalid__string__day,
.invalid__string__month,
.invalid__string__year {
color: hsl(0, 100%, 67%);
font-size: 13px;
font-style: italic;
display: none;
}