Skip to content

Commit 9ec5dcb

Browse files
mrobinsonmrego
authored andcommitted
Add January 2025 Barcelona Free Software talk
1 parent 6c68487 commit 9ec5dcb

File tree

4 files changed

+610
-0
lines changed

4 files changed

+610
-0
lines changed
+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
6+
7+
<title>{{ title | escape }}</title>
8+
9+
<link rel="stylesheet" href="{{ '/reveal.js/dist/reset.css' | url }}">
10+
<link rel="stylesheet" href="{{ '/reveal.js/dist/reveal.css' | url }}">
11+
<link rel="stylesheet" href="{{ '/reveal.js/dist/theme/servo-no-svg-no-lf-logo.css' | url }}">
12+
13+
<!-- Theme used for syntax highlighted code -->
14+
<link rel="stylesheet" href="{{ '/reveal.js/plugin/highlight/monokai.css' | url }}">
15+
16+
<style>
17+
#printlink {
18+
position: absolute;
19+
top: 10px;
20+
right: 10px;
21+
width: 20px;
22+
height: 20px;
23+
}
24+
</style>
25+
</head>
26+
<body>
27+
<div class="reveal">
28+
<div class="slides">
29+
{% capture pageurl %}/{{ page.inputPath }}{% endcapture %}
30+
<section data-markdown="{{ pageurl | url }}"
31+
data-separator="-----"
32+
data-separator-vertical="----"
33+
data-separator-notes="^Note:"
34+
data-charset="utf-8">
35+
</section>
36+
</div>
37+
</div>
38+
39+
{% capture printurl %}{{ page.url }}?print-pdf{% endcapture %}
40+
<a id="printlink" href="{{ printurl | url }}">
41+
<img src="{{ '/img/print-icon.svg' | url }}" alt="Print" title="Print to PDF" />
42+
</a>
43+
<script>
44+
document.addEventListener("fullscreenchange", () => {
45+
if (document.fullscreenElement)
46+
printlink.style.display = "none";
47+
else
48+
printlink.style.display = "block";
49+
});
50+
</script>
51+
52+
<script src="{{ '/reveal.js/dist/reveal.js' | url }}"></script>
53+
<script src="{{ '/reveal.js/plugin/notes/notes.js' | url }}"></script>
54+
<script src="{{ '/reveal.js/plugin/markdown/markdown.js' | url }}"></script>
55+
<script src="{{ '/reveal.js/plugin/highlight/highlight.js' | url }}"></script>
56+
<script>
57+
// More info about initialization & config:
58+
// - https://revealjs.com/initialization/
59+
// - https://revealjs.com/config/
60+
Reveal.initialize({
61+
hash: true,
62+
63+
// Learn about plugins: https://revealjs.com/plugins/
64+
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ],
65+
66+
// https://marked.js.org/using_advanced#options
67+
markdown: {
68+
smartypants: true
69+
}
70+
});
71+
</script>
72+
</body>
73+
</html>
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
/**
2+
* Black theme for reveal.js. This is the opposite of the 'white' theme.
3+
*
4+
* By Hakim El Hattab, http://hakim.se
5+
*/
6+
7+
8+
// Default mixins and settings -----------------
9+
@import "../template/mixins";
10+
@import "../template/settings";
11+
// ---------------------------------------------
12+
13+
14+
// Include theme-specific fonts
15+
@import url("https://fonts.googleapis.com/css?family=Fira+Sans:300,400,600,700|Fira+Mono:300,400,600,700|Fire+Sans:100,200,300,400,500,600,700");
16+
17+
// Override theme settings (see ../template/settings.scss)
18+
$backgroundColor: #121619;
19+
20+
$mainColor: #eeece1;
21+
$headingColor: #eeece1;
22+
23+
$mainFontSize: 42px;
24+
$mainFont: 'Fira Sans', sans-serif;
25+
$headingFont: 'Fira Sans', sans-serif;
26+
$codeFont: 'Fira Mono',monospace;
27+
$headingTextShadow: none;
28+
$headingLetterSpacing: normal;
29+
$headingTextTransform: capitalize;
30+
$headingFontWeight: 800;
31+
$linkColor: #1191E8;
32+
$linkColorHover: #42BF64;
33+
$selectionBackgroundColor: rgba( $linkColor, 0.75 );
34+
35+
$heading1Size: 2.5em;
36+
$heading2Size: 1.6em;
37+
$heading3Size: 1.3em;
38+
$heading4Size: 1.0em;
39+
40+
// Change text colors against light slide backgrounds
41+
@include light-bg-text-color(#222);
42+
43+
44+
// Theme template ------------------------------
45+
@import "../template/theme";
46+
// ---------------------------------------------
47+
48+
.reveal h2::after, .reveal h3:after, .reveal h4:after {
49+
display: block;
50+
content: "";
51+
width: 100px;
52+
height: 10px;
53+
margin-inline: auto;
54+
}
55+
56+
.reveal h2::after {
57+
margin-block: 30px;
58+
background: #488bd1;
59+
}
60+
61+
.reveal h3::after {
62+
margin-block: 20px;
63+
background: #4fc066;
64+
}
65+
66+
.reveal h4::after {
67+
margin-block: 15px;
68+
background: #209e9b;
69+
}
70+
71+
.reveal .slide-background {
72+
background-image: url("/img/servo-color-negative-no-container.png");
73+
background-size: 10%;
74+
background-repeat: no-repeat;
75+
background-position: 5% 95%;
76+
}
77+
.reveal .slide-background::after {
78+
display: block;
79+
content: "";
80+
width: .5%;
81+
background: linear-gradient(180deg, #42be65 15%, #009d9a 25%, #009d9a 55%, #1192e8 65%);
82+
background-repeat-x: no-repeat;
83+
position: absolute;
84+
top: 4%;
85+
bottom: 4%;
86+
left: 2%;
87+
}
88+
.reveal .slide-background.cover {
89+
background-image: url("/img/servo-color-negative-no-container.png");
90+
background-size: 15%;
91+
background-repeat: no-repeat;
92+
background-position: 5% 90%;
93+
}
94+
.reveal .slide-background.last {
95+
96+
background-image: url("/img/servo-color-negative-no-container.png");
97+
background-size: 25%;
98+
background-repeat: no-repeat;
99+
background-position: 50% 75%;
100+
}
101+
102+
.reveal section.cover > hr:nth-child(1),
103+
.reveal section.cover > p:nth-child(2),
104+
.reveal section.cover > hr:nth-child(3) {
105+
display: none;
106+
}
107+
108+
.reveal blockquote {
109+
width: 75%;
110+
padding: 5px 50px;
111+
}
112+
113+
.reveal blockquote::after {
114+
display: block;
115+
content: "";
116+
position: absolute;
117+
width: 1.5em;
118+
height: 1.5em;
119+
bottom: 0;
120+
right: 0;
121+
background-image: url("/img/servo-symbol-color-no-container.png");
122+
background-repeat: no-repeat;
123+
background-size: 4em;
124+
}
125+
126+
html.print-pdf .reveal .slides section {
127+
padding-left: 1em !important;
128+
}
129+
130+
131+
.reveal pre {
132+
font-size: 0.35em;
133+
}

0 commit comments

Comments
 (0)