-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.styl
104 lines (97 loc) · 2.13 KB
/
index.styl
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
// Customize reveal.js font and related features
:root
--r-main-font: Merriweather, serif
--r-heading-font: Merriweather, serif
--r-heading-text-transform: none
--r-background-color: black // Full black background
--r-selection-background-color: #444
// Small-caps heading option
//.reveal
// h1, h2, h3, h4, h5, h6
// font-variant: small-caps
// Extend fragment animations to 1 second
.reveal .slides section .fragment
opacity: 0
visibility: hidden
transition: all 1s ease
will-change: initial
&.visible
opacity: 1
visibility: inherit
// For debugging slide size, uncomment the following:
//.reveal .slides section
// background: #111
// height: 100%
// Left-justify bullets
ul, ol
width: calc(100% - 1em) // account for 1em left margin
box-sizing: border-box
// Inverse table headings
th
color: black
background: #ccc
border-color: black
// Formatting tools specific to this presentation
cite
color: #c0a5c0
font-weight: normal
/h2 &
font-size: 85%
.columns
width: 100%
display: flex
align-items: center
justify-content: space-evenly
.column
text-align: center !important
max-height: 100%
display: flex
flex-direction: column
align-items: center
&.fill
flex-basis: 0
flex-grow: 1
align-self: stretch
&.space
width: 30px
&.arrow
margin: 0 10px
font-size: 200%
&:before
content: '🡆'
span.space
margin-left: 0.25em
// Bootstrap helpers
.text-center
text-align: center !important
.vertical-middle
vertical-align: middle !important
.d-inline-block
display: inline-block
.justify-content-center
justify-content: center
.justify-content-between
justify-content: space-between
.h-100
height: 100%
.hidden
position: absolute
display: block
.invert
filter: invert(1) hue-rotate(180deg)
&.pop
filter: invert(1) hue-rotate(180deg) drop-shadow(0 0 1px white)
&.bright
filter: invert(1) hue-rotate(180deg) brightness(1.75) drop-shadow(0 0 1px white)
img.big
margin: 0
max-width: 100%
max-height: 100%
.url
display: block
font-size: 40%
font-family: monospace
.sep
display: inline-block
color: #9a5b9a
margin: 0 0.25em