We have placed our CSS additions on this page rather than in LeftMenu[1] and then have included it on the LeftMenu with:
%%add-css [CustomizedCSS] /%
This allows us to document what we have done.
Table of Contents
Owls' Colors#
- #74b63d is owls' green
Site Logo#
%%add-css /* hide the default jspwiki logo */ a.logo { background:transparent; border:none; text-indent:-99em; } a.logo b:before { content:""; } /%
%%add-css /* put the clean-blue logo, attached to this page */ a.logo { background: url([owls.png]); background-size: contain; background-repeat: no-repeat; background-position: center; height: 60px; width: 120px; /* add a fancy button like effect */ box-shadow:0 0 .25em white; border-radius:2em; background-color: rgba(255,255,255,0.15); } /%
/* add a fancy button like effect */ box-shadow:0 0 .25em white; border-radius:2em; background-color: rgba(255,255,255,0.15); }
This is an example page, using alternative fonts loaded from Google's fonts repository.
pre, tt {font-family:"Source Code Pro" ;font-size:66%;} .handwritten { font-family: "Indie Flower"; font-size:110%;} .pagename, h2 { font-family: "Orbitron";} h3,h4 { font-family:"Great Vibes"; color:rgb(232, 48, 79);}
Header in Orbitorn font#
Title#
Sub-Title#
This is just some sample in the default template font. Don’t even bother reading it; you will just waste your time. Why do you keep reading? Do I have to use Lorem Ipsum to stop you? OK, here goes: Lorem ipsum dolor sit amet, consectetur adipi sicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Still reading? Gosh, you’re impossible. I’ll stop here to spare you.
[#1] CSS that is put in the LeftMenu page are propagated to all the pages of your site. See LeftPage on this JSPWiki Doc for more info.