-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathstyles.css
More file actions
125 lines (111 loc) · 2 KB
/
styles.css
File metadata and controls
125 lines (111 loc) · 2 KB
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
body {
font-family: "Lobster", cursive; /* Change to a romantic cursive font */
background-color: #ffdde1;
display: flex;
align-items: center;
justify-content: space-evenly;
height: 100vh;
margin: 0;
background: url("images/image.jpg") repeat;
font-size: 35px;
color: rgb(255, 0, 174);
}
.hh {
-webkit-text-stroke: 2px #71004f;
font-weight: 900;
}
.pp {
-webkit-text-stroke: 2px #71004f;
font-size: 50px;
font-style: oblique;
font-weight: 800;
}
body .container {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background-color: transparent;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.image {
max-width: 90%;
height: auto;
max-height: 280px;
}
#youtube-player {
width: 100%;
height: 100%;
}
#youtube-player-container {
position: fixed;
top: -9999px;
left: -9999px;
width: 1px;
height: 1px;
opacity: 0;
z-index: -1;
pointer-events: none;
}
@media (max-width: 768px) {
#youtube-player-container {
width: 90vw;
height: 50.625vw; /* 16:9 aspect ratio */
}
}
@media (min-width: 769px) {
#youtube-player-container {
width: 700px;
height: 394px; /* 16:9 aspect ratio */
}
}
.buttons button {
background-color: #ff4d79;
color: #fff;
padding: 10px 30px;
border: none;
border-radius: 10px;
margin: 10px;
font-size: 26px;
cursor: pointer;
position: relative;
font-family: "Lobster", cursive;
}
.buttons button:hover {
background-color: #7c1f37;
}
.buttons {
display: flex;
justify-content: center;
flex-direction: row;
}
#no-button {
cursor: pointer;
}
.hidden-message {
display: none;
margin-top: 20px;
}
.move {
animation: moveNoMessage 0.5s linear;
}
@keyframes moveNoMessage {
0% {
transform: translate(0, 0);
}
25% {
transform: translate(30px, 30px);
}
50% {
transform: translate(-20px, -20px);
}
75% {
transform: translate(10px, 10px);
}
100% {
transform: translate(0, 0);
}
}