1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/ep2008.py Sun Nov 25 19:00:45 2007 +0100
1.3 @@ -0,0 +1,61 @@
1.4 +# -*- coding: iso-8859-1 -*-
1.5 +# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
1.6 +# western country and you don't know that you use utf-8, you probably want to
1.7 +# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
1.8 +# encoding) you MUST use: coding: utf-8
1.9 +# That setting must match the encoding your editor uses when you modify the
1.10 +# settings below. If it does not, special non-ASCII chars will be wrong.
1.11 +
1.12 +"""
1.13 +This is a sample config for a wiki that is part of a wiki farm and uses
1.14 +farmconfig for common stuff. Here we define what has to be different from
1.15 +the farm's common settings.
1.16 +"""
1.17 +
1.18 +# we import the FarmConfig class for common defaults of our wikis:
1.19 +from farmconfig import FarmConfig
1.20 +
1.21 +# now we subclass that config (inherit from it) and change what's different:
1.22 +class Config(FarmConfig):
1.23 +
1.24 + # basic options (you normally need to change these)
1.25 + sitename = u'ep2008' # [Unicode]
1.26 + interwikiname = 'ep2008'
1.27 +
1.28 + # name of entry page / front page [Unicode], choose one of those:
1.29 +
1.30 + # a) if most wiki content is in a single language
1.31 + #page_front_page = u"MyStartingPage"
1.32 +
1.33 + # b) if wiki content is maintained in many languages
1.34 + page_front_page = u"FrontPage"
1.35 +
1.36 + # PB: Specific EP2008 settings.
1.37 +
1.38 + data_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/data'
1.39 + data_underlay_dir = '/home/paulb/Activities/EuroPython/2008/ep2008/wiki/underlay'
1.40 +
1.41 + acl_enabled = 1
1.42 + theme_default = 'ep2008'
1.43 +
1.44 + logo_string = u'<img src="/wiki/ep2008/img/europython.png" alt="EuroPython" />'
1.45 + navi_bar = [
1.46 + # If you want to show your page_front_page here:
1.47 + #u'%(page_front_page)s',
1.48 + u'Registration',
1.49 + u'Location',
1.50 + u'Places to Stay',
1.51 + u'Talks and Themes',
1.52 + u'Events',
1.53 + u'Sprints',
1.54 + u'Calendar',
1.55 + #u'RecentChanges',
1.56 + #u'FindPage',
1.57 + #u'HelpContents',
1.58 + ]
1.59 +
1.60 + banner_string = u'<img src="/wiki/ep2008/img/sponsor_us.png" alt="Banner advertisement" id="banner" />'
1.61 + contact_string = u'<div id="contact"><a href="Contact">Contact Information</a></div>'
1.62 + contribute_string = u'Contribute to this site!'
1.63 +
1.64 +# vim: tabstop=4 expandtab shiftwidth=4
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/farmconfig.py Sun Nov 25 19:00:45 2007 +0100
2.3 @@ -0,0 +1,176 @@
2.4 +# -*- coding: iso-8859-1 -*-
2.5 +# IMPORTANT! This encoding (charset) setting MUST be correct! If you live in a
2.6 +# western country and you don't know that you use utf-8, you probably want to
2.7 +# use iso-8859-1 (or some other iso charset). If you use utf-8 (a Unicode
2.8 +# encoding) you MUST use: coding: utf-8
2.9 +# That setting must match the encoding your editor uses when you modify the
2.10 +# settings below. If it does not, special non-ASCII chars will be wrong.
2.11 +
2.12 +"""
2.13 + MoinMoin - Configuration for a wiki farm
2.14 +
2.15 + If you run a single wiki only, you can keep the "wikis" list "as is"
2.16 + (it has a single rule mapping all requests to mywiki.py).
2.17 +
2.18 + Note that there are more config options than you'll find in
2.19 + the version of this file that is installed by default; see
2.20 + the module MoinMoin.multiconfig for a full list of names and their
2.21 + default values.
2.22 +
2.23 + Also, the URL http://moinmoin.wikiwikiweb.de/HelpOnConfiguration has
2.24 + a list of config options.
2.25 +"""
2.26 +
2.27 +
2.28 +# Wikis in your farm --------------------------------------------------
2.29 +
2.30 +# If you run multiple wikis, you need this list of pairs (wikiname, url
2.31 +# regular expression). moin processes that list and tries to match the
2.32 +# regular expression against the URL of this request - until it matches.
2.33 +# Then it loads the <wikiname>.py config for handling that request.
2.34 +
2.35 +# Important:
2.36 +# * the left part is the wikiname enclosed in double quotes
2.37 +# * the left part must be a valid python module name, so better use only
2.38 +# lower letters "a-z" and "_". Do not use blanks or "-" there!!!
2.39 +# * the right part is the url re, use r"..." for it
2.40 +# * the right part does NOT include "http://" nor "https://" at the beginning
2.41 +# * in the right part ".*" means "everything". Just "*" does not work like
2.42 +# for filenames on the shell / commandline, you must use ".*" as it is a RE.
2.43 +# * in the right part, "^" means "beginning" and "$" means "end"
2.44 +
2.45 +wikis = [
2.46 + # Standalone server needs the port e.g. localhost:8000
2.47 + # Twisted server can now use the port, too.
2.48 +
2.49 + # wikiname, url regular expression (no protocol)
2.50 + # ---------------------------------------------------------------
2.51 + ("ep2008", r".*"), # this is ok for a single wiki
2.52 +
2.53 + # for multiple wikis, do something like this:
2.54 + #("moinmoin", r"^moinmoin.wikiwikiweb.de/.*$"),
2.55 + #("moinmaster", r"^moinmaster.wikiwikiweb.de/.*$"),
2.56 +]
2.57 +
2.58 +
2.59 +# Common configuration for all wikis ----------------------------------
2.60 +
2.61 +# Everything that should be configured the same way should go here,
2.62 +# anything else that should be different should go to the single wiki's
2.63 +# config.
2.64 +# In that single wiki's config, we will use the class FarmConfig we define
2.65 +# below as the base config settings and only override what's different.
2.66 +#
2.67 +# In exactly the same way, we first include MoinMoin's Config Defaults here -
2.68 +# this is to get everything to sane defaults, so we need to change only what
2.69 +# we like to have different:
2.70 +
2.71 +from MoinMoin.multiconfig import DefaultConfig
2.72 +
2.73 +# Now we subclass this DefaultConfig. This means that we inherit every setting
2.74 +# from the DefaultConfig, except those we explicitely define different.
2.75 +
2.76 +class FarmConfig(DefaultConfig):
2.77 +
2.78 + # Critical setup ---------------------------------------------------
2.79 +
2.80 + # Misconfiguration here will render your wiki unusable. Check that
2.81 + # all directories are accessible by the web server or moin server.
2.82 +
2.83 + # If you encounter problems, try to set data_dir and data_underlay_dir
2.84 + # to absolute paths.
2.85 +
2.86 + # Where your mutable wiki pages are. You want to make regular
2.87 + # backups of this directory.
2.88 + #data_dir = './data/'
2.89 +
2.90 + # Where read-only system and help page are. You might want to share
2.91 + # this directory between several wikis. When you update MoinMoin,
2.92 + # you can safely replace the underlay directory with a new one. This
2.93 + # directory is part of MoinMoin distribution, you don't have to
2.94 + # backup it.
2.95 + #data_underlay_dir = './underlay/'
2.96 +
2.97 + # This must be '/wiki' for twisted and standalone. For CGI, it should
2.98 + # match your Apache Alias setting.
2.99 + url_prefix = '/wiki'
2.100 +
2.101 +
2.102 + # Security ----------------------------------------------------------
2.103 +
2.104 + # This is checked by some rather critical and potentially harmful actions,
2.105 + # like despam or PackageInstaller action:
2.106 + #superuser = [u"YourName", ]
2.107 +
2.108 + # IMPORTANT: grant yourself admin rights! replace YourName with
2.109 + # your user name. See HelpOnAccessControlLists for more help.
2.110 + # All acl_rights_xxx options must use unicode [Unicode]
2.111 + #acl_rights_before = u"YourName:read,write,delete,revert,admin"
2.112 +
2.113 + # Link spam protection for public wikis (uncomment to enable).
2.114 + # Needs a reliable internet connection.
2.115 + #from MoinMoin.util.antispam import SecurityPolicy
2.116 +
2.117 +
2.118 + # Mail --------------------------------------------------------------
2.119 +
2.120 + # Configure to enable subscribing to pages (disabled by default) or
2.121 + # sending forgotten passwords.
2.122 +
2.123 + # SMTP server, e.g. "mail.provider.com" (empty or None to disable mail)
2.124 + #mail_smarthost = ""
2.125 +
2.126 + # The return address, e.g u"Jürgen Wiki <noreply@mywiki.org>" [Unicode]
2.127 + #mail_from = u""
2.128 +
2.129 + # "user pwd" if you need to use SMTP AUTH
2.130 + #mail_login = ""
2.131 +
2.132 +
2.133 + # User interface ----------------------------------------------------
2.134 +
2.135 + # Add your wikis important pages at the end. It is not recommended to
2.136 + # remove the default links. Leave room for user links - don't use
2.137 + # more than 6 short items.
2.138 + # You MUST use Unicode strings here, but you need not use localized
2.139 + # page names for system and help pages, those will be used automatically
2.140 + # according to the user selected language. [Unicode]
2.141 + navi_bar = [
2.142 + # If you want to show your page_front_page here:
2.143 + #u'%(page_front_page)s',
2.144 + u'RecentChanges',
2.145 + u'FindPage',
2.146 + u'HelpContents',
2.147 + ]
2.148 +
2.149 + # The default theme anonymous or new users get
2.150 + theme_default = 'modern'
2.151 +
2.152 +
2.153 + # Language options --------------------------------------------------
2.154 +
2.155 + # See http://moinmoin.wikiwikiweb.de/ConfigMarket for configuration in
2.156 + # YOUR language that other people contributed.
2.157 +
2.158 + # The main wiki language, set the direction of the wiki pages
2.159 + language_default = 'en'
2.160 +
2.161 + # You must use Unicode strings here [Unicode]
2.162 + page_category_regex = u'^Category[A-Z]'
2.163 + page_dict_regex = u'[a-z]Dict$'
2.164 + page_group_regex = u'[a-z]Group$'
2.165 + page_template_regex = u'[a-z]Template$'
2.166 +
2.167 + # Content options ---------------------------------------------------
2.168 +
2.169 + # Show users hostnames in RecentChanges
2.170 + show_hosts = 1
2.171 +
2.172 + # Show the interwiki name (and link it to page_front_page) in the Theme,
2.173 + # nice for farm setups or when your logo does not show the wiki's name.
2.174 + show_interwiki = 1
2.175 + logo_string = u''
2.176 +
2.177 + # Enable graphical charts, requires gdchart.
2.178 + #chart_options = {'width': 600, 'height': 300}
2.179 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/initwiki Sun Nov 25 19:00:45 2007 +0100
3.3 @@ -0,0 +1,10 @@
3.4 +#!/bin/bash
3.5 +# Based on the documentation: /usr/share/doc/python-moinmoin/README.Debian.gz
3.6 +
3.7 +cd /home/paulb/Activities/EuroPython/2008
3.8 +mkdir -p ep2008/www
3.9 +cp -r /usr/share/moin/server/moin.cgi ep2008/www
3.10 +cp -r /usr/share/moin/htdocs ep2008/
3.11 +mkdir -p ep2008/wiki
3.12 +cp -r /usr/share/moin/data /usr/share/moin/underlay ep2008/wiki
3.13 +chown -R www-data: ep2008/www ep2008/wiki
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
4.2 +++ b/instmacros Sun Nov 25 19:00:45 2007 +0100
4.3 @@ -0,0 +1,4 @@
4.4 +#!/bin/bash
4.5 +
4.6 +cp macros/*.py ep2008/wiki/data/plugin/macro/
4.7 +chown www-data: ep2008/wiki/data/plugin/macro/*.py
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/instsite Sun Nov 25 19:00:45 2007 +0100
5.3 @@ -0,0 +1,5 @@
5.4 +#!/bin/bash
5.5 +# Based on the documentation: /usr/share/doc/python-moinmoin/README.Debian.gz
5.6 +
5.7 +cp site-ep2008 /etc/apache2/sites-available/ep2008
5.8 +a2ensite ep2008
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/insttheme Sun Nov 25 19:00:45 2007 +0100
6.3 @@ -0,0 +1,8 @@
6.4 +#!/bin/bash
6.5 +
6.6 +mkdir -p ep2008/htdocs/ep2008
6.7 +cp -r themes/ep2008/css ep2008/htdocs/ep2008
6.8 +cp -r themes/ep2008/img ep2008/htdocs/ep2008
6.9 +chown -R www-data: ep2008/htdocs/ep2008
6.10 +cp themes/ep2008/ep2008.py ep2008/wiki/data/plugin/theme/
6.11 +chown www-data: ep2008/wiki/data/plugin/theme/ep2008.py
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/instwiki Sun Nov 25 19:00:45 2007 +0100
7.3 @@ -0,0 +1,5 @@
7.4 +#!/bin/bash
7.5 +# Based on the documentation: /usr/share/doc/python-moinmoin/README.Debian.gz
7.6 +
7.7 +mv /etc/moin/farmconfig.py /etc/moin/farmconfig.py.old
7.8 +cp ep2008.py farmconfig.py /etc/moin
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
8.2 +++ b/macros/EndDiv.py Sun Nov 25 19:00:45 2007 +0100
8.3 @@ -0,0 +1,14 @@
8.4 +# -*- coding: iso-8859-1 -*-
8.5 +"""
8.6 + Outputs a div end tag.
8.7 +
8.8 + @copyright: 2007 by Paul Boddie
8.9 + @license: GNU GPL, see COPYING for details
8.10 +"""
8.11 +
8.12 +Dependencies = []
8.13 +
8.14 +def execute(macro, args):
8.15 + return macro.formatter.div(0)
8.16 +
8.17 +# vim: tabstop=4 expandtab shiftwidth=4
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
9.2 +++ b/macros/StartDiv.py Sun Nov 25 19:00:45 2007 +0100
9.3 @@ -0,0 +1,14 @@
9.4 +# -*- coding: iso-8859-1 -*-
9.5 +"""
9.6 + Outputs a div start tag with the specified identifier.
9.7 +
9.8 + @copyright: 2007 by Paul Boddie
9.9 + @license: GNU GPL, see COPYING for details
9.10 +"""
9.11 +
9.12 +Dependencies = []
9.13 +
9.14 +def execute(macro, args):
9.15 + return macro.formatter.div(1, attr={"id" : args})
9.16 +
9.17 +# vim: tabstop=4 expandtab shiftwidth=4
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
10.2 +++ b/site-ep2008 Sun Nov 25 19:00:45 2007 +0100
10.3 @@ -0,0 +1,2 @@
10.4 +Alias /wiki/ "/home/paulb/Activities/EuroPython/2008/ep2008/htdocs/"
10.5 +ScriptAlias /ep2008 "/home/paulb/Activities/EuroPython/2008/ep2008/www/moin.cgi"
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
11.2 +++ b/themes/ep2008/css/common.css Sun Nov 25 19:00:45 2007 +0100
11.3 @@ -0,0 +1,407 @@
11.4 +/* common.css - MoinMoin Default Styles
11.5 +
11.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann
11.7 +Copyright (c) 2007 by Paul Boddie (minor adjustments)
11.8 +*/
11.9 +
11.10 +/* content styles */
11.11 +
11.12 +html {
11.13 + background-color: #ccc9e2;
11.14 + color: black;
11.15 + font-family: Arial, Helvetica, sans-serif;
11.16 + font-size: 1em;
11.17 +}
11.18 +
11.19 +body {
11.20 + margin: 0;
11.21 +}
11.22 +
11.23 +/* Links */
11.24 +
11.25 +a {color: #0044B3;}
11.26 +a:visited {color: #597BB3;}
11.27 +a.nonexistent, a.badinterwiki {color: gray;}
11.28 +
11.29 +a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
11.30 +a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
11.31 +a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
11.32 +a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
11.33 +a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
11.34 +a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
11.35 +a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
11.36 +a.telnet:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
11.37 +a.irc:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
11.38 +a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
11.39 +a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
11.40 +a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
11.41 +a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
11.42 +
11.43 +/* IE sucks */
11.44 +* html a.www { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; }
11.45 +* html a.http { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; }
11.46 +* html a.https { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; }
11.47 +* html a.file { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; }
11.48 +* html a.ftp { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; }
11.49 +* html a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
11.50 +* html a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; }
11.51 +* html a.telnet { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
11.52 +* html a.irc { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; }
11.53 +* html a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; }
11.54 +* html a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; }
11.55 +* html a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
11.56 +* html a.interwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; }
11.57 +
11.58 +/*
11.59 +This could maybe avoid screen jumping in IE with IE7 hack.
11.60 +
11.61 +It works (or rather: should work) like this:
11.62 +First, IE sees the a.interwiki definition only as it doesn't understand neither
11.63 +* > a.interwiki, nor a.interwiki:before. We use a.interwiki to reserve some
11.64 +space for the icon inserted later.
11.65 +Later, the IE7 hack kicks in and then IE also understands those 2 other css lines.
11.66 +The * > a.interwiki line now removes the space we previously reserved and the
11.67 +:before inserts the icon.
11.68 +
11.69 +a.interwiki {margin-left: 25px; padding-top: 25px; padding-bottom: 25px;}
11.70 +* > a.interwiki {margin-left: 0px; padding-top: 25px; padding-bottom: 25px;}
11.71 +a.interwiki:before {content: url(../img/moin-inter.png);}
11.72 +
11.73 +Problem:
11.74 +While margin-left seems to work, margin-/padding-top/bottom doesnt.
11.75 +After getting it to work, this has to be fine-tuned to avoid screen jumping.
11.76 +*/
11.77 +
11.78 +li p {
11.79 + margin: .25em 0;
11.80 +}
11.81 +
11.82 +li.gap {
11.83 + margin-top: 0.5em;
11.84 +}
11.85 +
11.86 +dt {
11.87 + margin-top: 0.5em;
11.88 + font-weight: bold;
11.89 +}
11.90 +
11.91 +dd {
11.92 + margin-top: 0;
11.93 + margin-bottom: 0;
11.94 +}
11.95 +
11.96 +dd p {
11.97 + margin: 0.25em 0;
11.98 +}
11.99 +
11.100 +a, img, img.drawing {
11.101 + border: 0;
11.102 +}
11.103 +
11.104 +pre {
11.105 + border: 1pt solid #AEBDCC;
11.106 + background-color: #F3F5F7;
11.107 + padding: 5pt;
11.108 + font-family: courier, monospace;
11.109 + white-space: pre;
11.110 + /* begin css 3 or browser specific rules - do not remove!
11.111 + see: http://forums.techguy.org/archive/index.php/t-249849.html */
11.112 + white-space: pre-wrap;
11.113 + word-wrap: break-word;
11.114 + white-space: -moz-pre-wrap;
11.115 + white-space: -pre-wrap;
11.116 + white-space: -o-pre-wrap;
11.117 + /* end css 3 or browser specific rules */
11.118 +}
11.119 +
11.120 +pre.comment {
11.121 + background-color: #CCCCCC;
11.122 + color: red;
11.123 + padding: 0;
11.124 + margin: 0;
11.125 + border: 0;
11.126 +}
11.127 +
11.128 +pre.comment:before {
11.129 + content: url(../img/attention.png);
11.130 +}
11.131 +
11.132 +
11.133 +table
11.134 +{
11.135 + margin: 0.5em 0 0 0.5em;
11.136 + border-collapse: collapse;
11.137 +}
11.138 +
11.139 +td
11.140 +{
11.141 + padding: 0.25em 0.5em 0.25em 0.5em;
11.142 + border: 1pt solid #ADB9CC;
11.143 +}
11.144 +
11.145 +td p {
11.146 + margin: 0;
11.147 + padding: 0;
11.148 +}
11.149 +
11.150 +/* TableOfContents macro */
11.151 +.table-of-contents { border: 1px solid #bbbbbb;
11.152 + color: black; background-color: #eeeeee;
11.153 + font-size: small;
11.154 + text-align:left;
11.155 + margin: 0.5em; padding-left: 2em;
11.156 + width:50%; }
11.157 +.table-of-contents ol { margin:0; margin-left:1em;
11.158 + list-style-type:decimal; }
11.159 +.table-of-contents ul { margin:0;
11.160 + list-style-type:none; }
11.161 +.table-of-contents-heading { font-weight:bold; padding:0; margin:0; }
11.162 +
11.163 +
11.164 +.footnotes div {
11.165 + width: 5em;
11.166 + border-top: 1pt solid gray;
11.167 +}
11.168 +
11.169 +.footnotes ul {
11.170 + padding: 0 2em;
11.171 + margin: 0 0 1em;
11.172 + list-style: none;
11.173 +}
11.174 +
11.175 +.footnotes li {
11.176 +}
11.177 +
11.178 +.info {
11.179 + float: right;
11.180 + font-size: 0.7em;
11.181 + color: gray;
11.182 +}
11.183 +
11.184 +#pageinfo {
11.185 + margin-top: 2em;
11.186 +}
11.187 +
11.188 +.seperator {
11.189 + color: gray;
11.190 +}
11.191 +
11.192 +#pagebottom {clear: both;}
11.193 +
11.194 +/* standard rule ---- */
11.195 +hr {
11.196 + height: 1pt;
11.197 + background-color: #9C9C9C;
11.198 + border: 0;
11.199 +}
11.200 +
11.201 +/* custom rules ----- to ---------- */
11.202 +.hr1 {height: 2pt;}
11.203 +.hr2 {height: 3pt;}
11.204 +.hr3 {height: 4pt;}
11.205 +.hr4 {height: 5pt;}
11.206 +.hr5 {height: 6pt;}
11.207 +.hr6 {height: 7pt;}
11.208 +
11.209 +/* Replacement for deprecated html 3 <u> element and html 4 <strike> */
11.210 +.u {text-decoration: underline;}
11.211 +.strike {text-decoration: line-through;}
11.212 +
11.213 +/* eye catchers */
11.214 +.warning
11.215 +{
11.216 + color: red;
11.217 +}
11.218 +
11.219 +.error
11.220 +{
11.221 + color: red;
11.222 +}
11.223 +
11.224 +strong.highlight
11.225 +{
11.226 + background-color: #CCE0FF;
11.227 + padding: 1pt;
11.228 +}
11.229 +
11.230 +
11.231 +/* Recent changes */
11.232 +
11.233 +.rcrss {
11.234 + float: right;
11.235 + margin: 0;
11.236 +}
11.237 +
11.238 +.recentchanges[dir="rtl"] .rcrss {
11.239 + float: left;
11.240 +}
11.241 +
11.242 +.recentchanges table {
11.243 + clear: both;
11.244 +}
11.245 +
11.246 +.recentchanges td {
11.247 + vertical-align: top;
11.248 + border: none;
11.249 + border-bottom: 1pt solid #E6EAF0;
11.250 + background: #F2F4F7;
11.251 +}
11.252 +
11.253 +.rcdaybreak td {
11.254 + background: #B8C5D9;
11.255 + border: none;
11.256 +}
11.257 +
11.258 +.rcdaybreak td a {
11.259 + font-size: 0.88em;
11.260 +}
11.261 +
11.262 +.rcicon1, .rcicon2 {
11.263 + text-align: center;
11.264 +}
11.265 +
11.266 +.rcpagelink {
11.267 + width: 33%;
11.268 +}
11.269 +
11.270 +.rctime {
11.271 + font-size: 0.88em;
11.272 + white-space: nowrap;
11.273 +}
11.274 +
11.275 +.rceditor {
11.276 + white-space: nowrap;
11.277 + font-size: 0.88em;
11.278 +}
11.279 +
11.280 +.rccomment {
11.281 + width: 50%;
11.282 + color: gray;
11.283 + font-size: 0.88em;
11.284 +}
11.285 +
11.286 +
11.287 +/* User Preferences */
11.288 +
11.289 +.userpref table, .userpref td {
11.290 + border: none;
11.291 +}
11.292 +
11.293 +/* CSS for new code_area markup used by Colorizer and ParserBase */
11.294 +
11.295 +div.codearea { /* the div makes the border */
11.296 + margin: 0.5em 0;
11.297 + padding: 0;
11.298 + border: 1pt solid #AEBDCC;
11.299 + background-color: #F3F5F7;
11.300 + color: black;
11.301 +}
11.302 +
11.303 +div.codearea pre { /* the pre has no border and is inside the div */
11.304 + margin: 0;
11.305 + padding: 10pt;
11.306 + border: none;
11.307 +}
11.308 +
11.309 +a.codenumbers { /* format of the line numbering link */
11.310 + margin: 0 10pt;
11.311 + font-size: 0.85em;
11.312 + color: gray;
11.313 +}
11.314 +
11.315 +/* format of certain syntax spans */
11.316 +div.codearea pre span.LineNumber {color: gray;}
11.317 +div.codearea pre span.ID {color: #000000;}
11.318 +div.codearea pre span.Operator {color: #0000C0;}
11.319 +div.codearea pre span.Char {color: #004080;}
11.320 +div.codearea pre span.Comment {color: #008000;}
11.321 +div.codearea pre span.Number {color: #0080C0;}
11.322 +div.codearea pre span.String {color: #004080;}
11.323 +div.codearea pre span.SPChar {color: #0000C0;}
11.324 +div.codearea pre span.ResWord {color: #A00000;}
11.325 +div.codearea pre span.ConsWord {color: #008080; font-weight: bold;}
11.326 +div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;}
11.327 +div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;}
11.328 +div.codearea pre span.Special {color: #0000ff;}
11.329 +div.codearea pre span.Preprc {color: #803999;}
11.330 +
11.331 +
11.332 +/* Search results */
11.333 +
11.334 +.searchresults dt {
11.335 + margin-top: 1em;
11.336 + font-weight: normal;
11.337 +}
11.338 +
11.339 +.searchresults dd {
11.340 + font-size: 0.85em;
11.341 +}
11.342 +
11.343 +/* MonthCalendar css */
11.344 +
11.345 +/* days without and with pages linked to them */
11.346 +a.cal-emptyday {
11.347 + color: #777777;
11.348 + text-align: center;
11.349 +}
11.350 +a.cal-usedday {
11.351 + color: #000000;
11.352 + font-weight: bold;
11.353 + text-align: center;
11.354 +}
11.355 +/* general stuff: workdays, weekend, today */
11.356 +td.cal-workday {
11.357 + background-color: #DDDDFF;
11.358 + text-align: center;
11.359 +}
11.360 +td.cal-weekend {
11.361 + background-color: #FFDDDD;
11.362 + text-align: center;
11.363 +}
11.364 +td.cal-today {
11.365 + background-color: #CCFFCC;
11.366 + border-style: solid;
11.367 + border-width: 2pt;
11.368 + text-align: center;
11.369 +}
11.370 +/* invalid places on the monthly calendar sheet */
11.371 +td.cal-invalidday {
11.372 + background-color: #CCCCCC;
11.373 +}
11.374 +/* links to prev/next month/year */
11.375 +a.cal-link {
11.376 + color: #000000;
11.377 + text-decoration: none;
11.378 +}
11.379 +th.cal-header {
11.380 + background-color: #DDBBFF;
11.381 + text-align: center;
11.382 +}
11.383 +
11.384 +/* for MonthCalendar mouseover info boxes */
11.385 +TABLE.tip {
11.386 + color: black;
11.387 + background-color: #FF8888;
11.388 + font-size: small;
11.389 + font-weight: normal;
11.390 + border-style: solid;
11.391 + border-width: 1px;
11.392 +}
11.393 +
11.394 +TH.tip {
11.395 + background-color: #FF4444;
11.396 + font-weight: bold;
11.397 + text-align: center;
11.398 +}
11.399 +
11.400 +TD.tip {
11.401 + text-align: left;
11.402 +}
11.403 +*[dir="rtl"] TD.tip {
11.404 + text-align: right;
11.405 +}
11.406 +
11.407 +/* end MonthCalendar stuff */
11.408 +
11.409 +/* vim: tabstop=4 expandtab shiftwidth=4
11.410 + */
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
12.2 +++ b/themes/ep2008/css/print.css Sun Nov 25 19:00:45 2007 +0100
12.3 @@ -0,0 +1,53 @@
12.4 +/* print.css - MoinMoin Default Styles
12.5 +
12.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann
12.7 +*/
12.8 +
12.9 +/* content styles */
12.10 +
12.11 +html {
12.12 + font-family: Times, serif;
12.13 + font-size: 12pt;
12.14 +}
12.15 +
12.16 +body {
12.17 + /* Give about 3.4cm in Mozilla/Firefox and about 2.2cm in Safari */
12.18 + margin: 1.5cm;
12.19 +}
12.20 +
12.21 +a, a:visited, a.nonexistent, a.badinterwiki {
12.22 + color: black;
12.23 + text-decoration: none;
12.24 +}
12.25 +
12.26 +a:hover {
12.27 + text-decoration: underline;
12.28 +}
12.29 +
12.30 +.info a {
12.31 + color: gray;
12.32 +}
12.33 +
12.34 +pre {
12.35 + font-size: 10pt;
12.36 +}
12.37 +
12.38 +a.interwiki:before, a.badinterwiki:before {
12.39 + content: attr(title) ":";
12.40 +}
12.41 +
12.42 +a.interwiki img, a.badinterwiki img {
12.43 + display: none;
12.44 +}
12.45 +
12.46 +.footnotes div {
12.47 + width: 5em;
12.48 + border-top: 1pt solid gray;
12.49 +}
12.50 +
12.51 +/* user interface styles */
12.52 +
12.53 +#header, #sidebar, #footer, #timings, #credits, #interwiki, #pagelocation {
12.54 + display: none;
12.55 +}
12.56 +
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
13.2 +++ b/themes/ep2008/css/projection.css Sun Nov 25 19:00:45 2007 +0100
13.3 @@ -0,0 +1,33 @@
13.4 +/* projection.css - MoinMoin Slide Styles
13.5 +
13.6 +Copyright (c) 2003 by Juergen Hermann
13.7 +*/
13.8 +
13.9 +@import url(screen.css);
13.10 +
13.11 +html { line-height: 1.8em; }
13.12 +
13.13 +body, b, em, a, span, div, p, td { font-size: 18pt; }
13.14 +
13.15 +h1 { font-size: 26pt; }
13.16 +h2 { font-size: 22pt; }
13.17 +h3 { font-size: 20pt; }
13.18 +h4 { font-size: 18pt; }
13.19 +h5 { font-size: 16pt; }
13.20 +h6 { font-size: 14pt; }
13.21 +
13.22 +tt, pre { font-size: 16pt; }
13.23 +sup, sub { font-size: 12pt; }
13.24 +
13.25 +table.navigation {
13.26 + float: right;
13.27 + margin: 2px;
13.28 +}
13.29 +
13.30 +.navigation td, .navigation a {
13.31 + font-size: 10pt;
13.32 + padding: 2px;
13.33 +}
13.34 +
13.35 +#interwiki, #pagelocation, #pageinfo { display: none; }
13.36 +
14.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
14.2 +++ b/themes/ep2008/css/screen.css Sun Nov 25 19:00:45 2007 +0100
14.3 @@ -0,0 +1,552 @@
14.4 +/* screen.css - MoinMoin Default Styles
14.5 +
14.6 +Copyright (c) 2001, 2002, 2003 by Juergen Hermann
14.7 +Copyright (c) 2007 by Paul Boddie
14.8 +*/
14.9 +
14.10 +/* content styles */
14.11 +
14.12 +/* debug
14.13 +* {border: 1px dotted blue;}
14.14 +*/
14.15 +
14.16 +body {
14.17 + margin: 10px 40px 10px 40px;
14.18 + padding: 0;
14.19 + border: 0;
14.20 +}
14.21 +
14.22 +a:link { text-decoration: none; }
14.23 +a:link:hover, a:link:active { text-decoration: underline; color: green; }
14.24 +a:visited { text-decoration: none; color: blue; }
14.25 +a:visited:hover { text-decoration: none; color: red; }
14.26 +
14.27 +input {
14.28 + /* does strange effect to button (text size becomes bigger when clicking)
14.29 + font-size: 1em;
14.30 + font-family: Arial, Lucida Grande, sans-serif;
14.31 + */
14.32 +}
14.33 +
14.34 +textarea {
14.35 + font-size: 1em;
14.36 + font-family: monospace;
14.37 +}
14.38 +
14.39 +.disabled {
14.40 + /* IE ignore disabled attribute, but at least show items in gray */
14.41 + color: gray;
14.42 +}
14.43 +
14.44 +/* user interface styles */
14.45 +
14.46 +#header {
14.47 + position: relative;
14.48 + margin-bottom: 10px;
14.49 + padding: 1px;
14.50 + background: white;
14.51 + /* height: 82px; */
14.52 +}
14.53 +
14.54 +#logo {
14.55 + float: left;
14.56 + margin: 0;
14.57 + padding: 0;
14.58 + /* For text only logo */
14.59 + font-size: 1.4em;
14.60 + line-height: 1em;
14.61 + font-weight: bold;
14.62 +}
14.63 +
14.64 +#logo img {
14.65 + vertical-align: top;
14.66 +}
14.67 +
14.68 +#logo a {
14.69 + color: black;
14.70 + text-decoration: none;
14.71 +}
14.72 +
14.73 +#banner {
14.74 + float: left;
14.75 + width: 468px;
14.76 + height: 60px;
14.77 +}
14.78 +
14.79 +#banner img {
14.80 + vertical-align: top;
14.81 +}
14.82 +
14.83 +#username {
14.84 + display: inline;
14.85 + margin: 5px 12px;
14.86 + padding: 0;
14.87 + text-align: right;
14.88 + font-size: 0.82em;
14.89 + white-space: nowrap;
14.90 +}
14.91 +
14.92 +*[dir="rtl"] #username {
14.93 + text-align: left;
14.94 + margin: 5px 0px;
14.95 +}
14.96 +
14.97 +#username li {
14.98 + display: inline;
14.99 + padding: 0 0.5em 0 0;
14.100 +}
14.101 +
14.102 +#username form {
14.103 + display: inline;
14.104 +}
14.105 +
14.106 +#username input {
14.107 + display: inline;
14.108 + padding: 0;
14.109 + margin: 0;
14.110 + border: none;
14.111 + background: #E7E7E7; /* inherit doesnt work on IE */
14.112 + color: blue;
14.113 + font-size: 0.82em;
14.114 + cursor: pointer;
14.115 +}
14.116 +
14.117 +#username input:hover {
14.118 + color: red;
14.119 +}
14.120 +
14.121 +#searchform {
14.122 + position: absolute;
14.123 + top: 0;
14.124 + right: 0;
14.125 + margin: 5px 10px;
14.126 + padding: 0;
14.127 + white-space: nowrap;
14.128 + font-size: 0.82em;
14.129 +}
14.130 +
14.131 +*[dir="rtl"] #searchform {
14.132 + float: left;
14.133 +}
14.134 +
14.135 +#searchform form div {
14.136 + display: inline;
14.137 +}
14.138 +
14.139 +#pagetrail {
14.140 + clear: right;
14.141 + display: inline;
14.142 + margin: 5px 12px;
14.143 + padding: 0;
14.144 + font-size: 0.88em;
14.145 +}
14.146 +
14.147 +*[dir="rtl"] #pagetrail {
14.148 + clear: left;
14.149 +}
14.150 +
14.151 +#interwiki {
14.152 + margin: 5px 12px;
14.153 + display: inline;
14.154 + font-size: 1em;
14.155 +}
14.156 +
14.157 +*[dir="rtl"] #interwiki {
14.158 + margin: 5px 0px;
14.159 + display: inline;
14.160 + font-size: 1em;
14.161 +}
14.162 +
14.163 +#interwiki span:after {
14.164 + content: ":";
14.165 +}
14.166 +
14.167 +#locationline {
14.168 + clear: right;
14.169 + padding: 0;
14.170 +}
14.171 +
14.172 +*[dir="rtl"] #locationline {
14.173 + clear: left;
14.174 +}
14.175 +
14.176 +#pagelocation {
14.177 + display: inline;
14.178 + margin: 5px 12px;
14.179 + padding: 0;
14.180 + font-size: 1.5em;
14.181 +}
14.182 +
14.183 +#pagetrail li, #pagelocation li {
14.184 + display: inline;
14.185 + margin: 0;
14.186 +}
14.187 +
14.188 +/* XXX Warning: non-ascii characters! */
14.189 +#pagetrail li:after {
14.190 + content: " » ";
14.191 +}
14.192 +
14.193 +*[dir="rtl"] #pagetrail li:after {
14.194 + content: " « ";
14.195 +}
14.196 +
14.197 +#pagetrail li:last-child:after {
14.198 + content: "";
14.199 +}
14.200 +
14.201 +* html #pagetrail li, * html #pagelocation li { /* for broken IE */
14.202 + border-left: 1px solid #AAA;
14.203 + padding: 0 0.3em;
14.204 +}
14.205 +
14.206 +#pagelocation li:after {
14.207 + content: "/ ";
14.208 +}
14.209 +
14.210 +*[dir="rtl"] #pagelocation li:after {
14.211 + content: " \\ "; /* TODO: check what looks best with RTL */
14.212 +}
14.213 +
14.214 +#pagelocation li:last-child:after {
14.215 + content: "";
14.216 +}
14.217 +
14.218 +#end-of-header {
14.219 + clear: both;
14.220 +}
14.221 +
14.222 +#navibar {
14.223 + clear: both; /* problem: clear: right; aligns nicely right of logo,
14.224 + but lets it float high in the header, disconnected from ground */
14.225 + display: block;
14.226 + margin: 0;
14.227 + padding: 0;
14.228 +}
14.229 +
14.230 +#navibar li {
14.231 + background-color: #073683;
14.232 + color: white;
14.233 +}
14.234 +
14.235 +#navibar a, #navibar a:visited {color: white;}
14.236 +
14.237 +#navibar li {
14.238 + float: left;
14.239 + display: inline;
14.240 + margin: 0;
14.241 + padding: 2px 1em;
14.242 + white-space: nowrap;
14.243 +}
14.244 +
14.245 +#navibar li.wikilink {
14.246 + /* background-color: white; */ /*url(../img/tab-wiki.png) repeat-x;*/
14.247 +}
14.248 +
14.249 +#navibar li.userlink {
14.250 + /* background-color: #E6EAF0; */ /*url(../img/tab-user.png) repeat-x;*/
14.251 +}
14.252 +
14.253 +#navibar a, #navibar a:visited {
14.254 + /* color: black; */
14.255 + text-decoration: none;
14.256 +}
14.257 +
14.258 +#navibar li.current a {
14.259 + font-weight: bold;
14.260 +}
14.261 +
14.262 +#navibar li:hover {
14.263 + background-color: #10adf7;
14.264 + color: white;
14.265 +}
14.266 +
14.267 +#navibar li.current, #navibar li.current:hover {
14.268 + background-color: #10adf7; /* url(../img/tab-selected.png) repeat-x; */
14.269 + color: white;
14.270 +}
14.271 +
14.272 +#pageline {
14.273 + clear: both;
14.274 + margin: 0;
14.275 + padding: 0;
14.276 + width: 100%;
14.277 + /* sync these values, line-height is needed for IE */
14.278 + height: 4px;
14.279 + line-height: 4px;
14.280 + border-bottom: 1px solid #9C9C9C;
14.281 + background: #ccc9e2;
14.282 +}
14.283 +
14.284 +#contribute {
14.285 + position: relative;
14.286 + float: right;
14.287 +}
14.288 +
14.289 +.contribute-hidden {
14.290 + position: absolute; bottom: 0; right: 0;
14.291 + z-index: 2;
14.292 + background-color: white;
14.293 + color: black;
14.294 +}
14.295 +
14.296 +#contribute .contribute-hidden {
14.297 + display: none;
14.298 +}
14.299 +
14.300 +#contribute:hover .contribute-hidden {
14.301 + display: block;
14.302 +}
14.303 +
14.304 +.editbar {
14.305 + clear: both;
14.306 + display: block;
14.307 + margin: 0;
14.308 + padding: 0 8px;
14.309 + white-space: nowrap;
14.310 + background: white;
14.311 + font-size: 0.8em;
14.312 +}
14.313 +
14.314 +.editbar form, .editbar form div {
14.315 + display: inline;
14.316 + margin: 0;
14.317 +}
14.318 +
14.319 +.editbar li {
14.320 + display: inline;
14.321 + padding: 0;
14.322 + margin: 4px 6px;
14.323 +}
14.324 +
14.325 +*[dir="rtl"] .editbar li {
14.326 + float: right;
14.327 +}
14.328 +
14.329 +#header .editbar {
14.330 + border-bottom: 1px dotted #9C9C9C;
14.331 +}
14.332 +
14.333 +#footer .editbar {
14.334 + border-top: 1px dotted #9C9C9C;
14.335 + border-bottom: 1px solid #9C9C9C;
14.336 +}
14.337 +
14.338 +.editbar a, .editbar a:visited { color: #0044B3; }
14.339 +
14.340 +#message {
14.341 + clear: both;
14.342 + margin: 0;
14.343 + padding: 5px 10px;
14.344 + border-bottom: 1px solid #c9c9c9;
14.345 + background: #E6EAF0;
14.346 +}
14.347 +
14.348 +#message p {
14.349 + margin: 5px 0;
14.350 + padding: 0;
14.351 + /* font-weight: bold; */
14.352 +}
14.353 +
14.354 +#message div.buttons {
14.355 + font-weight: normal;
14.356 +}
14.357 +
14.358 +.dialog form {
14.359 + margin: 0 15px;
14.360 +}
14.361 +
14.362 +.dialog td {
14.363 + border: none;
14.364 + padding: 5px;
14.365 +}
14.366 +
14.367 +.dialog td.label {
14.368 + text-align: right;
14.369 + font-weight: bold;
14.370 + width: 25%;
14.371 +}
14.372 +
14.373 +*[dir="rtl"] .dialog td.label {
14.374 + text-align: left;
14.375 +}
14.376 +
14.377 +.dialog td.content input {
14.378 + width: 100%;
14.379 +}
14.380 +
14.381 +#page {
14.382 + background-color: white;
14.383 + margin: 0;
14.384 + padding: 2px 20px 20px 20px;
14.385 +
14.386 + /* theses are some Firefox 1.5b1 specific extensions, see also the CSS3 draft.
14.387 + -moz-column-width: 25em;
14.388 + -moz-column-gap: 2em;
14.389 + -moz-column-rule: solid black 0.3em; -- doesn't work yet with 1.5b1!
14.390 +
14.391 + TODO: make text/gui editor NOT use #page css, we don't want columns there!
14.392 + */
14.393 +}
14.394 +
14.395 +/* See below for overriding of the page background */
14.396 +
14.397 +/* We use here dumb css1 ids because of IE suckiness */
14.398 +#editor-textarea, #editor-help {
14.399 + font-family: monospace;
14.400 + border: 1px solid #8cacbb;
14.401 + color: black;
14.402 + background-color: white;
14.403 + padding: 3px;
14.404 + width: 100%;
14.405 + margin-top: 0.5em;
14.406 +}
14.407 +
14.408 +#editor-help {
14.409 + font-size: small;
14.410 + background-color: #EEEEFF;
14.411 +}
14.412 +
14.413 +#editor-comment {
14.414 + font-size: 100%;
14.415 + border: 1px solid #8cacbb;
14.416 + color: black;
14.417 + background-color: white;
14.418 + vertical-align: middle;
14.419 + padding: 1px;
14.420 + display: inline;
14.421 + width: 70%;
14.422 +}
14.423 +
14.424 +#preview, #previewbelow {
14.425 + border: 1px solid #6C7680;
14.426 + padding: 10px 30px 20px 30px;
14.427 + background: url(../img/draft.png);
14.428 + margin-top: 0.5em;
14.429 +}
14.430 +
14.431 +input.button {
14.432 + /*
14.433 + border: 1px solid #8cacbb;
14.434 + color: black;
14.435 + background-color: #CCCCCC;
14.436 + vertical-align: middle;
14.437 + text-decoration: none;
14.438 + font-size: 100%;
14.439 + cursor: pointer;
14.440 + margin: 2px;
14.441 + padding: 1px;
14.442 + display: inline;
14.443 + */
14.444 +}
14.445 +
14.446 +#footer {
14.447 + clear: both;
14.448 + margin: 0;
14.449 + padding: 1px;
14.450 +}
14.451 +
14.452 +#contact {
14.453 + padding: 2px;
14.454 + text-align: right;
14.455 + background-color: #2b64a8;
14.456 + color: white;
14.457 +}
14.458 +
14.459 +#contact a, #contact a:visited {color: white;}
14.460 +
14.461 +#credits, #version, #timings{
14.462 + margin: 5px 10px;
14.463 + padding: 0;
14.464 + text-align: center;
14.465 + font-size: 0.88em;
14.466 + color: #6C7680;
14.467 +}
14.468 +
14.469 +#credits li, #timings li {
14.470 + display: inline;
14.471 + padding: 0 2px;
14.472 + margin: 0 4px;
14.473 +}
14.474 +
14.475 +#credits img {
14.476 + vertical-align: middle;
14.477 +}
14.478 +
14.479 +.diff {
14.480 + width:99%;
14.481 +}
14.482 +
14.483 +.diff-header {
14.484 + font-weight: bold;
14.485 +}
14.486 +
14.487 +.diff-title {
14.488 + background-color: #C0C0C0;
14.489 +}
14.490 +
14.491 +.diff-added {
14.492 + background-color: #E0FFE0;
14.493 + vertical-align: sub;
14.494 +}
14.495 +
14.496 +.diff-removed {
14.497 + background-color: #FFFFE0;
14.498 + vertical-align: sub;
14.499 +}
14.500 +
14.501 +.diff-added span {
14.502 + background-color: #80FF80;
14.503 +}
14.504 +
14.505 +.diff-removed span {
14.506 + background-color: #FFFF80;
14.507 +}
14.508 +
14.509 +table.navigation {
14.510 + float: right;
14.511 + margin: 2px;
14.512 +}
14.513 +
14.514 +
14.515 +/* Spans for line-anchors - uses * html hack so that the rule only applies to
14.516 + * IE (where omitting the "display: none" triggers rendering bugs).
14.517 + */
14.518 +* html span.anchor { display: none; }
14.519 +
14.520 +/* IE6 has a bug with rendering of float elements. We workaround this bug by
14.521 + * assigning those elements a height attribute because we currently don't know
14.522 + * a better solution. This results in IE calculating the correct height of the
14.523 + * characters and displaying them correctly. We don't know any negative side
14.524 + * effects of this workaround:
14.525 + */
14.526 +* html div#page, * html div#header { height: 0.001%; }
14.527 +
14.528 +/* Special rules for EuroPython content */
14.529 +
14.530 +.page-FrontPage #page {
14.531 + background-color: #ccc9e2;
14.532 +}
14.533 +
14.534 +.portlet {
14.535 + background-color: white;
14.536 + float: left;
14.537 + width: 25%;
14.538 + border: 0;
14.539 +}
14.540 +
14.541 +.portlet td {
14.542 + border: 0;
14.543 +}
14.544 +
14.545 +.portlet-clear {
14.546 + clear: left;
14.547 +}
14.548 +
14.549 +.section-header {
14.550 + background-color: #2b64a8;
14.551 + color: white;
14.552 +}
14.553 +
14.554 +/* vim: tabstop=4 expandtab shiftwidth=4
14.555 + */
15.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
15.2 +++ b/themes/ep2008/ep2008.py Sun Nov 25 19:00:45 2007 +0100
15.3 @@ -0,0 +1,131 @@
15.4 +# -*- coding: iso-8859-1 -*-
15.5 +"""
15.6 + MoinMoin - ep2008 (EuroPython 2008) theme
15.7 +
15.8 + @copyright: 2003-2007 by Nir Soffer, Thomas Waldmann, Paul Boddie
15.9 + @license: GNU GPL, see COPYING for details.
15.10 +"""
15.11 +
15.12 +from MoinMoin.theme import ThemeBase
15.13 +#from MoinMoin.theme import modern
15.14 +
15.15 +#class Theme(modern.Theme):
15.16 +class Theme(ThemeBase):
15.17 +
15.18 + name = "ep2008"
15.19 +
15.20 + def header(self, d, **kw):
15.21 + """ Assemble wiki header
15.22 +
15.23 + @param d: parameter dictionary
15.24 + @rtype: unicode
15.25 + @return: page header html
15.26 + """
15.27 + html = [
15.28 + # Pre header custom html
15.29 + self.emit_custom_html(self.cfg.page_header1),
15.30 +
15.31 + # Header
15.32 + u'<div id="header">',
15.33 + self.logo(),
15.34 +
15.35 + # Banner
15.36 + self.cfg.banner_string,
15.37 +
15.38 + self.searchform(d),
15.39 + self.navibar(d),
15.40 + self.msg(d),
15.41 +
15.42 + # NOTE: Hack everything into the header
15.43 + u'<div id="end-of-header">',
15.44 + u'</div>',
15.45 + u'</div>',
15.46 +
15.47 + # Post header custom html (not recommended)
15.48 + self.emit_custom_html(self.cfg.page_header2),
15.49 +
15.50 + # Start of page
15.51 + u'<div class="page-%s">' % d['page_name'],
15.52 + self.startPage(),
15.53 + ]
15.54 + return u'\n'.join(html)
15.55 +
15.56 + def editorheader(self, d, **kw):
15.57 + """ Assemble wiki header for editor
15.58 +
15.59 + @param d: parameter dictionary
15.60 + @rtype: unicode
15.61 + @return: page header html
15.62 + """
15.63 + html = [
15.64 + # Pre header custom html
15.65 + self.emit_custom_html(self.cfg.page_header1),
15.66 +
15.67 + # Header
15.68 + u'<div id="header">',
15.69 + self.title(d),
15.70 + self.msg(d),
15.71 + u'</div>',
15.72 +
15.73 + # Post header custom html (not recommended)
15.74 + self.emit_custom_html(self.cfg.page_header2),
15.75 +
15.76 + # Start of page
15.77 + u'<div class="page-%s">' % d['page_name'],
15.78 + self.startPage(),
15.79 + ]
15.80 + return u'\n'.join(html)
15.81 +
15.82 + def footer(self, d, **keywords):
15.83 + """ Assemble wiki footer
15.84 +
15.85 + @param d: parameter dictionary
15.86 + @keyword ...:...
15.87 + @rtype: unicode
15.88 + @return: page footer html
15.89 + """
15.90 + page = d['page']
15.91 + html = [
15.92 + # End of page
15.93 + self.pageinfo(page),
15.94 + self.endPage(),
15.95 + u'</div>',
15.96 +
15.97 + # Pre footer custom html (not recommended!)
15.98 + self.emit_custom_html(self.cfg.page_footer1),
15.99 +
15.100 + # Footer
15.101 + u'<div id="footer">',
15.102 + self.cfg.contact_string,
15.103 + self.trail(d),
15.104 + u'<div id="contribute">',
15.105 + self.cfg.contribute_string,
15.106 + u'<div class="contribute-hidden">',
15.107 + self.username(d),
15.108 + u'<div id="locationline">',
15.109 + self.interwiki(d),
15.110 + self.title(d),
15.111 + u'</div>',
15.112 + self.editbar(d),
15.113 + u'</div>',
15.114 + u'</div>',
15.115 + self.credits(d),
15.116 + self.showversion(d, **keywords),
15.117 + u'</div>',
15.118 +
15.119 + # Post footer custom html
15.120 + self.emit_custom_html(self.cfg.page_footer2),
15.121 + ]
15.122 + return u'\n'.join(html)
15.123 +
15.124 +def execute(request):
15.125 + """
15.126 + Generate and return a theme object
15.127 +
15.128 + @param request: the request object
15.129 + @rtype: MoinTheme
15.130 + @return: Theme object
15.131 + """
15.132 + return Theme(request)
15.133 +
15.134 +# vim: tabstop=4 expandtab shiftwidth=4
16.1 Binary file themes/ep2008/img/europython.png has changed
17.1 Binary file themes/ep2008/img/index_html.png has changed
18.1 Binary file themes/ep2008/img/sponsor_us.png has changed