From 8e1262da72faffe65789f2172a87295838f00211 Mon Sep 17 00:00:00 2001 From: Anika Date: Tue, 9 Apr 2019 19:21:23 +0200 Subject: [PATCH 1/2] catch me --- sections/01.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/sections/01.md b/sections/01.md index e69de29..0fb8b79 100644 --- a/sections/01.md +++ b/sections/01.md @@ -0,0 +1,29 @@ +# Round 1 + + + + +--- + +# 1 + + +--- + +``` +try { + if (you.can) { + throw new Exception(me); + } +} catch(me) { + +} +``` + +--- + + + +--- + + From a15a55b16ff9017a6267bd61337a141960c64665 Mon Sep 17 00:00:00 2001 From: Anika Date: Tue, 9 Apr 2019 19:22:10 +0200 Subject: [PATCH 2/2] Flo's css for LaTeX-Tut --- css/custom.css | 112 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 css/custom.css diff --git a/css/custom.css b/css/custom.css new file mode 100644 index 0000000..294f924 --- /dev/null +++ b/css/custom.css @@ -0,0 +1,112 @@ +/* + * Keyboard Shortcut Styling + * ========================= + */ +kbd { + font-family: "Fira Code", monospace !important; + font-size: 65% !important; + display: inline-block; + border: 1px solid white !important; + border-width: 1px 5px 5px 1px !important; + padding: .2rem .5rem !important; +} + +/* simple two-column layout */ +.two-columns { + display: flex; +} + +.two-columns .column { + width: 50%; + overflow: hidden; +} + +/* + * Inline Code Snippets + * ==================== + */ +:not(pre) > code { + font-size: 85% !important; +} + +code.snippet { + display: inline-block; + padding: .2rem .5rem; + background-color: #3f3f3f; + font-size: 70% !important; + color: #dcdcdc; +} + +/* + * Booktab-Style Tables + * ==================== + */ +table thead { + border: none !important; + border-top: 1px solid white !important; + border-bottom: 1px solid white !important; +} + +table tr td { + border: none !important; +} + +table tr:last-of-type { + border-bottom: 1px solid white !important; +} + +/* + * Slideshows + * ========== + */ + +.slideshow-wrapper { + width: 100%; + display: flex; + align-items: center; + justify-content: center; +} + +.slideshow { + width: var(--slideshow-width); + height: var(--slideshow-height); + margin: 0 auto; + overflow-x: scroll; + scroll-snap-type-x: mandatory; + scroll-snap-points-x: repeat(100%); +} + +.slideshow .slide-container { + display: flex; + width: calc((var(--slideshow-slidecount) + 1) * var(--slideshow-width)); + height: 100%; +} + +.slideshow .slide-container .slide { + width: var(--slideshow-width); + height: 100%; + display: flex; + align-items: center; + justify-content: center; + height: 100%; + position: relative; +} + +.slideshow .slide-container .slide .slide-image { + padding: 0; + margin: 0 !important; +} + +.slideshow .slide-container .slide .slide-caption { + position: absolute; + display: flex; + justify-content: space-between; + bottom: 0; + left: 0; + width: var(--slideshow-width); + max-width: var(--slideshow-width); + box-sizing: border-box; + padding: .5rem 2rem; + font-size: 1.5rem !important; + background-color: rgba(0, 0, 0, .75); +} \ No newline at end of file