Þ See Skin

See Skin

...is a wholly Cascading Style Sheets -based skin for TWiki. It strives to find the right balance between simplicity, a pleasing appearance, and sound structural foundation -- a clean separation of content and display logic. It should look good in modern browsers while remaining completely accessible to older ones.

Quick Install

  1. unpack the archive from twiki-root.
    1. if you use the TWiki web for your plugins, move */Plugins/* to */TWiki/*
  2. if you don't already have it, add the savemulti script to $twiki/bin/.htaccess
  3. Edit T Wiki Preferences (or Web Preferences, or your UserName topic) and add the following:
---++ %PLUGINWEB%.SeeSkin preferences
      * Set PLUGINWEB = Plugins
      * Set SKIN = see
      * Set SEESOURCE = %PUBURLPATH%/%PLUGINWEB%/SeeSkin
      * Set EXTSTYLE = ss-default.css
      * Set LOGOCHAR = Þ

Change PLUGINWEB to where you usually install plugins and See Skin is installed. There are a few more optional but recommended things to do.

Personalising to your site

Logo Character

LOGOCHAR was designed to be any single character entity, e.g. &, ©, ¶, », etc. but with a little creativity and you could use any letter, or even a word (hint: try "t w i k i"). Use the Simple Character Entity Chart at evolt.org to choose your logo character. Blank is an acceptable value.

Making %Webs% work

Edit Web Preferences in each of your webs and add INLINESTYLE to customise on a per-web basis. The following settings work out of the box for the TWiki, Plugins, and Sandbox webs.

TWiki:

%PLUGINWEB%.SeeSkin per-web preferences
      * Set WEBBGCOLOR = #ffe0b0 
      * Set INLINESTYLE = #logochar{color:%WEBBGCOLOR%} #menu{background-color:%WEBBGCOLOR%} body {background-image:url(%SEESOURCE%/twiki-sepia.gif); background-position: left bottom; background-repeat: no-repeat; background-attachment: fixed;}

Plugins:

%PLUGINWEB%.SeeSkin per-web preferences
      * Set WEBBGCOLOR = #afc3dc
      * Set INLINESTYLE = #logochar{color:#e2e9f2} #menu{background-color:%WEBBGCOLOR%} body{ background-image:url(%SEESOURCE%/plugins.gif); background-position: left bottom; background-repeat: no-repeat; background-attachment: fixed;}

Sandbox:

%PLUGINWEB%.SeeSkin per-web preferences
      * Set WEBBGCOLOR = #eee
      * Set INLINESTYLE = #logochar{color:%WEBBGCOLOR%} #menu{background-color:%WEBBGCOLOR%} body{ background-image:url(%SEESOURCE%/sandbox.gif); background-position: left bottom; background-repeat: no-repeat; background-attachment: fixed;}

The WEBBGCOLOR variable is already set on the Web Preferences page, so you don't really need to set it again here. it's just easier to have these two settings in one place. Remember which ever one comes last wins.

INLINESTYLE can be as long as you want as long as you want providing it is a single unbroken line. It is a very good idea to keep it as short and sweet as possible. If you find your self adding more and more styles, it's time to move them to an external stylesheet.

The easiest way to add background images for your webs is to attach them to this topic.

Going beyond

EXTernal STYLEsheet is where 90% of magic happens. It is advisable to make a copy and use that for tweaking. This way future upgrades won't clobber your hard work inadvertantly. TopStyle is an excellent CSS editor for Windows. See TWiki:Codev/CssResources for tools on other platforms, along with many other good learning resources.

For inspiration and a solid demonstration of how dramatically you can change a site "simply" by editing the stylesheet there is no better place to visit than the CSS Zen Garden.

TODO

As always, feedback is welcome and contributions cheered.

-- Matt Wilkie? xx Jul 2003

Attachment sort Action Size Date Who Comment
gif sandbox.gif manage 1.7 K 05 Jul 2006 - 03:50 Unknown User  
else ss-default.css manage 4.5 K 05 Jul 2006 - 03:50 Unknown User  
gif plugins.gif manage 19.8 K 05 Jul 2006 - 03:50 Unknown User  
else akey.htc manage 0.2 K 05 Jul 2006 - 03:50 Unknown User  
gif feedback.gif manage 9.6 K 05 Jul 2006 - 03:50 Unknown User  
gif twiki-sepia.gif manage 10.6 K 05 Jul 2006 - 03:50 Unknown User  


SeeSkin
Revision r1 - 16 Jul 2003 - 19:22:00 - Main.YNET\mhwilkie
Parents:
{FrontPage?}

Þ
feedback