mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-26 23:34:42 +02:00
Small element styles
This commit is contained in:
@@ -47,4 +47,6 @@
|
||||
- Removed the `font-size: 1em` for the code elements (`code`, `pre`, `kbd`, `samp`) as they should normally be styled using the first style that applies to `html` and all elements. **Highly suggested to use `$apply-defaults-to-all: true;` always.**
|
||||
- Added variables for `code`, `pre`, `kbd`, `samp` and a flag for `samp` (`$style-samp-element`) to make sure that no unnecessary styles are added if the `samp` element is not to be used by the developer.
|
||||
- Added conditions to make sure the least amount of code is used and no defaults are redefined when styling `code`. `kbd`, `samp` and `pre`.
|
||||
- Changed padding of `pre` elements to `6px` and later to `8px`. Changed color for `hr` to `#666` and later to `#888`.
|
||||
- Changed padding of `pre` elements to `6px` and later to `8px`. Changed color for `hr` to `#666` and later to `#888`.
|
||||
- Styling and optimization for `small`, `sub` and `sup` elements.
|
||||
- Changed `font-size` of `small`, `sub` and `sup` elements to `75%`.
|
@@ -29,6 +29,7 @@
|
||||
<pre>Line 1 {
|
||||
Stuff here....
|
||||
}</pre>
|
||||
<hr>
|
||||
<hr>
|
||||
<p>This is some text with <small>small text</small>, superscript<sup>12</sup> and subscript<sub>4</sub>.</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user