-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
128 lines (110 loc) · 1.98 KB
/
index.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
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
121
122
123
124
125
126
127
128
:root {
/* Primary */
--Light-Cyan: hsl(193, 38%, 86%);
--Neon-Green: hsl(150, 100%, 66%);
/* Neutral */
--Grayish-Blue: hsl(217, 19%, 38%);
--Dark-Grayish-Blue: hsl(217, 19%, 24%);
--Dark-Blue: hsl(218, 23%, 16%);
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
min-height: 100vh;
font-family: 'Manrope', sans-serif;
background: var(--Dark-Blue);
color: white;
font-size: 28px;
}
h1 {
color: var(--Neon-Green);
font-size: 20px;
margin-bottom: 25px;
}
.container {
width: 600px;
height: 350px;
background: var(--Dark-Grayish-Blue);
border-radius: 10px;
padding: 30px 50px;
}
/* Slideshow container */
.slideshow-container div {
position: relative;
display: flex;
align-items: center;
text-align: center;
width: 100%;
height: 180px;
margin: 20px auto;
}
.pattern-divider {
width: 100%;
}
button {
border: none;
position: relative;
border-radius: 50%;
padding: 15px;
margin: auto;
display: flex;
top: 39px;
background-color: var(--Neon-Green);
}
button:hover, button:active {
box-shadow: 2px 2px 20px 3px var(--Neon-Green);
}
.active {
background-color: #f11515;
}
/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 5s;
}
@keyframes fade {
from {
opacity: 1;
}
to {
opacity: 1;
}
}
@media (max-width: 700px) {
.container {
width: 90%;
}
body {
font-size: 24px;
}
h1 {
font-size: 18px;
}
}
/* Footer */
.attribution {
position: absolute;
bottom: 0;
font-size: 11px;
text-align: center;
background-color: white;
padding: 1rem;
margin-top: 4rem;
color: black;
opacity: 0.5;
width: 100%;
}
.attribution:hover {
opacity: 1;
}
.attribution a {
text-decoration: none;
font-weight: bold;
}