Commit bbc8f8ba authored by vrnnncl's avatar vrnnncl

Updates

parent 71ce0474
<!DOCTYPE html>
<html lang="en">
<html lang="ru">
<head>
<title>Shower Presentation Engine</title>
<title>Некоторая презентация</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="stylesheet" href="shower/themes/ribbon/styles/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="shower/themes/material/styles/styles.css">
<style>
.shower {
--slide-ratio: calc(16 / 9);
--color-key: rgb(241, 241, 241);
}
</style>
</head>
<body class="shower list">
<header class="caption">
<h1>Shower Presentation Engine</h1>
<p>Yours Truly, Famous Inc.</p>
<h1>Мои невероятные навыки и неисчислимые достижения</h1>
<p>Лотуга Данила Сергеевич, ИВТ, 2й семестр, группа 2.1</p>
</header>
<section class="slide" id="cover">
<h2>Shower Presentation Engine</h2>
<p>Brought to you by <a href="https://pepelsbey.net">Vadim Makeev</a></p>
<figure>
<img class="cover" src="pictures/cover.jpg" alt="Hands on the orange typewriter in a park">
<figcaption class="copyright right white">
<a href="https://fiftyfootshadows.net">© John Carey</a>
</figcaption>
</figure>
<style>
#cover h2 {
margin: 30px 0 0;
color: white;
text-align: center;
font-size: 70px;
}
#cover p {
margin: 10px 0 0;
text-align: center;
color: white;
font-style: italic;
font-size: 20px;
}
#cover p a {
color: white;
}
</style>
</section>
<section class="slide">
<h2>Shower key features</h2>
<ol>
<li>Built on HTML, CSS and JavaScript</li>
<li>Works in all modern browsers</li>
<li>Themes are separated from engine</li>
<li>Fully keyboard accessible</li>
<li>Printable to PDF</li>
</ol>
<p class="note">Shower ['ʃəuə] noun. A person or thing that shows.</p>
</section>
<section class="slide">
<h2>Plain text on your slides</h2>
<p>Lorem ipsum dolor sit amet, consectetur <a href="#4">adipisicing</a> elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, <em>quis nostrud</em> exercitation ullamco laboris <strong>nisi ut aliquip</strong> ex ea commodo consequat. Duis aute irure <i>dolor</i> in reprehenderit in voluptate velit esse cillum <b>dolore</b> eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in <code>&lt;culpa&gt;</code> qui officia deserunt mollit anim id est laborum.</p>
<h2 class="shout">Слайд (первый)</h2>
<div class="spotlight next" style="
--spotlight-top: 10px;
--spotlight-radius: 50%;
--spotlight-opacity: 0.2;
--spotlight-width: 90px;
--spotlight-height: 90px;
--spotlight-left: 256px;
"></div>
</section>
<section class="slide">
<h2>Two columns if you like</h2>
<div class="columns two">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.</p>
<p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.</p>
</div>
<h2>Кто я?</h2>
<p>Зовут меня Данила, учусь в РГПУ.</p>
<p>Приехал из города Великий Новгород.</p>
<p> У меня там сестренка. Поручила купить ей кошку. А тут продают таких желтых и противных. Пришлось купить.</p>
<p>Ни о чем не жалею, получаю от жизни только лимоны.</p>
</section>
<section class="slide">
<h2>All kind of lists</h2>
<ol>
<li>Simple lists are marked with bullets</li>
<li>Ordered lists begin with a number</li>
<li>You can even nest lists one inside another
<ul>
<li>Or mix their types</li>
<li>But do not go too far</li>
<li>Otherwise audience will be bored</li>
</ul>
</li>
<li>Look, seven rows exactly!</li>
</ol>
<h2>Что просиходит</h2>
<p>Так как данная презентация была сделана с целью демонстрации всех своих навыков и умений, в том числе полученных во время 1 семестра, весь следующий блок будет посвещен ранее упомянутым вещам.</p>
<p>Не судите строго, это мое первое резюме 😳</p>
</section>
<section class="slide">
<h2>Serious citations</h2>
<figure>
<blockquote>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.</p>
</blockquote>
<figcaption>Marcus Tullius Cicero</figcaption>
</figure>
<h2 class="shout">Навыки и умения</h2>
</section>
<section class="slide">
<h2>Code samples</h2>
<section class="slide clear">
<pre>
<code>&lt;!DOCTYPE html&gt;</code>
<code class="mark">&lt;html lang="en"&gt;</code>
<code><mark>&lt;head&gt;</mark> <span class="comment">&lt;!--Comment--&gt;</span></code>
<code> &lt;title&gt;Shower&lt;/title&gt;</code>
<code> &lt;meta charset="<mark class="important">UTF-8</mark>"&gt;</code>
<code> &lt;link rel="stylesheet" href="screen.css"&gt;</code>
<code><mark>&lt;/head&gt;</mark></code>
<code>program <span style="color: fuchsia;">AAAAAAAAAAAA</span>;</code>
<code><span style="color: blue;">var</span></code>
<code> first_word: <span style="color: red;">string</span>;</code>
<code> vtoroye_slovo: <span style="color: red;">string</span>;</code>
<code><span style="color: blueviolet;">begin</span></code>
<code> first_word := 'Hello';</code>
<code> vtoroye_slovo := 'world';</code>
<code> write(first_word, ' ', vtoroye_slovo);</code>
<code><span style="color: blueviolet;">end.</span></code>
</pre>
</section>
</section>
<section class="slide">
<h2>Even tables</h2>
<table>
<tr>
<th scope="col">Locavore</th>
<th>Umami</th>
<th>Helvetica</th>
<th>Vegan</th>
</tr>
<tr>
<th scope="row">Fingerstache</th>
<td>Kale</td>
<td>Chips</td>
<td>Keytar</td>
</tr>
<tr>
<th scope="row">Sriracha</th>
<td>Gluten-free</td>
<td>Ennui</td>
<td>Keffiyeh</td>
</tr>
<tr>
<th scope="row">Thundercats</th>
<td>Jean</td>
<td>Shorts</td>
<td>Biodiesel</td>
</tr>
<tr>
<th scope="row">Terry</th>
<td>Richardson</td>
<td>Swag</td>
<td>Blog</td>
</tr>
</table>
<p>It’s good to have information organized.</p>
</section>
<section class="slide" id="picture">
<h2>Pictures</h2>
<figure>
<img class="cover" src="pictures/picture.jpg" alt="Orange typewriter on a wooden table close-up">
<figcaption class="copyright right white">
<a href="https://fiftyfootshadows.net">© John Carey</a>
</figcaption>
</figure>
<style>
#picture h2 {
color: white;
}
</style>
<h2 class="shout">Навыки и умения
(конец)
</h2>
</section>
<section class="slide">
<h2 class="shout shrink">You can even shout this way</h2>
<section class="slide clear">
<img class="place" src="images\fucked_danila.png">
<h2 class="place">🤪
<span style="color:red">а</span>
<span style="color:orange">а</span>
<span style="color:yellow">а</span>
<span style="color:green">а</span>
<span style="color:blue">а</span>
<span style="color:violet">а</span>🤪
</h2>
<h1 class="place bottom">Я умею вставлять картинки</h1>
</section>
<section class="slide">
<h2>Inner navigation</h2>
<ol>
<li>Lets you reveal list items one by one</li>
<li class="next">To keep some key points</li>
<li class="next">In secret from audience</li>
<li class="next">But it will work only once</li>
<li class="next">Nobody wants to see the same joke twice</li>
</ol>
<h><mark>Мои любимые эмодзи</mark></h>
<table>
<tbody>
<tr>
<th>"Это слишком для зачёта, пожалейте мою зачетку"</th>
<th>🥺</th>
</tr>
<tr>
<th>"Дедлайн вчера..."</th>
<th>😳</th>
</tr>
<tr>
<th>"Очная физ-ра"</th>
<th>🥵</th>
</tr>
<tr>
<th>"Вот так вот вот так вот"</th>
<th>👈👉👆👇</th>
</tr>
<tr>
<th>"Деэдлайн передвинулся (первая повторная)"</th>
<th>🤯</th>
</tr>
<tr>
<th>"Пасынкую огурцы"</th>
<th>🙇‍♀️</th>
</tr>
</tbody>
</table>
</section>
<section class="slide" id="see-more">
<h2 class="shout">
<img src="pictures/logo.svg" alt="Shower logo">
<a href="https://github.com/shower/shower">See more on GitHub</a>
</h2>
<style>
#see-more h2 {
font-size: 100px
}
#see-more img {
width: 0.72em;
height: 0.72em;
}
</style>
<section class="slide clear">
<img class="place" style="width: 1080px; height: 1800px;" src="images\281333370.gif">
</section>
<footer class="badge">
<a href="https://github.com/shower/shower">Fork me on GitHub</a>
<a href="https://sites.google.com/view/danilalotuga/%D0%B3%D0%BB%D0%B0%D0%B2%D0%BD%D0%B0%D1%8F">Мое портфолио</a>
</footer>
<div class="progress"></div>
<script src="shower/shower.js"></script>
<!-- Copyright © 3000 Yours Truly, Famous Inc. -->
<!-- Copyright © 2022 Yours Truly, Famous Inc. -->
</body>
</html>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill="#4b86c2" d="M327.5 273.5l17.7-17.7L500 410.7v-35.4L362.8 238.1l17.7-17.7L500 339.9v-35.4L398.2 202.8l17.7-17.7 84.1 84.1V50c0-27.6-22.4-50-50-50H50C22.4 0 0 22.4 0 50v400c0 27.6 22.4 50 50 50h214.3c4.9-20.5-.7-42.9-16.7-58.9L186 379.5 124.5 318c-53.9-53.9-54.1-141.1-.4-194.8 53.7-53.7 140.9-53.6 194.8.3l8.5 8.5h106.1L274 291.1v-106l-8.3-8.5c-24.5-24.5-64-24.6-88.4-.2s-24.3 64.1.2 88.5l61.5 61.5 61.5 61.5c30.6 30.6 43.9 72.1 39.8 112H450c27.6 0 50-22.4 50-50v-4L327.5 273.5z"/></svg>
\ No newline at end of file
# The MIT License
Copyright © 2010–2019 Vadim Makeev, https://pepelsbey.net/
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---
# Лицензия MIT
Copyright © 2010–2019 Вадим Макеев, https://pepelsbey.net/
Данная лицензия разрешает лицам, получившим копию данного программного обеспечения и сопутствующей документации (в дальнейшем именуемыми «Программное Обеспечение»), безвозмездно использовать Программное Обеспечение без ограничений, включая неограниченное право на использование, копирование, изменение, добавление, публикацию, распространение, сублицензирование и/или продажу копий Программного Обеспечения, также как и лицам, которым предоставляется данное Программное Обеспечение, при соблюдении следующих условий:
Указанное выше уведомление об авторском праве и данные условия должны быть включены во все копии или значимые части данного Программного Обеспечения.
ДАННОЕ ПРОГРАММНОЕ ОБЕСПЕЧЕНИЕ ПРЕДОСТАВЛЯЕТСЯ «КАК ЕСТЬ», БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ, ЯВНО ВЫРАЖЕННЫХ ИЛИ ПОДРАЗУМЕВАЕМЫХ, ВКЛЮЧАЯ, НО НЕ ОГРАНИЧИВАЯСЬ ГАРАНТИЯМИ ТОВАРНОЙ ПРИГОДНОСТИ, СООТВЕТСТВИЯ ПО ЕГО КОНКРЕТНОМУ НАЗНАЧЕНИЮ И ОТСУТСТВИЯ НАРУШЕНИЙ ПРАВ. НИ В КАКОМ СЛУЧАЕ АВТОРЫ ИЛИ ПРАВООБЛАДАТЕЛИ НЕ НЕСУТ ОТВЕТСТВЕННОСТИ ПО ИСКАМ О ВОЗМЕЩЕНИИ УЩЕРБА, УБЫТКОВ ИЛИ ДРУГИХ ТРЕБОВАНИЙ ПО ДЕЙСТВУЮЩИМ КОНТРАКТАМ, ДЕЛИКТАМ ИЛИ ИНОМУ, ВОЗНИКШИМ ИЗ, ИМЕЮЩИМ ПРИЧИНОЙ ИЛИ СВЯЗАННЫМ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ ИЛИ ИСПОЛЬЗОВАНИЕМ ПРОГРАММНОГО ОБЕСПЕЧЕНИЯ ИЛИ ИНЫМИ ДЕЙСТВИЯМИ С ПРОГРАММНЫМ ОБЕСПЕЧЕНИЕМ.
# Ribbon theme for Shower
[![Test status](https://github.com/shower/ribbon/workflows/Test/badge.svg)](https://github.com/shower/ribbon/actions/workflows/test.yml)
![Ribbon screen shot](pictures/canvas.png)
Default theme for the [Shower](https://github.com/shower/shower/) presentation engine. Doesn’t include engine itself. [See it in action](https://shwr.me/shower/themes/ribbon/). Follow [@shower_me](https://twitter.com/shower_me) for support and updates, [file an issue](https://github.com/shower/shower/issues/new) if you have any.
## Usage
Get the Shower template where Ribbon is already included. Download the [template archive](https://shwr.me/shower.zip) or create a slide deck via [CLI tool](https://github.com/shower/cli). It requires [Node.js](https://nodejs.org/) installed.
npx @shower/cli create
Wait for the installation and choose the **ribbon** option in the wizard and you’re all set.
## Features
All theme’s features are demonstrated in the [index.html](index.html) file, [see it live](https://shwr.me/shower/themes/ribbon/). Use it as a reference while building your presentation. See more detailed [features overview](https://github.com/shower/shower/blob/main/docs/features.md).
## Ratios
Ribbon theme supports any slide ratio you want. But it’s optimized for the most common ones: 16×9 and 4×3. It’s 16×9 by default, but you can change it by adjusting `--slide-ratio` property for `.shower`, [see example](https://github.com/shower/ribbon/blob/main/index.html#L10) in `index.html`.
## PDF
You can export slides to PDF by printing it via built-in dialog in Chromium-based browsers or via CLI tool. See [printing documentation](https://github.com/shower/shower/blob/main/docs/pdf.md) for more options.
## Development
If you want to adjust theme for your needs:
1. Fork this repository and clone it to your local machine.
2. Install dependencies: `npm install`.
3. Start a local server with watcher: `npm start`.
4. Edit your files and see changes in the opened browser.
To take part in Ribbon development please read [contributing guidelines](CONTRIBUTING.md) first and [file an issue](https://github.com/shower/shower/issues/new) before sending any pull request.
---
Licensed under [MIT License](LICENSE.md).
Copyright (c) 2009, ParaType Ltd. All Rights Reserved.
LICENSING AGREEMENT
for the fonts with Original Name: PT Sans, PT Serif, PT Mono.
Version 1.3 - January 20, 2012
GRANT OF LICENSE
ParaType Ltd grants you the right to use, copy, modify the fonts and distribute
modified and unmodified copies of the fonts by any means, including placing
on Web servers for free downloading, embedding in documents and Web pages,
bundling with commercial and non commercial products, if it does not conflict
with the conditions listed below:
- You may bundle the font with commercial software, but you may not sell the
fonts by themselves. They are free.
- You may distribute the fonts in modified or unmodified version only together
with this Licensing Agreement and with above copyright notice. You have no
right to modify the text of Licensing Agreement. It can be placed in a separate
text file or inserted into the font file, but it must be easily viewed by users.
- You may not distribute modified version of the font under the Original name
or � combination of Original name with any other words without explicit written
permission from ParaType.
TERMINATION & TERRITORY
This license has no limits on time and territory, but it 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 PARATYPE 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.
ParaType Ltd
https://www.paratype.ru/
<!DOCTYPE html>
<html lang="en">
<head>
<title>Ribbon theme for Shower</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="stylesheet" href="styles/styles.css">
<style>
.shower {
--slide-ratio: calc(16 / 9);
}
</style>
</head>
<body class="shower list grid">
<header class="caption">
<h1>Presentation Title</h1>
<p><a href="">Yours Truly</a>, Famous Inc.</p>
</header>
<section class="slide">
<h2>Slide Header</h2>
<p>Echo Park 8-bit sustainable umami deep v Kickstarter. DIY cliche typewriter brunch, Odd Future sriracha pickled aesthetic. Farm-to-table bespoke fingerstache, kale chips umami brunch letterpress.</p>
<p>Whatever authentic disrupt, you probably haven’t heard of them direct trade mlkshk Etsy. Gluten-free roof party plaid four loko quinoa.</p>
<p class="note">Echo Park 8-bit sustainable umami deep v Kickstarter.</p>
</section>
<section class="slide">
<h2>First Header</h2>
<p>Echo Park 8-bit sustainable umami deep v Kickstarter. DIY cliche typewriter brunch, Odd Future sriracha pickled aesthetic.</p>
<h2>Second Header</h2>
<p>Whatever authentic disrupt, you probably haven’t heard of them direct trade mlkshk Etsy. Gluten-free roof party plaid four loko quinoa.</p>
</section>
<section class="slide">
<h2><a href="">Linked Header</a></h2>
<p>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack bespoke Helvetica roof party. Messenger bag retro cred Portland next level. Yr stumptown Schlitz Carles deep v small batch. Echo Park 8-bit sustainable umami deep v Kickstarter. Hella sustainable messenger bag, leggings skateboard literally bicycle rights H₂0 mumblecore banh mi DIY VHS. Semiotics four loko street art asymmetrical.</p>
</section>
<section class="slide">
<h2>
Multiline<br>
Header
</h2>
<p>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack bespoke Helvetica roof party. Messenger bag retro cred Portland next level. Yr stumptown Schlitz Carles deep v small batch. Hella sustainable messenger bag, leggings skateboard literally1 bicycle rights H₂0 mumblecore banh mi DIY VHS. Semiotics four loko street art asymmetrical.</p>
</section>
<section class="slide">
<h2>Inline Elements</h2>
<p>Retro meh brunch <a href="">aesthetic</a> Cosby sweater Shoreditch. Banksy Tumblr <strong>sriracha</strong>, flexitarian pug chia master cleanse vinyl <em>wayfarers</em> fanny pack bespoke Helvetica <b>roof</b> party. Messenger bag retro cred <i>Portland</i> next level. Yr stumptown Schlitz Carles deep v small batch. Hella sustainable messenger bag, <mark>leggings</mark> skateboard literally<sup>1</sup> bicycle rights H<sub>2</sub>0 mumblecore banh mi DIY VHS. Semiotics four loko street art asymmetrical. Asymmetrical <code>&lt;paleo&gt;</code> you probably haven’t heard of.</p>
<footer class="footer">
<p>Flannel bicycle rights locavore selfies skateboard. Authentic fanny pack paleo four loko bespoke. Artisan tattooed chia XOXO ennui, lomo disrupt 8-bit art party Tumblr scenester. Post-ironic fashion axe flexitarian, Tonx narwhal messenger bag Tumblr. Portland gentrify deep v kale chips literally.</p>
</footer>
</section>
<section class="slide">
<h2>Block Quotes</h2>
<blockquote>
<p>Flannel bicycle rights locavore selfies skateboard. Authentic fanny pack paleo four loko bespoke. Artisan tattooed chia XOXO ennui, lomo disrupt 8-bit art party Tumblr scenester.</p>
</blockquote>
<figure>
<blockquote>
<p>Post-ironic fashion axe flexitarian, Tonx narwhal messenger bag Tumblr. Portland gentrify deep v kale chips literally.</p>
</blockquote>
<figcaption>Yours Truly</figcaption>
</figure>
</section>
<section class="slide">
<h2>Ordered List</h2>
<ol>
<li>Literally viral vegan, ugh drinking vinegar photo booth</li>
<li>Wes Anderson chillwave Marfa pour-over Etsy banh mi</li>
<li>Ethnic polaroid lo-fi iPhone ennui</li>
<li>Yr wayfarers before they sold out Kickstarter asymmetrical</li>
<li>Irony flexitarian readymade quinoa, kogi bespoke meggings narwhal</li>
<li>Skateboard Etsy twee artisan Echo Park</li>
<li>Tonx kitsch fingerstache readymade, retro single-origin coffee</li>
</ol>
</section>
<section class="slide">
<h2>Unordered List</h2>
<ul>
<li>Literally viral vegan, ugh drinking vinegar photo booth</li>
<li>Wes Anderson chillwave Marfa pour-over Etsy banh mi</li>
<li>Ethnic polaroid lo-fi iPhone ennui</li>
<li>Yr wayfarers before they sold out Kickstarter asymmetrical</li>
<li>Irony flexitarian readymade quinoa, kogi bespoke meggings narwhal</li>
<li>Skateboard Etsy twee artisan Echo Park</li>
<li>Tonx kitsch fingerstache readymade, retro single-origin coffee</li>
</ul>
</section>
<section class="slide">
<h2>Multiline List Items</h2>
<ul>
<li>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack.</li>
<li>Messenger bag retro cred Portland next level. Yr stumptown Schlitz Carles deep v small batch. Hella sustainable messenger bag.</li>
<li>Leggings skateboard literally1 bicycle rights H₂0 mumblecore banh mi DIY VHS. Semiotics four loko street art asymmetrical. Asymmetrical paleo you probably haven’t heard of.</li>
</ul>
</section>
<section class="slide">
<h2>Nested Lists</h2>
<ol>
<li>Literally viral vegan, ugh drinking vinegar photo booth</li>
<li>Wes Anderson chillwave Marfa pour-over Etsy banh mi</li>
<li>Ethnic polaroid lo-fi iPhone ennui
<ul>
<li>Yr wayfarers before they sold out Kickstarter asymmetrical</li>
<li>Irony flexitarian readymade quinoa, kogi bespoke meggings narwhal</li>
<li>Skateboard Etsy twee artisan Echo Park</li>
</ul>
</li>
<li>Tonx kitsch fingerstache readymade, retro single-origin coffee</li>
</ol>
</section>
<section class="slide">
<h2>Latin and Cyrillic List Bullets</h2>
<ul lang="en">
<li>Occupy locavore blog, mustache you probably haven’t heard of them</li>
<li>Skateboard pork belly aesthetic hoodie selfies brunch</li>
<li>Food truck gluten-free disrupt Portland</li>
</ul>
<ul lang="ru">
<li>Helvetica narwhal drinking vinegar chillwave, post-ironic ennui</li>
<li>Cray pug paleo retro, Echo Park narwhal Wes Anderson</li>
<li>Disrupt Williamsburg fixie, shabby chic bicycle rights hashtag kogi</li>
</ul>
</section>
<section class="slide">
<h2>Custom List Bullets</h2>
<ul>
<li value="+">Helvetica narwhal drinking vinegar chillwave, post-ironic ennui</li>
<li value="−">Cray pug paleo retro, Echo Park narwhal Wes Anderson</li>
<li value="+">Disrupt Williamsburg fixie, shabby chic bicycle rights hashtag kogi</li>
</ul>
<ol>
<li value="100">Occupy locavore blog, mustache you probably haven’t heard of them</li>
<li value="10">Skateboard pork belly aesthetic hoodie selfies brunch</li>
<li value="1">Food truck gluten-free disrupt Portland</li>
</ol>
</section>
<section class="slide">
<h2>Two Text Columns</h2>
<div class="columns two">
<p>Echo Park 8-bit sustainable umami deep v Kickstarter. DIY cliche typewriter brunch, Odd Future sriracha pickled aesthetic. Farm-to-table bespoke fingerstache, kale chips umami brunch.</p>
<p>American Apparel letterpress. Whatever authentic disrupt, you probably haven’t heard of them direct trade mlkshk Etsy. Gluten-free roof party plaid American Apparel four loko quinoa.</p>
</div>
</section>
<section class="slide">
<h2>Two List Columns</h2>
<div class="columns two">
<ul>
<li>Occupy locavore, mustache you probably haven’t heard of them</li>
<li>Skateboard pork belly aesthetic hoodie selfies brunch</li>
<li>Food truck gluten-free disrupt Portland</li>
</ul>
<ul>
<li>Helvetica narwhal drinking vinegar chillwave, post-ironic ennui</li>
<li>Cray pug paleo retro, Echo Park narwhal Wes Anderson</li>
<li>Disrupt Williamsburg fixie, shabby chic bicycle rights hashtag kogi</li>
</ul>
</div>
</section>
<section class="slide">
<h2>Three List Columns</h2>
<div class="columns three">
<ul>
<li>Skateboard pork belly aesthetic hoodie selfies brunch.</li>
<li>You probably haven’t heard of them.</li>
</ul>
<ul>
<li>Food truck gluten-free Portland.</li>
<li>Helvetica narwhal drinking vinegar chillwave, post-ironic ennui</li>
</ul>
<ul>
<li>Cray pug paleo retro, Echo Park narwhal Wes Anderson</li>
<li>Disrupt fixie, shabby chic bicycle rights hashtag kogi</li>
</ul>
</div>
</section>
<section class="slide">
<h2>Four List Columns</h2>
<div class="columns four">
<ul>
<li>Gentrify</li>
<li>Messenger</li>
<li>Meggings</li>
<li>Vegan</li>
<li>Next level</li>
<li>Umami</li>
</ul>
<ul>
<li>Twee</li>
<li>Mixtape</li>
<li>Freegan</li>
<li>Occupy</li>
<li>Selfies</li>
<li>Haven’t heard</li>
</ul>
<ul>
<li>Artisan</li>
<li>Small batch</li>
<li>Biodiesel</li>
<li>Normcore</li>
<li>Sustainable</li>
<li>Skateboard</li>
</ul>
<ul>
<li>Banksy</li>
<li>Bicycle rights</li>
<li>Slow-carb</li>
<li>Bird on it</li>
<li>Organic</li>
<li>Farm-to-table</li>
</ul>
</div>
</section>
<section class="slide">
<div class="columns two">
<div>
<h2>Column Header One</h2>
<p>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack bespoke Helvetica roof party. Messenger bag retro cred Portland next level.</p>
</div>
<div>
<h2>Column Header Two</h2>
<p>Yr stumptown Schlitz Carles deep v small batch. Echo Park 8-bit sustainable umami deep v Kickstarter. Hella sustainable messenger bag, leggings skateboard literally bicycle rights H₂0 mumblecore banh.</p>
</div>
</div>
</section>
<section class="slide">
<h2>Simple Table</h2>
<table>
<tr>
<th scope="col">Gentrify</th>
<th>Twee</th>
<th>Artisan</th>
<th>Banksy</th>
</tr>
<tr>
<th scope="row">Messenger</th>
<td>Mixtape</td>
<td>Small batch</td>
<td>Bicycle rights</td>
</tr>
<tr>
<th scope="row">Meggings</th>
<td>Freegan</td>
<td>Retro biodiesel</td>
<td>Slow-carb</td>
</tr>
<tr>
<th scope="row">Vegan</th>
<td>Occupy</td>
<td>Normcore</td>
<td>Put a bird on it</td>
</tr>
<tr>
<th scope="row">Next level</th>
<td>Selfies</td>
<td>Sustainable</td>
<td>Organic</td>
</tr>
<tr>
<th scope="row">Umami</th>
<td>Asymmetrical</td>
<td>Keytar</td>
<td>Craft beer</td>
</tr>
<tr>
<th scope="row">Biodiesel</th>
<td>Haven’t heard</td>
<td>Skateboard</td>
<td>Farm-to-table</td>
</tr>
</table>
</section>
<section class="slide">
<h2>Marked Simple Table</h2>
<table>
<tr>
<th scope="col">Gentrify</th>
<th>Twee</th>
<th>Artisan</th>
<th>Banksy</th>
</tr>
<tr>
<th scope="row">Messenger</th>
<td>Mixtape</td>
<td>Small batch</td>
<td>Bicycle rights</td>
</tr>
<tr class="mark">
<th scope="row">Meggings</th>
<td>Freegan</td>
<td>Retro biodiesel</td>
<td>Slow-carb</td>
</tr>
<tr class="mark next">
<th scope="row">Vegan</th>
<td>Occupy</td>
<td>Normcore</td>
<td>Put a bird on it</td>
</tr>
<tr class="mark next">
<th scope="row">Next level</th>
<td>Selfies</td>
<td>Sustainable</td>
<td>Organic</td>
</tr>
<tr>
<th scope="row">Umami</th>
<td>Asymmetrical</td>
<td>Keytar</td>
<td>Craft beer</td>
</tr>
<tr>
<th scope="row">Biodiesel</th>
<td>Haven’t heard</td>
<td>Skateboard</td>
<td>Farm-to-table</td>
</tr>
</table>
</section>
<section class="slide">
<h2>Striped Table</h2>
<table class="striped">
<tr>
<th scope="col">Gentrify</th>
<th>Twee</th>
<th>Artisan</th>
<th>Banksy</th>
</tr>
<tr>
<th scope="row">Messenger</th>
<td>Mixtape</td>
<td>Small batch</td>
<td>Bicycle rights</td>
</tr>
<tr>
<th scope="row">Meggings</th>
<td>Freegan</td>
<td>Retro biodiesel</td>
<td>Slow-carb</td>
</tr>
<tr>
<th scope="row">Vegan</th>
<td>Occupy</td>
<td>Normcore</td>
<td>Put a bird on it</td>
</tr>
<tr>
<th scope="row">Next level</th>
<td>Selfies</td>
<td>Sustainable</td>
<td>Organic</td>
</tr>
<tr>
<th scope="row">Umami</th>
<td>Asymmetrical</td>
<td>Keytar</td>
<td>Craft beer</td>
</tr>
<tr>
<th scope="row">Biodiesel</th>
<td>Haven’t heard</td>
<td>Skateboard</td>
<td>Farm-to-table</td>
</tr>
</table>
</section>
<section class="slide">
<h2>Marked Striped Table</h2>
<table class="striped">
<tr>
<th scope="col">Gentrify</th>
<th>Twee</th>
<th>Artisan</th>
<th>Banksy</th>
</tr>
<tr>
<th scope="row">Messenger</th>
<td>Mixtape</td>
<td>Small batch</td>
<td>Bicycle rights</td>
</tr>
<tr class="mark">
<th scope="row">Meggings</th>
<td>Freegan</td>
<td>Retro biodiesel</td>
<td>Slow-carb</td>
</tr>
<tr class="mark next">
<th scope="row">Vegan</th>
<td>Occupy</td>
<td>Normcore</td>
<td>Put a bird on it</td>
</tr>
<tr class="mark next">
<th scope="row">Next level</th>
<td>Selfies</td>
<td>Sustainable</td>
<td>Organic</td>
</tr>
<tr>
<th scope="row">Umami</th>
<td>Asymmetrical</td>
<td>Keytar</td>
<td>Craft beer</td>
</tr>
<tr>
<th scope="row">Biodiesel</th>
<td>Haven’t heard</td>
<td>Skateboard</td>
<td>Farm-to-table</td>
</tr>
</table>
</section>
<section class="slide">
<h2>Plain Code Block</h2>
<pre><code>&lt;html lang="en"&gt;
<mark>&lt;head&gt;</mark> <span class="comment">&lt;!--Comment--&gt;</span>
&lt;title&gt;Shower&lt;/title&gt;
&lt;meta charset="<mark class="important">UTF-8</mark>"&gt;
&lt;link rel="stylesheet" href="screen.css"&gt;
&lt;script src="script.js"&gt;&lt;/script&gt;
<mark>&lt;/head&gt;</mark></code></pre>
</section>
<section class="slide">
<h2>Numbered Code Lines</h2>
<pre>
<code>&lt;html lang="en"&gt;</code>
<code><mark>&lt;head&gt;</mark> <span class="comment">&lt;!--Comment--&gt;</span></code>
<code> &lt;title&gt;Shower&lt;/title&gt;</code>
<code> &lt;meta charset="<mark class="important">UTF-8</mark>"&gt;</code>
<code> &lt;link rel="stylesheet" href="screen.css"&gt;</code>
<code> &lt;script src="script.js"&gt;&lt;/script&gt;</code>
<code><mark>&lt;/head&gt;</mark></code>
</pre>
</section>
<section class="slide">
<h2>Marked Code Lines</h2>
<pre>
<code>&lt;html lang="en"&gt;</code>
<code>&lt;head&gt; <span class="comment">&lt;!--Comment--&gt;</span></code>
<code class="mark"> &lt;title&gt;Shower&lt;/title&gt;</code>
<code> &lt;meta charset="<mark class="important">UTF-8</mark>"&gt;</code>
<code class="mark"> &lt;link rel="stylesheet" href="screen.css"&gt;</code>
<code> &lt;script src="script.js"&gt;&lt;/script&gt;</code>
<code>&lt;/head&gt;</code>
</pre>
</section>
<section class="slide">
<h2>Stepped Code Lines</h2>
<pre>
<code class="next">&lt;html lang="en"&gt;</code>
<code class="next"><mark>&lt;head&gt;</mark> <span class="comment">&lt;!--Comment--&gt;</span></code>
<code class="next"> &lt;title&gt;Shower&lt;/title&gt;</code>
<code class="next"> &lt;meta charset="<mark class="important">UTF-8</mark>"&gt;</code>
<code class="next"> &lt;link rel="stylesheet" href="screen.css"&gt;</code>
<code class="next"> &lt;script src="script.js"&gt;&lt;/script&gt;</code>
<code class="next"><mark>&lt;/head&gt;</mark></code>
</pre>
</section>
<section class="slide">
<h2>Stepped Marked Code Lines</h2>
<pre>
<code>&lt;html lang="en"&gt;</code>
<code>&lt;head&gt; <span class="comment">&lt;!--Comment--&gt;</span></code>
<code class="mark next"> &lt;title&gt;Shower&lt;/title&gt;</code>
<code> &lt;meta charset="<mark class="important">UTF-8</mark>"&gt;</code>
<code class="mark next"> &lt;link rel="stylesheet" href="screen.css"&gt;</code>
<code> &lt;script src="script.js"&gt;&lt;/script&gt;</code>
<code>&lt;/head&gt;</code>
</pre>
</section>
<section class="slide gray">
<h2>Gray Slide</h2>
</section>
<section class="slide black">
<h2>Black Slide</h2>
</section>
<section class="slide clear">
<h2>Clear Slide</h2>
</section>
<section class="slide">
<h2 class="shout">Shout</h2>
</section>
<section class="slide">
<h2 class="shout">
Long
Multiline
Shout
</h2>
</section>
<section class="slide">
<h2 class="shout">
<a href="">Linked Shout</a>
</h2>
</section>
<section class="slide">
<h2 class="shout">
<a href="">
Long
Multiline
Linked
</a>
</h2>
</section>
<section class="slide">
<h2 class="shout grow">Growing Shout</h2>
</section>
<section class="slide">
<h2 class="shout shrink">Shrinking Shout</h2>
</section>
<section class="slide">
<h2>Cover</h2>
<figure>
<img class="cover" src="pictures/exact.svg" alt="Picture placeholder.">
<figcaption class="copyright top">Copyright © 3000 <a href="">Yours Truly</a>, Famous Inc.</figcaption>
<figcaption class="copyright white">Copyright © 3000 <a href="">Yours Truly</a>, Famous Inc.</figcaption>
<figcaption class="copyright bottom">Copyright © 3000 <a href="">Yours Truly</a>, Famous Inc.</figcaption>
</figure>
</section>
<section class="slide">
<h2>Tall Cover</h2>
<img class="cover" src="pictures/tall.svg" alt="Tall picture placeholder.">
</section>
<section class="slide">
<h2>Wide Cover</h2>
<img class="cover" src="pictures/wide.svg" alt="Wide picture placeholder.">
</section>
<section class="slide clear">
<h2>Placed Elements</h2>
<img class="place top left" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place top" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place top right" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place left" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place right" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place bottom left" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place bottom" src="pictures/square.svg" alt="Square picture placeholder.">
<img class="place bottom right" src="pictures/square.svg" alt="Square picture placeholder.">
</section>
<section class="slide">
<h2>Stepped List</h2>
<ol>
<li>Ennui keffiyeh thundercats</li>
<li class="next">Jean shorts biodiesel</li>
<li class="next">Terry richardson, swag blog</li>
<li class="next">Locavore umami vegan helvetica</li>
<li class="next">Fingerstache kale chips</li>
</ol>
<p class="next">Before they sold out master</p>
</section>
<section class="slide clear">
<h2>Stepped Placed</h2>
<img class="place next left" height="100%" src="pictures/picture-1.svg" alt="Picture placeholder.">
<img class="place next" height="100%" src="pictures/picture-2.svg" alt="Picture placeholder.">
<img class="place next right" height="100%" src="pictures/picture-3.svg" alt="Picture placeholder.">
</section>
<section class="slide">
<h2>Spotlight</h2>
<p>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack bespoke Helvetica roof party. Messenger bag retro cred Portland next level. Yr stumptown Schlitz Carles deep v small batch. Echo Park 8-bit sustainable umami deep v Kickstarter. Hella sustainable messenger bag, leggings skateboard literally bicycle rights H₂0 mumblecore banh mi DIY VHS. Semiotics four loko street art asymmetrical.</p>
<div class="spotlight" style="
--spotlight-radius: 50%;
--spotlight-opacity: 0.2;
--spotlight-size: 256px;
--spotlight-top: 90px;
--spotlight-left: 290px;
"></div>
</section>
<section class="slide">
<h2>Spotlight</h2>
<p>Retro meh brunch aesthetic Cosby sweater Shoreditch. Banksy Tumblr sriracha, flexitarian pug chia master cleanse vinyl wayfarers fanny pack bespoke Helvetica roof party. Messenger bag retro cred Portland next level. Yr stumptown Schlitz Carles deep v small batch. Echo Park 8-bit sustainable umami deep v Kickstarter. Hella sustainable messenger bag, leggings skateboard literally bicycle rights H₂0 mumblecore banh mi DIY VHS. Semiotics four loko street art asymmetrical.</p>
<div class="spotlight" style="
--spotlight-radius: 0;
--spotlight-opacity: 0.2;
--spotlight-width: 1024px;
--spotlight-height: 50px;
--spotlight-top: 50px;
"></div>
</section>
<section class="slide" data-timing="00:03">
<h2 class="shout">Timed Slide</h2>
</section>
<section class="slide">
<h2 class="shout">The End</h2>
</section>
<div class="progress"></div>
<footer class="badge">
<a href="https://github.com/shower/shower">Fork me on GitHub</a>
</footer>
<script src="node_modules/@shower/core/dist/shower.js"></script>
<!-- Copyright © 3000 Yours Truly, Famous Inc. -->
</body>
</html>
<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="576">
<rect width="1024" height="576" fill="#979a9e"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="342" height="576">
<rect width="342" height="576" fill="#979a9e" fill-opacity="0.2"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="342" height="576">
<rect width="342" height="576" fill="#979a9e" fill-opacity="0.6"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="342" height="576">
<rect width="342" height="576" fill="#979a9e" fill-opacity="1"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64">
<rect width="64" height="64" fill="#979a9e"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="1200">
<rect width="400" height="1200" fill="#979a9e"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="400">
<rect width="1200" height="400" fill="#979a9e"/>
</svg>
/* Badge */
.badge {
position: absolute;
top: 0;
right: 0;
z-index: 1;
overflow: hidden;
visibility: hidden;
width: 9em;
height: 9em;
font-size: calc(
40px * var(--slide-scale)
);
}
/* Link */
.badge a {
position: absolute;
right: -50%;
bottom: 50%;
left: -50%;
visibility: visible;
background-color: var(--color-blue);
color: white;
text-decoration: none;
text-align: center;
line-height: 2;
transform-origin: 50% 100%;
transform: rotate(45deg);
}
/* Badge List */
.shower.list .badge {
display: block;
}
/* Badge Full */
.shower.full .badge {
display: none;
}
/* Badge Print */
@media print {
.shower.list .badge,
.shower.full .badge {
display: none;
}
}
/* Caption */
.caption {
margin-top: -0.2em;
margin-bottom: -0.07em;
grid-column: 1 / -1;
width: 100%;
color: #bfbfbf;
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
font-size: calc(
var(--slide-gap) * var(--slide-scale)
);
}
/* Elements */
.caption h1 {
margin: 0;
padding-bottom: 0.15em;
font: bold 1em/1 'PT Sans Narrow', sans-serif;
}
.caption p {
margin: 0;
line-height: 1;
font-size: 0.6em;
}
.caption a {
text-decoration: none;
color: var(--color-blue-lighter);
}
/* List */
.shower.list .caption {
display: block;
}
/* Full */
.shower.full .caption {
display: none;
}
/* Print */
@media print {
.shower.list .caption,
.shower.full .caption {
display: none;
}
}
/* Progress */
.progress {
position: absolute;
left: 0;
bottom: 0;
width: 0;
height: var(--progress-size);
overflow: hidden;
transition: all 0.2s linear;
}
.progress::before {
display: block;
width: 100%;
height: var(--progress-size);
background-color: var(--color-blue);
content: '';
transform-origin: 0 100%;
transform: skewX(45deg);
}
.progress[style*='100%']::before {
transform: none;
}
/* List */
.shower.list .progress {
display: none;
}
/* Full */
.shower.full .progress {
display: block;
}
/* Print */
@media print {
.shower.list .progress,
.shower.full .progress {
display: none;
}
}
/* Region */
.region {
position: absolute;
top: 0;
left: 0;
clip: rect(0 0 0 0);
}
/* List */
.shower.list .region {
display: none;
}
/* Full */
.shower.full .region {
display: block;
}
/* Print */
@media print {
.shower.list .region,
.shower.full .region {
display: none;
}
}
/* PT Sans */
@font-face {
font-family: 'PT Sans';
font-display: swap;
src:
local('PT Sans'),
local('PTSans-Regular'),
url('../fonts/pt-sans-regular.woff2') format('woff2');
}
@font-face {
font-family: 'PT Sans';
font-weight: bold;
font-display: swap;
src:
local('PT Sans Bold'),
local('PTSans-Bold'),
url('../fonts/pt-sans-bold.woff2') format('woff2');
}
@font-face {
font-family: 'PT Sans';
font-style: italic;
font-display: swap;
src:
local('PT Sans Italic'),
local('PTSans-Italic'),
url('../fonts/pt-sans-italic.woff2') format('woff2');
}
@font-face {
font-family: 'PT Sans';
font-style: italic;
font-weight: bold;
font-display: swap;
src:
local('PT Sans Bold Italic'),
local('PTSans-BoldItalic'),
url('../fonts/pt-sans-bold-italic.woff2') format('woff2');
}
/* PT Narrow */
@font-face {
font-family: 'PT Sans Narrow';
font-weight: bold;
font-display: swap;
src:
local('PT Sans Narrow Bold'),
local('PTSans-NarrowBold'),
url('../fonts/pt-sans-narrow-bold.woff2') format('woff2');
}
/* PT Mono */
@font-face {
font-family: 'PT Mono';
font-display: swap;
src:
local('PT Mono'),
local('PTMono-Regular'),
url('../fonts/pt-mono-regular.woff2') format('woff2');
}
<svg width="1024" height="768" xmlns="http://www.w3.org/2000/svg">
<defs>
<style>
.square {
stroke: red;
stroke-opacity: 0.1;
stroke-width: 1;
fill: transparent;
}
.grid {
fill: url(#grid);
}
.line {
stroke: #8af8f9;
}
</style>
<pattern x="0" y="0" width="25" height="25" viewBox="0 0 25 25" patternUnits="userSpaceOnUse" id="grid">
<rect x="0" y="0" width="25" height="25" class="square"/>
</pattern>
</defs>
<rect x="0" y="0" width="1024" height="768" class="grid"/>
<line x1="100" x2="100" y1="0" y2="768" class="line"/>
<line x1="475" x2="475" y1="0" y2="768" class="line"/>
<line x1="550" x2="550" y1="0" y2="768" class="line"/>
<line x1="925" x2="925" y1="0" y2="768" class="line"/>
<line y1="125" y2="125" x1="0" x2="1024" class="line"/>
</svg>
/* Shower Full */
.shower.full {
position: absolute;
top: 50%;
left: 50%;
overflow: hidden;
margin-top: calc(
var(--slide-height) / 2 * -1
);
margin-left: calc(
var(--slide-width) / 2 * -1
);
width: var(--slide-width);
height: var(--slide-height);
background-color: black;
transform: scale(var(--shower-full-scale));
}
/* Shower Grid */
.shower.full.grid::before {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
content: '';
pointer-events: none;
background-image: url('grid.svg');
}
/* Shower List */
.shower.list {
--shower-list-block: calc(
var(--slide-gap) *
var(--slide-scale)
);
--shower-list-inline: calc(
var(--slide-gap) *
var(--slide-scale) +
env(safe-area-inset-left)
);
padding:
var(--shower-list-block)
var(--shower-list-inline);
box-sizing: border-box;
width: 100%;
display: grid;
grid-gap: calc(
var(--slide-gap) * var(--slide-scale)
);
grid-auto-rows: calc(
var(--slide-height) * var(--slide-scale)
);
grid-template-rows: min-content;
grid-template-columns: repeat(
auto-fill,
calc(var(--slide-width) * var(--slide-scale))
);
background-color: var(--color-grey);
}
/* IE & Edge Fix */
.shower.list {
position: absolute;
clip: rect(0, auto, auto, 0);
}
/* Responsive */
.shower.list {
--slide-scale: 0.25;
}
@media (min-width: 1174px) {
.shower.list {
--slide-scale: 0.5;
}
}
@media (min-width: 2348px) {
.shower.list {
--slide-scale: 1;
}
}
/* Shower Pontless */
.shower.pointless {
cursor: none;
}
/* Shower Print */
@page {
margin: 0;
size: 1024px 576px;
}
.shower {
-webkit-print-color-adjust: exact;
text-rendering: geometricPrecision;
}
/* Shower */
@import 'shower-list.css' screen;
@import 'shower-full.css' screen;
@import 'shower-pointless.css' screen;
@import 'shower-grid.css' screen;
@import 'shower-print.css' print;
.shower {
--slide-gap: 100px;
--slide-ratio: calc(16 / 9);
--slide-width: 1024px;
--slide-height: calc(
var(--slide-width) / var(--slide-ratio)
);
--slide-side: 100px;
--color-blue: #4b86c2;
--color-blue-lighter: #6799cb;
--color-red: #cc0000;
--color-yellow: #fafaa2;
--color-grey: #585a5e;
--color-fill: rgba(88, 90, 94, 0.1);
--color-line: rgba(88, 90, 94, 0.5);
--ribbon-size: 50px;
--progress-size: 10px;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
-ms-text-size-adjust: none;
margin: 0;
color: black;
counter-reset: slide;
font: 25px/2 'PT Sans', sans-serif;
}
/* Basic */
.slide h2 {
margin-top: 9px;
margin-bottom: 33px;
color: var(--color-grey);
font: bold 50px/1 'PT Sans Narrow', sans-serif;
}
.slide * + h2 {
margin-top: 41px;
}
.slide p {
margin-top: 0;
margin-bottom: 1em;
}
.slide p.note {
color: var(--color-grey);
}
.slide figure {
margin: 0;
}
/* Code */
.slide pre {
margin-top: 0;
margin-bottom: 1em;
counter-reset: code;
white-space: normal;
}
/* Inner */
.slide pre code {
display: block;
margin-left: calc(
var(--slide-side) * -1
);
padding: 0 0 0 var(--slide-side);
width: calc(
100% + var(--slide-side) * 2
);
border-radius: 0;
background-color: transparent;
line-height: 2;
white-space: pre;
-moz-tab-size: 4;
tab-size: 4;
}
/* Line Numbers */
.slide pre code:not(:only-child)::before {
position: absolute;
margin-left: -2em;
color: var(--color-grey);
opacity: 0.75;
counter-increment: code;
content: counter(code, decimal-leading-zero) '.';
}
/* Marked */
.slide pre mark {
position: relative;
z-index: -1;
margin: 0 -0.3em;
}
/* Important */
.slide pre mark.important {
background-color: var(--color-red);
color: white;
}
/* Comment */
.slide pre .comment {
color: #999999;
}
/* Marked Line */
.slide pre code:not(:only-child).mark {
background-color: var(--color-yellow);
}
/* Next Line */
.slide pre code:not(:only-child).mark.next {
visibility: visible;
background-color: transparent;
}
.slide pre code:not(:only-child).mark.next.active,
.slide pre code:not(:only-child).mark.next.visited {
background-color: var(--color-yellow);
}
/* Full */
.shower.full .slide pre code:not(:only-child).mark.next {
visibility: visible;
background-color: transparent;
}
.shower.full .slide pre code:not(:only-child).mark.next.active,
.shower.full .slide pre code:not(:only-child).mark.next.visited {
background-color: var(--color-yellow);
}
/* Footer */
.slide > footer {
position: absolute;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
padding: 50px var(--slide-side) 25px;
background-color: var(--color-yellow);
transition: transform 0.3s linear;
}
/* List */
.shower.list .slide > footer {
transform: translateY(100%);
}
.shower.list .slide.active > footer,
.shower.list .slide:hover > footer {
transform: translateY(0);
}
/* Full */
.shower.full .slide > footer {
display: none;
}
/* Inline */
.slide a {
background-image: linear-gradient(
to top,
currentColor 0.09em,
transparent 0.09em
);
background-repeat: repeat-x;
color: var(--color-blue);
text-decoration: none;
}
.slide code,
.slide kbd,
.slide mark,
.slide samp {
padding: 0.1em 0.3em;
border-radius: 0.2em;
}
.slide code,
.slide kbd,
.slide samp {
background-color: var(--color-fill);
line-height: 1;
font-family: 'PT Mono', monospace;
}
.slide mark {
background-color: var(--color-yellow);
}
.slide sub,
.slide sup {
position: relative;
vertical-align: baseline;
line-height: 0;
font-size: 75%;
}
.slide sub {
bottom: -0.25em;
}
.slide sup {
top: -0.5em;
}
/* Lists */
.slide ol,
.slide ul {
padding-left: 0;
margin-top: 0;
margin-bottom: 1em;
list-style: none;
counter-reset: list;
}
/* Marker */
.slide li::before {
position: absolute;
width: 3em;
color: var(--color-grey);
text-align: right;
opacity: 0.75;
transform: translateX(
calc(-100% - 0.5em)
);
}
.slide li ol,
.slide li ul {
margin-bottom: 0;
margin-left: 2em;
}
/* Markers */
.slide ol > li::before {
counter-increment: list;
content: counter(list) '.';
}
.slide ul > li::before {
content: '•';
}
.slide ul > li:lang(ru)::before {
content: '—';
}
/* Custom */
.slide ol > li[value]::before {
content: attr(value) '.';
}
.slide ul > li[value]::before {
content: attr(value);
}
/* Quote */
.slide blockquote {
margin: 0;
font-style: italic;
}
.slide blockquote::before {
position: absolute;
margin: -0.15em 0 0 -0.43em;
color: #cccccc;
line-height: 1;
font-size: 8em;
content: '\201C';
}
/* Author */
.slide blockquote + figcaption {
margin: -1em 0 1em;
font-style: italic;
font-weight: bold;
}
/* Table */
.slide table {
margin-left: calc(var(--slide-side) * -1);
margin-bottom: 1em;
width: calc(
100% + var(--slide-side) * 2
);
border-collapse: collapse;
border-spacing: 0;
}
/* Cells */
.slide th,
.slide td {
padding-top: 0;
padding-bottom: 0;
}
.slide th {
text-align: left;
font-weight: bold;
}
.slide th:first-child,
.slide td:first-child {
padding-left: 96px;
}
.slide th:last-child,
.slide td:last-child {
padding-right: 96px;
}
/* Lines */
.slide tr:not(:last-of-type) > * {
background-image: linear-gradient(
to top,
var(--color-line) 0.06em,
transparent 0.06em
);
background-repeat: repeat-x;
}
/* Stripes */
.slide table.striped tr:nth-child(even) {
background-color: var(--color-fill);
}
.slide table.striped tr > * {
background-image: none;
}
/* Marked Row */
.slide tr.mark {
background-color: var(--color-yellow);
}
/* Next Marked Row */
.slide tr.mark.next {
visibility: visible;
background-color: transparent;
}
.slide tr.mark.next.active,
.slide tr.mark.next.visited {
background-color: var(--color-yellow);
}
/* Columns */
.columns {
display: grid;
width: 100%;
grid-column-gap: 75px;
}
.columns.two {
grid-template-columns: 1fr 1fr;
}
.columns.three {
grid-template-columns: 1fr 1fr 1fr;
}
.columns.four {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
/* Copyright */
.copyright {
position: absolute;
bottom: 20px;
right: 10px;
margin: 0;
font-size: 12px;
opacity: 0.7;
transform-origin: 0 100%;
transform: translateX(100%) rotate(-90deg);
}
/* Sides */
.copyright.top {
top: 10px;
right: auto;
bottom: auto;
left: 20px;
transform: none;
}
.copyright.bottom {
top: auto;
right: auto;
bottom: 20px;
left: 20px;
transform: none;
}
/* White */
.copyright.white {
color: white;
}
/* Links */
.copyright a {
color: currentColor;
}
/* Cover */
.cover {
position: absolute;
top: 50%;
left: 50%;
z-index: -1;
transform: translate(-50%, -50%);
max-width: 100%;
max-height: 100%;
}
/* Fitting */
.cover.w,
.cover.width {
width: 100%;
max-height: none;
}
.cover.h,
.cover.height {
height: 100%;
max-width: none;
}
/* Next */
.shower.full .next {
visibility: hidden;
}
.shower.full .next.active,
.shower.full .next.visited {
visibility: visible;
}
/* Place */
.place {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.place.t.l,
.place.top.left,
.place.t.r,
.place.top.right,
.place.b.r,
.place.bottom.right,
.place.b.l,
.place.bottom.left {
transform: none;
}
.place.t,
.place.top,
.place.b,
.place.bottom {
transform: translate(-50%, 0);
}
.place.l,
.place.left,
.place.r,
.place.right {
transform: translate(0, -50%);
}
.place.t,
.place.top,
.place.t.l,
.place.top.left,
.place.t.r,
.place.top.right {
top: 0;
}
.place.r,
.place.right {
right: 0;
left: auto;
}
.place.b,
.place.bottom,
.place.b.r,
.place.bottom.right,
.place.b.l,
.place.bottom.left {
top: auto;
bottom: 0;
}
.place.l,
.place.left {
left: 0;
}
/* Shout */
.slide .shout {
position: absolute;
top: 50%;
left: 0;
width: 100%;
text-align: center;
line-height: 1;
font-size: 150px;
transform: translateY(-50%);
}
/* Link */
.slide .shout a {
background-image: linear-gradient(
to top,
rgba(75, 134, 194, 0.4) 0.06em,
transparent 0.06em
);
background-position: bottom 0.13em left 0;
background-repeat: repeat-x;
}
/* Full */
.shower.full .slide .shout.grow {
opacity: 0;
transform: scale(0.1) translateY(-50%);
}
.shower.full .slide .shout.shrink {
opacity: 0;
transform: scale(10) translateY(-50%);
}
/* Active */
@keyframes shout {
to {
opacity: 1;
transform: scale(1) translateY(-50%);
}
}
.shower.full .slide.active .shout.grow,
.shower.full .slide.active .shout.shrink {
animation-name: shout;
animation-duration: 0.4s;
animation-timing-function: ease-out;
animation-fill-mode: forwards;
}
/* Spotlight */
.spotlight {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin-top: var(--spotlight-top, 0);
margin-left: var(--spotlight-left, 0);
width: var(--spotlight-size, var(--spotlight-width, 256px));
height: var(--spotlight-size, var(--spotlight-height, 256px));
border-radius: var(--spotlight-radius, 50%);
box-shadow:
0 0 0 var(--slide-width)
rgba(
0, 0, 0,
var(--spotlight-opacity, 0.2)
);
pointer-events: none;
}
/* Black */
.slide.black {
background-color: black;
}
/* Progress Off */
.slide.clear.active ~ .progress {
display: none;
}
/* Number Off */
.slide.clear::after {
visibility: hidden;
}
/* Gray */
.slide.gray {
background-color: #979a9e;
}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 100"><path fill="#c00" d="M0 0h50v100L25 80 0 100"/></svg>
\ No newline at end of file
/* Slide Full */
.shower.full .slide {
position: absolute;
top: 0;
left: 0;
clip: rect(0 0 0 0);
visibility: hidden;
}
/* Active */
.shower.full .slide.active {
clip: auto;
visibility: visible;
}
/* Slide List */
.shower.list .slide {
border-radius: 2px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
transform-origin: 0 0;
transform: scale(
var(--slide-scale)
);
}
.shower.list .slide * {
pointer-events: none;
}
/* Hover */
.shower.list .slide:hover {
box-shadow:
0 0 0 20px rgba(0, 0, 0, 0.1),
0 20px 50px rgba(0, 0, 0, 0.3);
}
/* Active */
.shower.list .slide.active {
box-shadow:
0 0 0 1px #376da3,
0 0 0 20px #4b86c2,
0 20px 50px rgba(0, 0, 0, 0.3);
}
/* Types */
@import 'slide-list.css' screen;
@import 'slide-full.css' screen;
/* Content */
@import 'content/basic.css';
@import 'content/code.css';
@import 'content/footer.css';
@import 'content/inline.css';
@import 'content/lists.css';
@import 'content/quote.css';
@import 'content/table.css';
/* Elements */
@import 'elements/columns.css';
@import 'elements/copyright.css';
@import 'elements/cover.css';
@import 'elements/next.css';
@import 'elements/place.css';
@import 'elements/shout.css';
@import 'elements/spotlight.css';
/* Modifiers */
@import 'modifiers/clear.css';
@import 'modifiers/gray.css';
@import 'modifiers/black.css';
/* Slide */
.slide {
position: relative;
z-index: 0;
overflow: hidden;
box-sizing: border-box;
padding: 75px var(--slide-side) 0;
width: var(--slide-width);
height: var(--slide-height);
background-color: white;
}
/* Number */
.slide::after {
position: absolute;
top: 0;
left: 875px;
box-sizing: border-box;
padding-top: 15px;
width: var(--ribbon-size);
height: calc(var(--ribbon-size) * 2);
background-image: url('ribbon.svg');
background-size: cover;
color: white;
counter-increment: slide;
content: counter(slide);
text-align: center;
}
/* Styles */
@import 'fonts.css';
@import 'shower/shower.css';
@import 'blocks/badge.css';
@import 'blocks/caption.css';
@import 'blocks/progress.css';
@import 'blocks/region.css';
@import 'slide/slide.css';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment