-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspeaker.css
More file actions
79 lines (66 loc) · 1.11 KB
/
speaker.css
File metadata and controls
79 lines (66 loc) · 1.11 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
#speaker {
display: flex;
flex-direction: column;
gap: 0;
position: relative;
background: #6767ff;
min-height: 100vh;
a {
color: white;
font-weight: 800;
}
.speaker {
padding: 0;
min-height: 100vh;
}
.speaker-info-container {
padding: clamp(12px, 4vw, 32px);
display: flex;
flex-direction: column;
gap: 32px;
}
img {
width: 100%;
object-fit: cover;
}
* {
color: white;
h1 {
font-size: clamp(2rem, 10vw, 3rem);
}
h2,
h3 {
font-size: 1.5rem;
}
h3 {
font-weight: 700;
font-style: italic;
}
& > div:last-child {
padding-bottom: 90px;
}
}
}
@media screen and (min-width: 768px) {
#speaker {
flex-direction: row-reverse;
align-items: center;
justify-content: start;
img {
object-fit: cover;
position: fixed;
top: 0;
right: 0;
position: fixed;
height: 100vh;
width: 45vw;
}
.speaker-info-container {
width: 55vw;
}
& > div:first-of-type {
overflow-y: auto;
min-height: 100vh;
}
}
}