Skip to content

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
  • Loading branch information
madmurphy committed Feb 16, 2017
1 parent b01a947 commit 26deae7
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## [1.2.2] - 2017-02-16

Changes:

* Unicode symbol for `a[rel="bookmark"]` set to `U+1F517`

## [1.2.1] - 2017-02-14

Changes:
Expand Down
4 changes: 2 additions & 2 deletions docs/css/takefive_min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/man.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h3>Notes</h3>
<li>It is possible to prevent the creation of the navigation buttons by main <code>&lt;nav&gt;</code>'s links <code>parent</code>, <code>next</code>, <code>prev</code>, <code>index</code>, <code>last</code>, <code>first</code>, <code>bookmark</code> and <code>author</code> by assigning the class <code>"no-nav"</code> to the link &ndash; as in <code>&lt;a href="#sample-slide" rel="next" class="<span style="background-color: #ffff00;">no-nav</span>"&gt;Sample slide&lt;/a&gt;</code> or <code>&lt;a href="#sample-slide" rel="next" class="no-label <span style="background-color: #ffff00;">no-nav</span>"&gt;Sample slide&lt;/a&gt;</code>. The <code>"no-nav"</code> class allows also to declare more than one link with the same <code>rel</code> attribute within the same main <code>&lt;nav&gt;</code>, <em>with the only exception of <code>a[rel="parent"]</code>, which can never be duplicated within the main <code>&lt;nav&gt;</code></em>.</li>
<li>The opposite, i.e. generating the navigation buttons without showing the links they refer to, can be obtained by leaving empty the link content &ndash; as in <code>&lt;a href="#sample-slide" rel="prev"&gt;&lt;/a&gt;</code>.</li>
<li>The slide container (<code>article.slide</code>) can optionally possess a <code>data-context</code> attribute, whose content will be displayed on the left-bottom of the viewport &ndash; as in <code>&lt;article class="slide" <span style="background-color: #ffff00;">data-context="Hello world!"</span> id="my-hash-name"&gt; &hellip; &lt;/article&gt;</code>.</li>
<li><strong>Take five!</strong> does not require JavaScript, but this does not mean that it&nbsp;discourages its usage within the slides. JavaScript can be useful in many ways, such as touch events, printing of single contents, etc.</li>
<li><strong>Take five!</strong> does not require JavaScript, but it does not discourage its usage. JavaScript can be useful in many ways, such as touch events for navigating through the slides, printing of single contents, etc.</li>
<li>Feel free to make experiments. <strong>Take five!</strong> is very flexible, but in in case of problems, please do not hesitate to <a href="https://github.com/madmurphy/takefive.css/issues" target="_blank">write</a>.</li>
</ul>
<h3>License</h3>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Take five!",
"version": "1.2.1",
"version": "1.2.2",
"description": "A semantically-consistent pure-CSS slide renderer",
"style": "takefive.css",
"license": "GPL-3.0",
Expand Down
10 changes: 5 additions & 5 deletions takefive.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
|*|
|*| https://github.com/madmurphy/takefive.css/
|*|
|*| Version 1.2.1
|*| Version 1.2.2
|*|
|*| (c) Stefano Gioffr&eacute;
|*|
Expand Down Expand Up @@ -586,24 +586,24 @@ article.slide > nav:first-of-type a[href][rel~="author"]:not([rel~="parent"]):no
line-height: 48px;
text-align: center;
z-index: 11116;
/*width: 48px;*/
}

article.slide > nav:first-of-type a[href][rel~="author"]:not([rel~="parent"]):not(.no-nav)::after {
content: "@";
left: calc(80% - 48px);
top: initial;
bottom: 10%;
font-size: 48px;
font-size: 40px;
}

article.slide > nav:first-of-type a[href][rel~="bookmark"]:not([rel~="parent"]):not(.no-nav)::after {
content: "#";
content: "\1F517";
/* try also: `content: "\1F4D1";` */
/* try also: `content: "#";` */
left: calc(80% - 48px);
top: 10%;
bottom: initial;
font-size: 48px;
font-size: 40px;
}

article.slide > nav:first-of-type a[href][rel~="first"]:not([rel~="parent"]):not(.no-nav)::after {
Expand Down
4 changes: 2 additions & 2 deletions takefive_min.css

Large diffs are not rendered by default.

0 comments on commit 26deae7

Please sign in to comment.