mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-09 07:16:29 +02:00
Minor changes to pre element styling
This commit is contained in:
@@ -54,4 +54,6 @@
|
||||
- Added `margin` for paragraphs (`1px` top and bottom and `10px` left and right).
|
||||
- Specified fancy styling flag (`$horizontal-rule-fancy-style`) for `hr` elements and variable (`$horizontal-rule-fancy-gradient`) to specify linear gradient styling to be used instead of the default `border` styling. This styling supports most browsers, but does not work with IE 9- and Opera Mini. Prefix `-webkit` is added to support some browsers.
|
||||
- Added variable for bold elements to set `font-weight` manually, so that no problems occur and users can fine-tweak this to their liking.
|
||||
- Removed fix for `b` and `strong` as the above change addresses the issue.
|
||||
- Removed fix for `b` and `strong` as the above change addresses the issue.
|
||||
- `pre` `padding` set to `12px` instead of `8px`.
|
||||
- Added `overflow: auto;` to `pre` elements so that they are responsive and display properly on all devices.
|
@@ -28,6 +28,7 @@
|
||||
<p>Preformatted block of code:</p>
|
||||
<pre>Line 1 {
|
||||
Stuff here....
|
||||
This is a really really really really loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong preformatted line. Let's see how it looks on your device!
|
||||
}</pre>
|
||||
<hr>
|
||||
<p>This is some text with <small>small text</small>, superscript<sup>12</sup> and subscript<sub>4</sub>.</p>
|
||||
|
Reference in New Issue
Block a user