-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
123 lines (104 loc) · 1.82 KB
/
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
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
:root {
box-sizing: border-box;
--bold-font: 600;
--semi-bold-font: 500;
--regular-font: 400;
--light-font: 300;
--timeline-bck: #333;
--timeline-bar: #aaa;
--timeline-seek: #bbb;
--timeline-nib-psuedo: #999;
}
html {
font-size: 62.5%;
}
body {
font-family: 'Source Code Pro', monospace;
font-weight: var(--regular-font);
min-height: 100dvh;
min-width: 100dvw;
margin: 0;
padding: 0;
box-sizing: border-box;
line-height: 1.4;
}
p, h1, h2, h3, h4, h5, h6, ul, li, section {
margin: 0;
padding: 0;
}
button {
border: none;
box-shadow: none;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
background: transparent;
}
ul, li {
margin: 0;
padding: 0;
list-style: none;
}
header {
font-size: 1.5rem;
padding: 1rem;
border-bottom: 1px solid;
}
main {
display: grid;
grid-template-columns: 70% 30%;
grid-template-rows: auto 1fr;
}
section {
padding: 0;
margin: 0;
}
video {
width: 100%;
position: relative;
}
.video-section {
grid-row: 1 / span 1;
grid-column: 1 / span 1;
border-bottom: 1px solid;
}
.video-section-theater {
grid-column: 1 / -1;
}
.comments-container {
grid-row: 1 / -1;
grid-column: 2 / span 1;
border-left: 1px solid;
}
.comments-container-theater {
grid-row: 2 / -1;
}
.video-stats-wrapper {
grid-row: 2 / span 1;
grid-column: 1 / span 1;
min-height: 50vh;
}
figure {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 1rem;
}
img {
width: 200px;
height: 150px;
object-fit: cover;
border: 1px solid;
}
figcaption {
margin: 0;
padding: 0;
font-size: 1rem;
}
kbd {
color: red;
background: yellow;
padding: 3px;
border: 1px solid red;
}