diff --git a/docs/index.html b/docs/index.html index 1ed27eb..8b47b75 100644 --- a/docs/index.html +++ b/docs/index.html @@ -15,11 +15,11 @@
Below you can see each module in action, along with certain suggestions on how to add functionality to the various components. Bear in mind that this demo is for the Default flavor. Naming conventions may vary between flavors, however the structure and functionality of the modules should be the same. Please refer to specific flavors for those differences. The NiteOwl flavor uses the same naming conventions for the module components, so you won't have any trouble. If you are migrating from Bootstrap and want to use the Bootstrap flavor, most naming conventions are based on the original naming conventions of Bootstrap 3.3.7.
The Base module contains customized typography rules, colors and most of the functionality provided in normalize.css. Below we showcase some of the most important typography styles.
+ +The default flavor uses the Helvetica font family and a font-size of 1em with a line-height of 1.5. Colors used are #f5f5f5 for the background and #222 for the text. Most of the things in this module are subjective to one's preferences and should be changed according to your liking. Heading, <sub>
, <sup>
and <small>
elements use multipliers, so changing the base font-size should affect those too. Apart from that, colors and styles for links can easily be changed, as well as a lot of other parameters. Images are responsive by default, so they will shrink to fit smaller viewports without any additional work. Below we highlight some important things, like heading and code styling, but you can see most of the typograhpy rules in action in these pages.
<h1>Heading 1 <small>small text</small></h1> +<h2>Heading 2 <small>small text</small></h2> +<h3>Heading 3 <small>small text</small></h3> +<h4>Heading 4 <small>small text</small></h4> +<h5>Heading 5 <small>small text</small></h5> +<h6>Heading 6 <small>small text</small></h6>+
<pre>
and <kbd>
elementsInline code looks like this
. User input looks like this. Finally, code blocks look like...
this! This is a code block!+
<code>Inline code</code> +<kbd>User input</kbd> +<pre>Code block</pre>+
The grid system provided can be fully customized to use as many columns as you wish and have custom breakpoints for different device sizes. The default grid uses 12 columns (as shown below). Customized classes are also defined to hide certain columns in certain viewport sizes. This can be specifically used to customize column offseting on different devices.
+ +The basic grid structure is as follows:
+.grid-container
class..row
class..col
class..xs-
, .sm-
, .md-
, .lg-
) followed by the width (in columns) of the specific column.-no
suffix for the specific screen size.<div class="grid-container"> + <div class="row"> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + <div class="col xs-1">1/12</div> + </div> + <div class="row"> + <div class="col xs-2">1/6</div> + <div class="col xs-2">1/6</div> + <div class="col xs-2">1/6</div> + <div class="col xs-2">1/6</div> + <div class="col xs-2">1/6</div> + <div class="col xs-2">1/6</div> + </div> + <div class="row"> + <div class="col xs-3">1/4</div> + <div class="col xs-3">1/4</div> + <div class="col xs-3">1/4</div> + <div class="col xs-3">1/4</div> + </div> + <div class="row"> + <div class="col xs-4">1/3</div> + <div class="col xs-4">1/3</div> + <div class="col xs-4">1/3</div> + </div> + <div class="row"> + <div class="col xs-6">1/2</div> + <div class="col xs-6">1/2</div> + </div> + <div class="row"> + <div class="col xs-12">1/1</div> + </div> +</div>+
Coming soon!