-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
114 lines (100 loc) · 1.52 KB
/
style.css
File metadata and controls
114 lines (100 loc) · 1.52 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
:root {
--lime: rgb(242 237 225);
--red: rgb(234 102 74);
--gray: rgb(179, 177, 177);
}
img {
max-width: 100%;
display: block;
}
body {
width: 100%;
min-height: 100vh;
overflow-x: hidden;
}
nav {
max-width: 400px;
display: flex;
justify-content: center;
margin-inline: auto;
padding-block: 1rem;
}
ul {
display: flex;
list-style: none;
gap: 1rem;
}
ul li {
padding: 0.5rem 0.8rem;
border-radius: 0.5rem;
cursor: pointer;
}
ul li.active {
background-color: var(--lime);
}
main {
max-width: 90%;
margin-inline: auto;
display: flex;
gap: 1rem;
flex-direction: column;
align-items: center;
margin-block: 3rem;
position: relative;
}
.view_more {
border: none;
background-color: var(--red);
color: white;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
}
.slider_wrapper {
position: relative;
width: 100%;
max-width: 100%;
overflow-x: hidden;
}
.slider {
display: flex;
gap: 1rem;
overflow-x: scroll;
width: 1840px;
}
.slider::-webkit-scrollbar {
display: none;
}
.nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
cursor: pointer;
}
.left {
left: -1.5rem;
}
.right {
right: -1.5rem;
}
.card {
position: relative;
min-width: 200px;
border: 1px solid var(--gray);
transition: all 2s;
left: 0;
}
.card h3 {
padding: 0.5rem 1rem 0.1rem;
font-size: 1rem;
}
.card p {
padding: 0 1rem;
font-size: 0.8rem;
color: var(--gray);
}