-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
71 lines (67 loc) · 1.34 KB
/
styles.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
/* * {
border:0.5px solid red !important;
} */
body {
font-family: 'Press Start 2P', cursive;
background-color: black;
color:wheat;
font-size: 15px;
}
.centered {
width: 75%;
text-align: center;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
}
h2 {
text-align: center;
}
img {
width:100%;
max-width: 500px;
height:auto;
}
.btn {
border: none;
background-color: wheat;
padding: 14px 28px;
font-size: 10px;
cursor: pointer;
display: inline-block;
position: absolute;
left : 50%;
bottom: 0;
color:black;
font-family: 'Press Start 2P', cursive;
}
/* On mouse-over */
.btn:hover {background: #eee;}
.curtain {
position: absolute;
width: 100%;
height: 100%;
z-index:2;
background-image: url("https://d28hgpri8am2if.cloudfront.net/book_images/onix/cvr9781501107726/amazing-fantastic-incredible-9781501107726_hr.jpg");
background-repeat: no-repeat;
background-size: cover;
background-position-x: center;
background-position-y: center;
/* display:none; */
}
.footer {
position: absolute;
right:0;
bottom:0;
}
#mySlide {
animation-name: fade;
animation-duration: 2.5s;
animation-iteration-count: infinite;
}
@keyframes fade {
from{opacity: 0.3;}
to{opacity: 1;}
}