-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
90 lines (84 loc) · 1.88 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
html,body {
position: relative;
padding: 0;
height : 100%;
background-color: #000;
overflow: hidden;
}
body:before{
content: '';
display: block;
width: 100%;
height: 100%;
z-index: 0;
opacity: .1;
background-position: center;
background-repeat: no-repeat;
background-size: 50%;
background-image: url('https://yt3.ggpht.com/-F3xsHu2gwi0/AAAAAAAAAAI/AAAAAAAAAAA/f9z1AVL4-H0/s900-c-k-no-mo-rj-c0xffffff/photo.jpg');
-webkit-animation: leaves 5s ease-in-out infinite alternate;
animation: leaves 5s ease-in-out infinite alternate;
}
@-webkit-keyframes leaves {
0% {
-webkit-transform: scale(1.0);
}
100% {
-webkit-transform: scale(1.3);
}
}
@keyframes leaves {
0% {
transform: scale(1.0);
}
100% {
transform: scale(1.3);
}
}
p {
margin: 4px 0;
}
#quote {
font-family: "monospace";
position: absolute;
top: 35%;
left: 50%;
transform : translate(-50%,-50%);
font-size: 40px;
display: inline-block;
width: 80%;
text-align: center;
color: white;
text-shadow: 0 0 200px gold;
}
#quote:before {
position: relative;
content: '';
display: block;
width: 100px;
height: 100px;
background-image: url('https://yt3.ggpht.com/-F3xsHu2gwi0/AAAAAAAAAAI/AAAAAAAAAAA/f9z1AVL4-H0/s900-c-k-no-mo-rj-c0xffffff/photo.jpg');
background-size: 100px;
border-radius: 100%;
margin: auto auto 50px auto;
border: 5px solid white;
}
#quotebutton,
#twitteranchor {
position: absolute;
top: 70%;
left: 50%;
transform : translate(-50%,-50%);
background: none;
border: none;
color: #fff;
font-size: 20px;
text-transform: uppercase;
text-decoration: none;
}
#twitteranchor {
top: 80%;
width: 34px;
}
#quotebutton:hover,
#twitteranchor:hover { cursor:pointer; }