[OSM-dev] CSS for <pre>, <source> on wiki

Grant Slater openstreetmap at firefishy.com
Thu Jun 9 17:52:58 BST 2011


On 9 June 2011 16:45, Josh Doe <josh at joshdoe.com> wrote:
> You can see it on the wiki, but be warned that I know almost nothing
> about CSS, so I'm probably doing everything The Wrong Way:
> http://wiki.openstreetmap.org/wiki/User:Joshdoe/vector.css
>
> div.mw-geshi {
>    background-color: #F9F9F9;
>    border: 1px dashed #2F6FAB;
>    color: black;
>    line-height: 1.1em;
>    padding: 1em;
>    font: 1em/1.2em monospace;
>    font-size: 1.2em;
> }
>
> pre {
>    font-size: 1.2em;
> }
>
> -Josh
>

Done. CSS files are heavily cached and may take awhile to refresh.
Normal route is to request via: http://wiki.openstreetmap.org/wiki/Talk:Wiki

/ Grant



More information about the dev mailing list