Skip to content

Commit 381fa72

Browse files
author
Martino
committed
Version 1.1.0
• Changed Readme • Added Github badge
1 parent 1fedc03 commit 381fa72

File tree

6 files changed

+19
-6
lines changed

6 files changed

+19
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
A plugin for [Reveal.js](https://revealjs.com) 4 that adds appearance effects to elements.
66

7-
[![Screenshot](screenshot.png)](https://martinomagnifico.github.io/reveal.js-appearance/demo.html)
7+
[![Screenshot](https://martinomagnifico.github.io/reveal.js-appearance/screenshot.png)](https://martinomagnifico.github.io/reveal.js-appearance/demo.html)
88

99
In Powerpoint you can make slides with items that appear automatically with effects. This plugin for Reveal.js tries to achieve the same result. It's easy to set up. It uses Animate.css by Daniel Eden for the animations, with some changes in a separate CSS file to allow for a non-animated state.
1010

@@ -162,4 +162,4 @@ And if you want to show off what you made with it, please do :-)
162162
## License
163163
MIT licensed
164164

165-
Copyright (C) 2021 Martijn De Jongh (Martino)
165+
Copyright (C) 2021 Martijn De Jongh (Martino)

css/demo.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@
99

1010
.backgrounds {
1111
background: #1a1626; }
12+
13+
a.github-corner {
14+
position: absolute;
15+
z-index: 1;
16+
width: clamp(50px, 8vmax, 80px);
17+
line-height: 0;
18+
color: rgba(255, 255, 255, 0.5); }
19+
20+
a.github-corner:hover {
21+
color: white; }

demo.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
</head>
1818

1919
<body>
20-
<div class="reveal">
20+
<div class="reveal"><a class="github-corner" href="https://github.com/Martinomagnifico/reveal.js-appearance" target="blank" title="View source on GitHub">
21+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 55 55">
22+
<path fill="currentColor" d="M27.5 11.2a16.3 16.3 0 0 0-5.1 31.7c.8.2 1.1-.3 1.1-.7v-2.8c-4.5 1-5.5-2.2-5.5-2.2-.7-1.9-1.8-2.4-1.8-2.4-1.5-1 .1-1 .1-1 1.6.1 2.5 1.7 2.5 1.7 1.5 2.5 3.8 1.8 4.7 1.4.2-1 .6-1.8 1-2.2-3.5-.4-7.3-1.8-7.3-8 0-1.8.6-3.3 1.6-4.4-.1-.5-.7-2.1.2-4.4 0 0 1.4-.4 4.5 1.7a15.6 15.6 0 0 1 8.1 0c3.1-2 4.5-1.7 4.5-1.7.9 2.3.3 4 .2 4.4 1 1 1.6 2.6 1.6 4.3 0 6.3-3.8 7.7-7.4 8 .6.6 1.1 1.6 1.1 3v4.6c0 .4.3.9 1.1.7a16.3 16.3 0 0 0-5.2-31.7"></path>
23+
</svg></a>
2124
<div class="slides">
2225
<section class="center">
2326
<h1 class="animated flipInX slow">Appearance</h1>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "reveal.js-appearance",
3-
"version": "1.0.9",
3+
"version": "1.1.0",
44
"description": "A plugin for Reveal.js 4 that adds appearance effects to elements",
55
"keywords": "reveal, reveal.js, reveal-plugin, plugin, text effects",
66
"homepage": "https://github.com/Martinomagnifico/reveal.js-appearance",

plugin/appearance/appearance.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* https://github.com/Martinomagnifico
55
*
66
* Appearance.js for Reveal.js
7-
* Version 1.0.9
7+
* Version 1.1.0
88
*
99
* @license
1010
* MIT licensed

plugin/appearance/appearance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* https://github.com/Martinomagnifico
55
*
66
* Appearance.js for Reveal.js
7-
* Version 1.0.9
7+
* Version 1.1.0
88
*
99
* @license
1010
* MIT licensed

0 commit comments

Comments
 (0)