-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
134 lines (113 loc) · 2.06 KB
/
style.css
File metadata and controls
134 lines (113 loc) · 2.06 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
126
127
128
129
130
131
132
133
134
body {
background: #4f419d url('./img/mmm-back.jpg') no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
color: #fff;
display: flex;
flex-flow: column;
justify-content: space-between;
font-family: 'Sen', sans-serif;
font-size: 20px;
margin: 0;
min-height: 100vh;
}
ul {
list-style-type: none;
}
a {
color: #fff;
font-weight: bold;
text-decoration: none;
}
em {
background: black;
box-sizing: border-box;
box-decoration-break: clone;
-webkit-box-decoration-break: clone;
color: yellow;
font-style: normal;
line-height: 1.7;
padding: 0.1em 0.3em;
}
header {
flex: 0 1 auto;
perspective: 500px;
text-align: center;
}
header img {
margin: 2em;
}
footer {
background: #000;
color: yellow;
padding: 4em 10vw;
}
footer > ul {
display: flex;
margin: -2em;
}
footer > ul > li {
margin: 2em;
}
h2 {
margin-left: -2vw;
}
section {
margin: 2em 10vw;
}
#welcome {
margin: 2em 10vw;
}
.episodes {
display: flex;
flex-flow: row wrap;
list-style-type: none;
justify-content: center;
margin: -2em;
padding: 0;
}
.episodes li {
margin: 3em 2em;
perspective: 500px;
transition: all 0.3s;
}
.episodes li .content {
background: rgba(0, 0, 0, .6) center;
background-size: cover;
box-shadow: 0 2em 3em -1.5em #000;
transform: rotateY(3deg);
transition: all 0.3s ease;
}
.episodes li iframe,
.episodes li .content {
height: 270px;
width: 480px;
}
.episodes li:hover {
opacity: 1;
transform: scale(1.3);
}
.episodes li:hover .content {
transform: none;
}
@media screen and (max-width: 1300px) {
.episodes li iframe,
.episodes li .content {
height: 208px;
width: 370px;
}
}
@media screen and (max-width: 1024px) {
section {
margin: 2em 5vw;
}
.episodes li {
margin: 6vw;
}
.episodes li iframe,
.episodes li .content {
height: 39.375vw;
width: 70vw;
}
}