-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.css
88 lines (67 loc) · 1.45 KB
/
custom.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
/*https://github.com/quarto-dev/quarto-web/blob/main/index.css*/
/*#447099*/
.btn-action-primary {
color: white;
background-color: #1D3A83 !important;
}
.btn-action-primary:hover {
color: white;
}
.btn-action {
min-width: 165px;
border-radius: 30px;
border: none;
}
/*ChatGPT*/
span.__dimensions_badge_embed__, div.altmetric-embed {
display: inline-block;
}
/*https://stackoverflow.com/questions/35814653/automatic-height-when-embedding-a-youtube-video*/
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/*https://www.w3schools.com/howto/howto_css_responsive_iframes.asp*/
.container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 75%; /* 56.25% if 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
/* css styles */
.reveal h1 {
font-size: 64px;
}
/* source: https://github.com/hakimel/reveal.js/issues/1897 */
.reveal h2 {
text-align: center;
}
.reveal .centeralign {
text-align: center;
}
.reveal .slide div.aside {
font-size: 12px;
}
.reveal .scrollable {
height: 700px;
overflow-y: auto !important;
overflow-x: hidden !important;
}