Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
157 lines (139 loc) · 3.5 KB
/
Copy pathindex.css
File metadata and controls
157 lines (139 loc) · 3.5 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cherry+Swash:wght@400;700&family=Dancing+Script:wght@400;500;600;700&family=Dongle:wght@300;400;700&family=Fjalla+One&family=Fredoka+One&family=Lexend+Deca:wght@300;400;500;600;700;800;900&family=Lobster&family=Montserrat+Alternates:ital,wght@0,100;0,600;0,700;0,900;1,100;1,600;1,800;1,900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Pacifico&family=Permanent+Marker&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Supermercado+One&display=swap');
*, *::before, *::after {
box-sizing: border-box;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
content: "";
clear: both;
}
body, label, p, span,h2,h3, button{
/* font-family: 'Fredoka One', cursive; */
font-family: "Fjalla One";
}
.main{
display: flex;
flex-wrap: wrap;
align-content: space-between;
}
.container{
width: 45%;
max-width: 550px;
margin: 0 auto;
text-align: center;
display: flex;
flex-direction: column;
}
.container input {
width: 100%;
clear: both;
}
input {
width: 100%;
font-size: 2rem;
line-height: 28pt;
font-family: "Fjalla One";
margin-bottom: 2em;
border: none;
border-bottom: 5px solid black;
background: #ffffff;
outline: none;
color: black;
}
input:focus {
border-bottom: 5px solid #ffa580;
}
/* BUTTON CSS */
.button-52 {
font-size: 16px;
font-weight: 200;
letter-spacing: 1px;
padding: 13px 20px 13px;
outline: 0;
border: 1px solid black;
cursor: pointer;
position: relative;
background-color: rgba(0, 0, 0, 0);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.button-52:after {
content: "";
background-color: #ffe54c;
width: 100%;
z-index: -1;
position: absolute;
height: 100%;
top: 7px;
left: 7px;
transition: 0.2s;
}
.button-52:hover:after {
top: 0px;
left: 0px;
}
/* card css */
.card {
position: relative;
width: 80%;
height: auto;
background: #191919;
border-radius: 20px;
overflow: hidden;
margin: 1em;
}
.card::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
font-weight: 600;
font-size: 6em;
color: rgba(206, 210, 165, 0.1);
}
.card .contentBox {
position: relative;
padding: 1em;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
z-index: 2;
}
.card .contentBox h3 {
font-size: 2rem;
color: white;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
}
.card .contentBox .quantity , .brand{
font-size: 1.5rem;
color: white;
letter-spacing: 1px;
font-weight: 500;
}
.card .contentBox .remove {
position: relative;
top: 100px;
opacity: 0;
padding: 10px 30px;
margin-top: 15px;
color: #000000;
text-decoration: none;
background: #ffce00;
border-radius: 30px;
text-transform: uppercase;
letter-spacing: 1px;
transition: 0.5s;
cursor: pointer;
}
.card:hover .contentBox .remove {
top: 0;
opacity: 1;
}
/* media css */
@media (min-width: 768px) {
.button-52 {
padding: 13px 50px 13px;
}
}