Skip to content

Commit b67e692

Browse files
committed
Tighten up the flow, improve notes, and clean up formatting
1 parent bb58b5b commit b67e692

File tree

4 files changed

+273
-204
lines changed

4 files changed

+273
-204
lines changed

resources/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.

resources/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ if (typeof window.options !== undefined) {
7272
{
7373
scope: 'variable',
7474
match: /\s-{1,2}[a-z0-9-_]+=?/,
75-
}
75+
},
7676
],
7777
};
7878
});

resources/styles.css

Lines changed: 44 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
:root {
1010
--r-heading-font: Roboto, 'Source Sans Pro', sans-serif;
1111
--r-body-font: 'Roboto Slab', 'Source Sans Pro', sans-serif;
12-
--r-heading1-size: 2em;
13-
--r-heading1-text-shadow: .01em .01em .01em #000;
12+
--r-heading1-size: 1.6em;
13+
--r-heading1-text-shadow: 0;
1414
--r-code-font: 'Fira Code', monospace;
1515
--subdued-text-color: #555;
1616
}
@@ -20,25 +20,60 @@
2020
background: url('./background.webp') center center repeat;
2121
}
2222

23-
/* Special styling for the title slide. */
23+
/* Special styling for the title + thank you slides. */
2424
.title-slide h1 {
25+
text-align: left;
26+
font-family: var(--r-code-font);
27+
font-weight: 100;
28+
text-transform: lowercase;
29+
word-spacing: -.25em;
30+
}
31+
32+
.title-slide h1:before {
33+
content: '$';
34+
display: inline-block;
35+
margin-right: .5em;
36+
font-weight: bold;
37+
color: var(--r-link-color);
38+
}
39+
40+
.title-slide h1:after {
41+
content: '\25AF';
42+
animation: blink 2s step-start infinite;
43+
font-size: calc(1em * var(--r-heading-line-height));
44+
color: var(--subdued-text-color);
45+
}
46+
47+
@keyframes blink {
48+
50% {
49+
opacity: 0;
50+
}
51+
}
52+
53+
.title-slide h1,
54+
.thank-you h2 {
2555
margin-bottom: 1em;
2656
}
2757

28-
.title-slide .byline {
58+
.byline {
2959
font-weight: bold;
3060
}
3161

32-
.title-slide .byline a {
62+
.byline .role {
3363
display: block;
3464
font-size: .75em;
35-
font-weight: 300;
65+
font-weight: normal;
3666
}
3767

38-
.slides-link {
68+
.reveal .slides-link {
3969
display: block;
40-
margin-top: 2em;
41-
font-size: .86em;
70+
margin-top: 3rem;
71+
font-size: .75em;
72+
}
73+
74+
.slides-link a {
75+
display: block;
76+
font-weight: 300;
4277
}
4378

4479
/* Persistent footer */
@@ -70,19 +105,6 @@
70105
}
71106
}
72107

73-
/* Enable fragments to replace the space occupied by their predecessors */
74-
.fragment-replace {
75-
position: relative;
76-
}
77-
78-
.fragment-replace > .fragment {
79-
position: absolute;
80-
left: 0;
81-
top: 0;
82-
right: 0;
83-
display: block;
84-
}
85-
86108
/* Blockquotes and figures */
87109
.reveal blockquote {
88110
width: 90%;

0 commit comments

Comments
 (0)