-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
54 lines (45 loc) · 889 Bytes
/
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
font-family: Arial, Helvetica, sans-serif;
background-color: #1a1a1a; /* Dark background color */;
color: #f4f4f4; /* Light text color */;
overflow-x: hidden;
}
.scroll-container{
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
height: auto;
}
.scroll-row{
display: flex;
overflow-x: auto;
white-space: nowrap;
margin-bottom: 0;
width: 100%;
scrollbar-width: none;
}
.scroll-row::-webkit-scrollbar{
display: none;
}
.scroll-item{
min-width: 200px;
height: 150px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 0;
overflow: hidden;
border: 2px solid white;
}
.scroll-item img{
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 0;
}