Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

FireBrick Custom CSS: Difference between revisions

Content deleted Content added
CecilWard (talk | contribs)
m Headers added
CecilWard (talk | contribs)
m Example split off, for greater visibility
Line 40: Line 40:
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#000080', endColorstr='#202080')";
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#000080', endColorstr='#202080')";
}
}
</syntaxhighlight>

== Example - changing font size ==

The following example CSS greatly reduces the font sizes in use in the Firebrick's web pages -

<syntaxhighlight lang=css>
@media screen
{
div.main, div.sidemenu div.menu a
{
font-size:x-small
}
}
</syntaxhighlight>
</syntaxhighlight>


== Internal inline CSS - using data URIs ==
== Internal inline CSS - using data URIs ==


To avoid having to use an external website to store your custom CSS, you can employ a "data:" uri. Be aware that there may be a limit on the length of URIs however. The following example greatly reduces the font sizes in use in the Firebrick's web pages -
To avoid having to use an external website to store your custom CSS, you can employ a "data:" uri. Be aware that there may be a limit on the length of URIs however. Example:


<syntaxhighlight><http css-url="data:text/css,@media screen{div.main,div.sidemenu div.menu a{font-size:x-small}}" />
<syntaxhighlight lang=xml><http css-url="data:text/css,@media screen{div.main,div.sidemenu div.menu a{font-size:x-small}}" />
</syntaxhighlight>
</syntaxhighlight>