%%add-css [CustomizedCSS] /%
This allows us to document what we have done.
![]() |
%%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);
}
/%
);
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); }
This is an example page, using alternative fonts loaded from Google's fonts repository
.
/* 2. Load Custom Fonts */ @import url(https://fonts.googleapis.com/css?family=Orbitron); @import url(https://fonts.googleapis.com/css?family=Indie+Flower); @import url(https://fonts.googleapis.com/css?family=Source+Code+Pro); @import url(https://fonts.googleapis.com/css?family=Great+Vibes);
/* 3. Global Styles & Backgrounds */ body { background-color: #1a1a1a !important; color: #f0f0f0 !important; } .page { background-color: #1a1a1a !important; border: none !important; } a { color: #87ceeb !important; }
/* 4. Font Assignments */ 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); }
/* 5. FIX FOR TABLES: Force all row types to stay dark */ table, .table, .table-striped, .striped { background-color: #1a1a1a !important; color: #f0f0f0 !important; }
/* This targets the specific 'Zebra' stripes that were staying white */ .table-striped > tbody > tr:nth-of-type(odd), .table-striped > tbody > tr:nth-of-type(even), tr.odd, tr.even, .odd, .even { background-color: #222222 !important; }
/* Input box adjustment to prevent glare */ input, .filter { background-color: #333 !important; color: #fff !important; border: 1px solid #444 !important; }
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.
for more info.