-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy patheaster_egg_style.css
56 lines (51 loc) · 1.26 KB
/
easter_egg_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
/* The Modal (background) */
.modal-eEgg {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content (image) */
.modal-content-eEgg {
margin: 5% auto 15% auto;
width: auto;
max-width: 700px;
/* Animations */
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s;
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
.caption {
font-family: Roboto-Regular;
font-size: 18px;
padding: 2px 16px;
color: white;
background: #b71c1c;
margin-left: 10%;
margin-right: 10%;
}
img[id="eEgg_image"] {
display: block;
margin-left: auto;
margin-right: auto;
height: 80%;
width: 80%;
max-width: 700px;
}