-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.css
More file actions
81 lines (76 loc) · 1.08 KB
/
Copy pathapp.css
File metadata and controls
81 lines (76 loc) · 1.08 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
position: relative;
}
html,
body {
height: 100%;
}
body {
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
sans-serif;
}
.keywords {
width: 85%;
margin: auto;
}
.slider {
position: relative;
/* max-width: 600px; */
margin: auto;
overflow: hidden;
}
.slides {
/* display: flex; */
display: grid;
/* grid-template-columns: 1fr; */
/* place-items: center; */
/* grid-template-areas: "image"; */
transition: all 0.5s ease;
width: 30%;
margin: auto;
}
.slides img {
transition: all 0.5s ease;
grid-area: 1/1/2/2;
display: block;
width: 100%;
/* margin: auto; */
/* flex-shrink: 0; */
pointer-events: none;
/* position: absolute; */
}
.nav {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(0, 0, 0, 0.5);
color: white;
border: none;
padding: 2em;
cursor: pointer;
}
.prev {
left: 10px;
z-index: 1;
}
.next {
right: 10px;
}
/* @media (hover: none) {
.nav {
display: none;
}
} */