|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=Edge"> |
| 6 | + <title> |
| 7 | + Links / Themes / Docs / TACHYONS |
| 8 | + </title> |
| 9 | + <meta name="author" content="@mrmrs"> |
| 10 | + <meta name="description" content="CSS"> |
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 12 | + <link rel="stylesheet" href="/css/tachyons.css"> |
| 13 | + </head> |
| 14 | + <body class="w-100 sans-serif"> |
| 15 | + |
| 16 | + <%= siteHeader %> |
| 17 | + <main class=""> |
| 18 | + <article class="bg-near-white bt b--black-10 pa3 ph5-ns"> |
| 19 | + <h4 class="f4 mv0 fw6 dib mr4"><%= name %></h4> |
| 20 | + <span class="f4 b dib pl0 ml0 mr4">v<%= moduleVersion %></span> |
| 21 | + <span class="f4 b dib pl0 ml0 mr4"><%= moduleSize %></span> |
| 22 | + <div> |
| 23 | + <dl class="dib mr4 mt0"> |
| 24 | + <dt class="f6 db">Declarations </dt> |
| 25 | + <dd class="db pl0 ml0 f4 f2-ns b"><%= moduleObj.declarations.total %></span></dd> |
| 26 | + </dl> |
| 27 | + <dl class="dib mr4"> |
| 28 | + <dt class="f6 db pr2">Selectors </dt> |
| 29 | + <dd class="db pl0 ml0 f4 f2-ns b"><%= moduleObj.selectors.total %></dd> |
| 30 | + </dl> |
| 31 | + <dl class="dib mr4"> |
| 32 | + <dt class="f6 db pr2">Max. Specificity Score </dt> |
| 33 | + <dd class="db pl0 ml0 f4 f2-ns b"><%= moduleObj.selectors.specificity.max %></dd> |
| 34 | + </dl> |
| 35 | + <dl class="dib mr4"> |
| 36 | + <dt class="f6 db pr2">Size of Avg. Rule </dt> |
| 37 | + <dd class="db pl0 ml0 f4 f2-ns b"><%= moduleObj.rules.size.average %></dd> |
| 38 | + </dl> |
| 39 | + </div> |
| 40 | + <p class="measure f4 f3-ns lh-copy"> |
| 41 | + Tachyons has some basic link styling utilities - but the framework |
| 42 | + assumes you'll want to customize colors and animations yourself. |
| 43 | + </p> |
| 44 | + <p class="measure lh-copy f5 f4-ns"> |
| 45 | + Applying the link class to anchor elements will remove the default |
| 46 | + underline style on links. |
| 47 | + </p> |
| 48 | + </article> |
| 49 | +<div class="ph3 ph5-ns pt4 pb5"> |
| 50 | + <h2 class="f3 bold">Examples</h2> |
| 51 | + <p> |
| 52 | + <a href="#" class="f3 b db link pv1 black">Black link</a> |
| 53 | + <a href="#" class="f3 b db link pv1 dark-gray">Dark-gray link</a> |
| 54 | + <a href="#" class="f3 b db link pv1 gray">Gray link</a> |
| 55 | + </p> |
| 56 | + <div class="mt5 cf"> |
| 57 | + <div class="dib mr4"> |
| 58 | + <h1 class="f4 ttu tracked fw6">Previous</h1> |
| 59 | + <a href="/docs/layout/position/" class="link fw6 blue dim">Position</a> |
| 60 | + </div> |
| 61 | + <div class="dib"> |
| 62 | + <h1 class="f4 ttu tracked fw6">Next</h1> |
| 63 | + <a href="/docs/themes/background-size/" class="link fw6 blue dim">Background Size</a> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | + <div class="mt5"> |
| 67 | + <h1 class="f4 ttu tracked fw6">Reference</h1> |
| 68 | + <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/%3Ahover" class="link db fw6 blue dim">MDN - Hover</a> |
| 69 | + <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/%3Afocus" class="link db fw6 blue dim">MDN - Focus</a> |
| 70 | + </div> |
| 71 | +</div> |
| 72 | + <section class="bg-near-white black-70 pt4 pb5"> |
| 73 | +<header class="ph3 ph5-ns pt4"> |
| 74 | + <kbd class="yellow">src/_hovers.css</kbd> |
| 75 | +</header> |
| 76 | +<pre class="ph3 ph5-ns"> |
| 77 | +<code class="code" style="font-size: .75rem;"> |
| 78 | +<%= srcCSS %> |
| 79 | +</code> |
| 80 | +</pre> |
| 81 | + </section> |
| 82 | + <%= navDocs %> |
| 83 | + </main> |
| 84 | + <%= siteFooter %> |
| 85 | + <%= googleAnalytics %> |
| 86 | + </body> |
| 87 | +</html> |
0 commit comments