-
Notifications
You must be signed in to change notification settings - Fork 0
/
color-learn-style.css
125 lines (121 loc) · 2.55 KB
/
color-learn-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
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
*{
margin: 0;
padding: 0;
font-family: arial;
box-sizing: border-box;
}
html,body{
height: 100%;
}
.red img{
width: 95px;
float:left;
padding-left:2%;
padding-top: 1%;
filter: invert(1);
}
.mynumber{
width:100%;
height: 100vh;
background-image: url("./pictures/color.gif");
background-size: cover;
background-position: center;
position: relative;
overflow: hidden;
}
/* Slideshow container */
.slideer-container{
width: 80px;
height: auto;
margin: auto;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.img{
width: 100%;
}
.image-container{
margin-top: 65px;
width: 100%;
height: 80vh;
display: flex;
justify-content: center;
align-items: center;
}
.slider{
display: none;
animation-name: fade;
animation-duration: 1.5s;
}
/* Next & previous buttons */
.prev-button, .next-button {
cursor: pointer;
position: absolute;
top: 50%;
width: 40px;
height: 60px;
padding: 16px;
margin-top: -22px;
color: rgb(231, 215, 215);
font-weight: bold;
font-size: 30px;
display: flex;
justify-content: center;
position: absolute;
transition: color 0.3s ease;
}
/* Position the "next button" to the right */
.prev-button{
left: 0;
}
.next-button {
right: 0;
}
/* On hover, add a black background color with a little bit see-through */
.prev-button:hover, .next-button:hover {
background-color: rgba(83, 185, 87, 0.856);
}
/* Number text (1/3 etc) */
.numbertext {
color: #eee4e4;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* The dots/bullets/indicators */
.dots{
position: absolute;
display: flex;
bottom: 10px;
}
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.3s ease;
}
.active, .dot:hover {
background-color: #717171;
}
/* Fading animation */
@keyframes fade {
from {opacity: .5}
to {opacity: 1}
}
/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.prev, .next,.text {font-size: 11px}
.dot{
height: 10px;
width: 10px;
}
@media only screen and (max-width: 500px) {
.prev, .next,.text {font-size: 14px}
}}