diff options
author | redmatrix <git@macgirvin.com> | 2016-04-30 15:02:45 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-30 15:02:45 -0700 |
commit | 84d93cca6e2ac0b552a6f5c570fbcfce766200a1 (patch) | |
tree | a8a9c46ee6f70dd4b8824499a49b1e39e2980dc6 /library/font_awesome/src/_includes/examples/basic.html | |
parent | 45512e6aba602604143e946cca49c363ae88aa1e (diff) | |
parent | 9446d0cbb463af6a256efebf97e10618469f1193 (diff) | |
download | volse-hubzilla-84d93cca6e2ac0b552a6f5c570fbcfce766200a1.tar.gz volse-hubzilla-84d93cca6e2ac0b552a6f5c570fbcfce766200a1.tar.bz2 volse-hubzilla-84d93cca6e2ac0b552a6f5c570fbcfce766200a1.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'library/font_awesome/src/_includes/examples/basic.html')
-rw-r--r-- | library/font_awesome/src/_includes/examples/basic.html | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/library/font_awesome/src/_includes/examples/basic.html b/library/font_awesome/src/_includes/examples/basic.html new file mode 100644 index 000000000..2b691a0b5 --- /dev/null +++ b/library/font_awesome/src/_includes/examples/basic.html @@ -0,0 +1,39 @@ +<section id="basic"> + <h2 class="page-header"> + Basic Icons + <div class="pull-right text-default margin-top padding-top-sm hidden-xs"> + <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/less/core.less" class="text-muted padding-right">View LESS</a> + <a href="https://github.com/FortAwesome/Font-Awesome/blob/{{ site.fontawesome.doc_blob }}/scss/_core.scss" class="text-muted">View SASS</a> + </div> + </h2> + + <div class="row"> + <div class="col-md-3 col-sm-4"> + <p> + <i class="fa fa-camera-retro" aria-hidden="true"></i> + <span class="sr-only">Example: basic icon</span> + fa-camera-retro + </p> + </div> + <div class="col-md-9 col-sm-8"> + <p> + You can place Font Awesome icons just about anywhere using the CSS Prefix <code>fa</code> and the icon's + name. Font Awesome is designed to be used with inline elements (we like the <code><i></code> tag for + brevity, but using a <code><span></code> is more semantically correct). + </p> +{% highlight html %} +<i class="fa fa-camera-retro" aria-hidden="true"></i> fa-camera-retro +{% endhighlight %} + <div class="alert alert-success"> + <ul class="fa-ul"> + <li> + <i class="fa fa-info-circle fa-lg fa-li" aria-hidden="true"></i> + <strong class="sr-only">Example: basic icon</strong> + If you change the font-size of the icon's container, the icon gets bigger. Same things goes for color, + drop shadow, and anything else that gets inherited using CSS. + </li> + </ul> + </div> + </div> + </div> +</section> |