FireBrick Custom CSS: Difference between revisions
(→Example - changing font size: More coincide CSS) |
(→Internal inline CSS - using data URIs: CSS more concise) |
||
Example, straight inline CSS (exercise caution regarding prohibited characters if adapting). In the following example, line-breaks may be included for readability. These must be removed and the whole string must be entered as a single line.
<syntaxhighlight lang=xml><http css-url="data:text/css,@media screen{div.main,div.sidemenu div.menu a,div.topmenu,textarea{font-size:x-small}div.footer
</syntaxhighlight>
<syntaxhighlight>
css-url="data:text/css;charset=UTF-8;base64,
bnUgZGl2Lm1lbnUgYSxkaXYudG9wbWVudSx0ZXh0YXJlYXtmb250LXNpemU6eC1zbWFsbH1kaXYuZm9vdGVye3BhZGR
pbmc6MnB4IDEwcHggMXB4fWRpdi5mb290ZXIgKnt2ZXJ0aWNhbC1hbGlnbjp0b3B9fQ=="
</syntaxhighlight>
|