Skip to content

Commit

Permalink
New release
Browse files Browse the repository at this point in the history
  • Loading branch information
madmurphy committed Feb 12, 2017
1 parent 3fba236 commit 04406eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/man.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ <h4>The <code>a[rel="parent"]</code> element</h4>
<p>In order to exit from the viewport the <code>a[rel="parent"]</code> element is used (see above). <em>Normally this links to any unexisting hash</em> (in our examples we used the hash <code>"#nowhere"</code>, but a simple <code>"#"</code> can be enough), but in the case of nested galleries it can optionally link to the parent gallery (see below).</p>
<p>The special link <code>a[rel="parent"]</code> complies with the following rule:</p>
<ul>
<li>If it is inside a <code>&lt;nav&gt;</code> element &rArr; it will be shown on the top-right corner; a transparent, clickable, fixed, full-screen layer will be created.</li>
<li>If it is inside the <code><em>&lt;leeloo&gt;</em></code> element and <em>is empty</em> &rArr; a transparent clickable layer will cover the whole (and only) <code><em>&lt;leeloo&gt;</em></code> element.</li>
<li>If it is inside the main <code>&lt;nav&gt;</code> &rArr; it will be shown on the top-right corner; a transparent, clickable, full-screen layer will be created.</li>
<li>If it is inside the <code><em>&lt;leeloo&gt;</em></code> element and is <em>empty</em> &rArr; a transparent clickable layer will cover the whole (and only) <code><em>&lt;leeloo&gt;</em></code> element.</li>
<li>If, instead,<br />
<ul>
<li>it is inside the <code><em>&lt;leeloo&gt;</em></code> element but <em>is not empty</em>,</li>
<li>or it is outside both the <code>&lt;nav&gt;</code> and the <code><em>&lt;leeloo&gt;</em></code> elements (empty or not empty),</li>
<li>it is inside the <code>&lt;leeloo&gt;</code> element but is <em>not empty</em>,</li>
<li>or it is outside both the main <code>&lt;nav&gt;</code> and the <code><em>&lt;leeloo&gt;</em></code> element (empty or not empty),</li>
<li>or <code>a[rel="parent"]</code> *is* the <code><em>&lt;leeloo&gt;</em></code> element iself &ndash; very unlikely...</li>
</ul>
then &rArr; it will be ignored by this CSS and will be normally displayed.</li>
Expand Down
10 changes: 5 additions & 5 deletions takefive.css
Original file line number Diff line number Diff line change
Expand Up @@ -326,18 +326,18 @@ article.slide > nav:first-of-type a[href][rel~="child"]:not([rel~="parent"]):hov
THE RULE IS THE FOLLOWING:
(Cond. 1.) If a[href][rel~="parent"] is inside a <nav> element:
(Cond. 1.) If a[href][rel~="parent"] is inside the main <nav>:
--> it will be shown on the top-right corner; a transparent, clickable, fixed,
full-screen layer will be created.
--> it will be shown on the top-right corner; a transparent, clickable, full-screen
layer will be created.
(Cond. 2.) If a[href][rel~="parent"] is inside the <leeloo> element and is EMPTY:
--> a transparent clickable layer will cover the whole (and only) <leeloo> element.
(Cond. 3.) If a[href][rel~="parent"] is inside the <leeloo> element but is NOT EMPTY,
(Cond. 4.) or if a[href][rel~="parent"] is outside both the <nav> and the <leeloo> elements (empty or not empty),
(Cond. 5.) or if a[href][rel~="parent"] *is* <leeloo> -- very unlikely...:
(Cond. 4.) or if a[href][rel~="parent"] is outside both the main <nav> and the <leeloo> element (empty or not empty),
(Cond. 5.) or if a[href][rel~="parent"] *is* <leeloo> itself -- very unlikely...:
--> it will be ignored by this CSS.
Expand Down

0 comments on commit 04406eb

Please sign in to comment.