Skip to content

Commit

Permalink
kiwi pycon 2023 slides
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohilas committed Dec 5, 2023
1 parent 4a29689 commit 1be9da4
Show file tree
Hide file tree
Showing 156 changed files with 29,368 additions and 0 deletions.
177 changes: 177 additions & 0 deletions docs/kiwi-pycon-2023/css/highlight/cupertino.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
/*!
Theme: Cupertino
Author: Defman21
License: ~ MIT (or more permissive) [via base16-schemes-source]
Maintainer: @highlightjs/core-team
Version: 2021.09.0
*/

/*
WARNING: DO NOT EDIT THIS FILE DIRECTLY.
This theme file was auto-generated from the Base16 scheme cupertino
by the Highlight.js Base16 template builder.
- https://github.com/highlightjs/base16-highlightjs
*/

/*
base00 #ffffff Default Background
base01 #c0c0c0 Lighter Background (Used for status bars, line number and folding marks)
base02 #c0c0c0 Selection Background
base03 #808080 Comments, Invisibles, Line Highlighting
base04 #808080 Dark Foreground (Used for status bars)
base05 #404040 Default Foreground, Caret, Delimiters, Operators
base06 #404040 Light Foreground (Not often used)
base07 #5e5e5e Light Background (Not often used)
base08 #c41a15 Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09 #eb8500 Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A #826b28 Classes, Markup Bold, Search Text Background
base0B #007400 Strings, Inherited Class, Markup Code, Diff Inserted
base0C #318495 Support, Regular Expressions, Escape Characters, Markup Quotes
base0D #0000ff Functions, Methods, Attribute IDs, Headings
base0E #a90d91 Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F #826b28 Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
*/

pre code.hljs {
display: block;
overflow-x: auto;
padding: 1em;
}

code.hljs {
padding: 3px 5px;
}

.hljs {
color: #404040;
background: #ffffff;
}

.hljs::selection,
.hljs ::selection {
background-color: #c0c0c0;
color: #404040;
}


/* purposely do not highlight these things */
.hljs-formula,
.hljs-params,
.hljs-property
{}

/* base03 - #808080 - Comments, Invisibles, Line Highlighting */
.hljs-comment {
color: #808080;
}

/* base04 - #808080 - Dark Foreground (Used for status bars) */
.hljs-tag {
color: #808080;
}

/* base05 - #404040 - Default Foreground, Caret, Delimiters, Operators */
.hljs-subst,
.hljs-punctuation,
.hljs-operator {
color: #404040;
}

.hljs-operator {
opacity: 0.7;
}

/* base08 - Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted */
.hljs-bullet,
.hljs-variable,
.hljs-template-variable,
.hljs-selector-tag,
.hljs-name,
.hljs-deletion {
color: #c41a15;
}

/* base09 - Integers, Boolean, Constants, XML Attributes, Markup Link Url */
.hljs-symbol,
.hljs-number,
.hljs-link,
.hljs-attr,
.hljs-variable.constant_,
.hljs-literal {
color: #eb8500;
}

/* base0A - Classes, Markup Bold, Search Text Background */
.hljs-title,
.hljs-class .hljs-title,
.hljs-title.class_
{
color: #826b28;
}

.hljs-strong {
font-weight:bold;
color: #826b28;
}

/* base0B - Strings, Inherited Class, Markup Code, Diff Inserted */
.hljs-code,
.hljs-addition,
.hljs-title.class_.inherited__,
.hljs-string {
color: #007400;
}

/* base0C - Support, Regular Expressions, Escape Characters, Markup Quotes */
.hljs-built_in,
.hljs-doctag, /* guessing */
.hljs-quote,
.hljs-keyword.hljs-atrule,
.hljs-regexp {
color: #318495;
}

/* base0D - Functions, Methods, Attribute IDs, Headings */
.hljs-function .hljs-title,
.hljs-attribute,
.ruby .hljs-property,
.hljs-title.function_,
.hljs-section {
color: #0000ff;
}

/* base0E - Keywords, Storage, Selector, Markup Italic, Diff Changed */
.hljs-type,
/* .hljs-selector-id, */
/* .hljs-selector-class, */
/* .hljs-selector-attr, */
/* .hljs-selector-pseudo, */
.hljs-template-tag,
.diff .hljs-meta,
.hljs-keyword {
color: #a90d91;
}
.hljs-emphasis {
color: #a90d91;
font-style: italic;
}

/* base0F - Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> */
.hljs-meta,
/*
prevent top level .keyword and .string scopes
from leaking into meta by accident
*/
.hljs-meta .hljs-keyword,
.hljs-meta .hljs-string
{
color: #826b28;
}

.hljs-meta .hljs-keyword,
/* for v10 compatible themes */
.hljs-meta-keyword {
font-weight: bold;
}
56 changes: 56 additions & 0 deletions docs/kiwi-pycon-2023/css/reveal-override.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/* Overides for dist/theme/white-contrast.css */

@import url(../fonts/source-code-pro/source-code-pro.css);

/* Don't stretch background images. */
.slide-background-content {
background-size: contain !important;
}

/* Don't show line numbers in code block.s */
.hljs-ln-numbers {
display: none;
}

:root {
/* TODO: Reason */
--r-block-margin: 0px;
/* Don't uppercase headings. */
--r-heading-text-transform: unset;
--r-code-font: Source Code Pro, monospace;
--r-code-font-size: 40px;
}

/* I think the following causes images to be stretched. */
.reveal .slides section,
.reveal .slides section > section {
max-width: unset;
max-height: unset;
}
/* This too... */
/* Ensure certain elements are never larger than the slide itself. */
.reveal img,
.reveal video,
.reveal iframe {
object-fit: unset;
}
/* Ensures images expand to 80% of the slide height. */
.reveal img {
max-height: 80vh;
height: 80vh;
}

.reveal pre {
/* Fixes the width to match other slide proportions. */
width: 88.75%;
/* Removes top and bottom margins. */
margin: auto;
/* Overwrites the font size. */
font-size: var(--r-code-font-size);
}

.reveal pre code {
/* TODO: Reason */
/* Gives code a border of 80px less than 80% of the view height. */
max-height: calc(80vh - 80px);
}
93 changes: 93 additions & 0 deletions docs/kiwi-pycon-2023/fonts/source-code-pro/OFL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Loading

0 comments on commit 1be9da4

Please sign in to comment.