-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (108 loc) · 2.15 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
119
120
121
122
123
124
125
126
127
128
129
*{
box-sizing: border-box;
}
@font-face {
font-family: "Poppins";
src: local('Poppins'),
url("./assets/fonts/Poppins-Bold.ttf") format('truetype'),
url("./assets/fonts/Poppins-BoldItalic.ttf") format('truetype'),
url("./assets/fonts/Poppins-ExtraBold.ttf") format('truetype'),
url("./assets/fonts/Poppins-ExtraBoldItalic.ttf") format('truetype'),
url("./assets/fonts/Poppins-Italic.ttf") format('truetype'),
url("./assets/fonts/Poppins-Regular.ttf") format('truetype')
}
body {
background: hsl(0, 0%, 94%);
font-family: 'Poppins', san-serif;
margin: 0px;
padding: 0px;
}
.container {
max-width: 375px;
margin: 50px auto;
background: white;
border-radius: 20px 20px 80px 20px;
padding: 20px;
position: relative;
}
.inputs {
display: flex;
justify-content: space-between;
}
label {
margin: 10px;
font-size: 12px;
color: hsl(0, 1%, 44%);
}
input {
width: 90px;
margin: 10px;
padding: 5px;
font-weight: bold;
cursor: pointer;
border-radius: 5px;
border: 1px solid hsl(0, 0%, 86%);
}
input:hover {
border: 1px solid hsl(259, 100%, 65%);
}
.invalid {
border: 1px solid hsl(0, 100%, 67%);
}
.error {
color: hsl(0, 100%, 67%);
font-style: italic;
font-size: 8px;
margin-left: 5px;
}
.submit {
margin: 50px 0;
}
button {
position: absolute;
left: 160px;
top: 130px;
border-radius: 50%;
border: 1px;
padding: 5px;
background: hsl(259, 100%, 65%);
width: 60px;
height: 60px;
cursor: pointer;
}
button:hover {
background: #000000;
}
.output {
font-size: 44px;
padding: 10px 5px;
font-weight: bold;
font-style: italic;
}
.output span {
color: hsl(259, 100%, 65%);
}
.attribution {
font-size: 12px;
text-align: center;
}
.attribution a {
color: hsl(228, 45%, 44%);
}
@media only screen and (min-width: 1220px) {
.container {
max-width: 500px;
height: 600px;
}
.inputs {
width: 375px;
}
input {
padding: 10px;
font-weight: bold;
}
button {
left: 380px;
top: 132px;
}
}