-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit_page.css
More file actions
120 lines (102 loc) · 1.96 KB
/
init_page.css
File metadata and controls
120 lines (102 loc) · 1.96 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
/* Main Style */
*{
margin: 0;
padding: 0;
font-family: 'Libre Franklin', sans-serif;
}
/* header */
body>header {
background-color: #8fbc8f;
display: flex;
height: 12vh;
display: flex;
justify-content: space-between;
align-items: center;
}
body>header a {
height: 70%;
cursor: pointer;
margin-top: 15px;
margin-left: 10px;
margin-bottom: 10px;
}
#signup > * {
padding: 0 1rem;
font-size: 1.5rem;
}
#signup a {
text-decoration: none;
color: white;
}
#signup a:hover {
text-decoration: none;
cursor: pointer;
color: black;
}
body>header a img {
height: 100%;
margin-left: 10px;
}
/* wallpaper */
#Wallpaper {
background-image: url("./assets/banner_init_page.jpg");
height: 60vh;
background-repeat: no-repeat;
background-size: cover;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#Wallpaper h1 {
padding-bottom: 0.5rem;
color: black;
font-weight: 500;
font-size: 2.5rem;
}
#Wallpaper h3 {
width: 60%;
text-align: center;
font-weight: 300;
}
.category-container {
height: 60%;
align-items: stretch;
}
.categors_inline {
display: inline-block;
display: grid;
grid-auto-flow: column;
grid-auto-columns: 25%;
padding: 0 1rem;
overflow-x: auto;
overscroll-behavior-inline: contain;
}
.product {
width: 20vw;
margin: 0 0.5rem;
padding: 1rem 1rem;
position: relative;
background-color: #8FBC8F;
}
.product h2 {
padding: 0.5rem 0rem;
}
.product p {
font-weight: 300;
}
.product button {
position: absolute;
bottom: 1.2rem;
right: 1.2rem;
font-size: 1.3rem;
border: none;
outline: none;
padding: 0.5rem 1rem;
background-color: rgb(255, 255, 255);
border-radius: 5px;
}
.product img {
width: 100%;
}