-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
114 lines (98 loc) · 1.73 KB
/
style.css
File metadata and controls
114 lines (98 loc) · 1.73 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
@import url(
'https://fonts.googleapis.com/css2?family=Indie+Flower:wght@200;300;400;500;600;700&display=swap');
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
}
* {
margin: 0;
font-family: 'Indie Flower', sans-serif;
}
.carousel {
margin-top: 4rem;
width: 100vw;
height: 100vh;
position: relative;
}
.slide {
display: block;
position: absolute;
inset: 0;
opacity: 0;
transition: 200ms opacity ease-in-out;
transition-delay: 200ms;
}
.slide[data-active] {
opacity: 1;
z-index: 1;
transition-delay: 0ms;
}
.slide > img {
height: 100%;
width: 100%;
max-width: 80%;
max-height: 80%;
object-fit: contain;
margin-left: 2rem;
padding-left: 2rem;
}
.carousel-button {
position: absolute;
background: none;
border: none;
font-size: 4rem;
/* top: 50%; */
z-index: 2;
transform: translateY(-50%);
color: rgba(68, 142, 83, 0.705);
cursor: pointer;
border-radius: .25rem;
padding: 0 .5rem;
background-color: rgba(0, 0, 0, .4);
}
.carousel-button:hover,
.carousel-button:focus {
color: rgba(48, 154, 55, 0.861);
background-color: rgba(0, 0, 0, .2)
}
.carousel-button:focus {
outline: 1px solid black;
}
.carousel-button.prev {
left: 1rem;
}
.carousel-button.next {
right: 1rem;
}
.carousel > ul, li {
margin: 0;
padding: 0;
list-style: none;
}
body {
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
background-image: url('catground.png');
background-repeat: repeat;
background-blend-mode: difference;
}
header {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
h1 {
color: green;
font-size: 80px;
font-weight: bold;
text-align: center;
}
h6 {
color: green;
font-size: 20px;
font-weight: bold;
text-align: center;
}