diff --git a/docs/core.html b/docs/core.html index 0fda140..32757ab 100644 --- a/docs/core.html +++ b/docs/core.html @@ -99,7 +99,7 @@
For the basic typography rules we did the following, along with other things presented below:
background: #f5f5f5;
and color: #212121;
.background: #f8f8f8;
and color: #212121;
.font-size
of 16px
for the root element.line-height
to 1.5
.All six of the HTML headings (<h1>
- <h6>
) are styled with simple rules, providing a clean base for your pages' headings. Apart from the headings themselves, complementary rules are provided for <small>
elements inside headings, allowing you to define subheadings or explanatory text for those headings. These subheadings are stylized to display below the headings in smaller, lighter type.
<h1>Heading 1<small>Subheading</small></h1> - <h2>Heading 2<small>Subheading</small></h2> - <h3>Heading 3<small>Subheading</small></h3> - <h4>Heading 4<small>Subheading</small></h4> - <h5>Heading 5<small>Subheading</small></h5> - <h6>Heading 6<small>Subheading</small></h6>
This is a paragraph with some sample text. Did you know mini.css v2.1 is codenamed Fermion? No? Well, now you do! Oh, by the way, that was some Bold text and here is some text in Italics. Maybe you want to know what our inline elements look like. For example a link to the Github repository of mini.css looks like that! Neat, right? Maybe you want to see some inline code
or some sample input. Oh, also small text is cool, along with its siblings: the subscripthi! and the superscripthello!. Finally, check out the horizontal rule, preformatted code block and quotation below.
function sum(num1, num2) { - var num3 = num1 + num2; - console.log('Result: ' + num3); - }+ var num3 = num1 + num2; + console.log('Result: ' + num3); +}
This is some quoted text from elsewhere.
The most common HTML5 elements must be things like <p>
aragraphs, bold (<strong>
) & italics (<em>
) text, links (<a>
), horizontal rules (<hr>
) and <small>
text. These, along with a few others, are styled by default using clean, modern design to make your pages look cool and stand out from the rest of the internet.
<p>This is a paragraph with some <strong>bold text</strong> and some <em>italics text</em>.</p> - <a href="#">This is a link.</a> - <small>This is some small text.</small> - <sub>Subscript</sub> - <sup>Superscript</sup> - <code>Inline code</code> - <kbd>Keyboard Input</kbd> - <hr> - <pre>This is some preformatted text.</pre> - <blockquote cite="Quotation source"> - This is some quoted text from another website or person. - </blockquote>
Lists are also very commonly used in websites and apps. We tweaked a few margins and paddings to save some space and make them align properly with the rest of the common HTML elements that we use, but both unordered lists (<ul>
) and ordered lists (<ol>
) are minimally pre-styled to make things a little bit easier for you.
<ul> - <li>Apple</li> - <li>Orange</li> - <li>Strawberry</li> - </ul> + <li>Apple</li> + <li>Orange</li> + <li>Strawberry</li> +</ul> - <ol> - <li>Wake up</li> - <li>Eat breakfast</li> - <li>Go to work</li> - </ol>
Image elements (<img>
) are responsive by default, without the need for any special classes or anything else. We made sure they will scale down as necessary to display properly on smaller devices, while keeping their original aspect ratio, but they will never scale up above their original size.
On a side note, if you want to add captions to images, you can use a <figcaption>
element, while wrapping both the image and it inside a <figure>
.
<figure> - <img src="..."> - <figcaption>Image caption</figcaption> - </figure>