forked from NayanUnni95/Fresh_Cart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (113 loc) · 1.9 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500&family=Roboto:wght@400;500;700&display=swap');
* {
margin: 0;
padding: 0;
outline: none;
text-transform: capitalize;
font-family: 'Poppins', sans-serif;
}
:root {
--black: #000000;
--red: rgb(255, 0, 0);
--light-color: #666;
--light-gray: #f1f1f1e0;
--primary-go: #ffffff;
}
body {
height: 100vh;
background-color: var(--black);
}
a {
text-decoration: none;
color: var(--light-color);
font-size: small;
}
.flex {
display: flex;
align-items: center;
justify-content: center;
}
.container {
border-radius: 1rem;
padding: 3rem 2rem 3rem 2rem;
flex-direction: column;
background-color: var(--primary-go);
}
.container h3 {
font-size: 1.8rem;
}
.container input,
button {
width: 15rem;
height: 2.5rem;
margin: 0.4rem;
border: 0;
font-weight: 500;
font-size: smaller;
border-radius: 0.5rem;
cursor: pointer;
}
.container input {
background-color: var(--light-gray);
text-transform: lowercase;
font-weight: normal;
padding-left: 1rem;
}
.error {
width: 15rem;
height: 2rem;
font-size: small;
color: var(--red);
}
.name {
display: none;
}
.name.active {
display: flex;
}
.email {
display: none;
}
.email.active {
display: flex;
}
.pass {
display: none;
}
.pass.active {
display: flex;
}
.container .signup {
color: var(--primary-go);
background-color: var(--black);
}
.container h5 {
font-size: 0.7rem;
color: var(--light-color);
}
.back {
position: relative;
top: -1.5rem;
left: -9rem;
}
@media (max-width: 450px) {
.container {
width: 100%;
height: 100%;
border-radius: 0;
}
.container h3 {
font-size: 1.6rem;
}
.container input,
button {
width: 16rem;
height: 2.5rem;
border-radius: 0.5rem;
}
.back {
position: absolute;
top: 2rem;
left: 2rem;
}
}