-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
121 lines (103 loc) · 2.16 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
--Purple: hsl(259, 100%, 65%);
--Light-red: hsl(0, 100%, 67%);
--White: hsl(0, 0%, 100%);
--Off-white: hsl(0, 0%, 94%);
--Light-grey: hsl(0, 0%, 86%);
--Smokey-grey: hsl(0, 1%, 44%);
--Off-black: hsl(0, 0%, 8%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
border: none;
}
body {
font-family: "Poppins", sans-serif;
background-color: var(--Light-grey);
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container {
background-color: var(--White);
width: 700px;
height: 500px;
display: flex;
flex-direction: column;
justify-content: start;
/* justify-content: center;
align-items: center; */
border-radius: 20px;
border-bottom-right-radius: 200px;
}
header {
display: flex;
gap: 30px;
padding: 30px;
width: 800px;
}
input {
padding: 20px;
width: 130px;
border-radius: 5px;
border: 1px solid var(--Light-grey);
}
.head-p {
text-transform: uppercase;
font-weight: 400;
color: var(--Smokey-grey);
font-size: 14px;
margin-bottom: 5px;
}
hr {
border: 0.02px solid var(--Light-grey);
width: 80%;
margin-left: 80px;
}
.result {
display: flex;
flex-direction: column;
align-items: start;
/* justify-content: space-evenly; */
justify-content: center;
width: 800px;
height: 400px;
line-height: 5.5rem;
}
.result p {
font-size: 75px;
font-weight: 800;
font-style: italic;
}
.result span {
color: var(--Purple);
margin-left: 40px;
}
.buton-div {
position: relative;
}
button {
background-color: var(--Purple);
position: absolute;
width: 50px;
height: 50px;
border-radius: 50%;
/* left: 500px; */
right: 30px;
top: -20px;
cursor: pointer;
}
img {
width: 30px;
}
.empty-error {
font-size: 12px;
margin-top: 5px;
color: var(--Light-red);
font-style: italic;
/* display: none; */
}