module.exports = { id: 'common-textual-elements', title: 'Common textual elements', tag: 'p', keywords: ['p', 'paragraph', 'text', 'textual elements', 'strong', 'bold', 'b', 'em', 'i', 'emphasis', 'italics', 'small', 'a', 'link', 'hr', 'horizontal rule', 'sub', 'subscript', 'sup', 'exponent', 'superscript', 'normalize', 'reset'], description: `
mini.css utilizes the ruleset of Normalize.css v7.0.0 to reliably deal with inconsistencies between browsers, ensuring that your web apps will look beatiful no matter on what browser or device you're at. On top of these rules, we have applied some tasteful rules, such as using native font stack to figure out the best font for each device, slightly altering the background and foreground colors, as well as setting the size of the text to 16px
and its line height to 1.5
.
All of the most common HTML5 elements, such as paragraphs, links, bold, small and slanted text, have been styled by default using clean, modern typography to make your pages look cool and stand out from the rest of the internet.
`, example: `This is a paragraph with some sample text. Did you know that the latest version of mini.css is codenamed Gluon? Well, now you do!
Remember that mini.css is totally free, no fine print involved!
`, samples: [ `<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> <hr/>` ], notes: [ ], customization: [ `Text color can be changed globally by changing the value of the
--fore-color
variable.`,
`Background color can be changed globally by changing the value of the --back-color
variable.`,
`Universal margin for elements can be changed globally by changing the value of the --universal-margin
variable. As a rule of thumb, consider the universal margin to be the distance you want your paragraphs to have from the sides of the screen.`,
`Universal padding for elements can be changed globally by changing the value of the --universal-padding
variable.`,
`You can change the color of linkss by changing the values of the --a-link-color
and --a-visited-color
variables.`
],
modifiers: [],
dos: [],
donts: [
{description: `Avoid altering the base font size of 16px
directly in your CSS code, as it can cause problems with the display of certain elements.`,
sample:
`/* Do not do this (use Sass instead) */ html { font-size: 14px; }` } ] }