Separating theme-wide from wiki-wide CSS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yo.

We should split the kindofblue CSS into two parts, one kindofblue-specific and
one that should be applied to all themes. This is to make custom tables,
positioning stuff and message boxes that pages use to work across themes.

Could someone with privileges please:


1. Add the attached file to something like

  `<kind-of-blue-location>/../common/css/`

for example:

  `/usr/share/moin/htdocs/common/css/`

and add this in CVS.


2. Make the following change in `wikiconfig.py`:

@@ -132,6 +132,11 @@
     # The default theme anonymous or new users get
     theme_default = 'kindofblue'

+    # Stylesheet to be included for all themes (glezos, 25/3/07)
+    stylesheets = [
+        ('screen', '/wikidata/common/css/screen-common.css')
+    ]
+


3. Make changes to the kindofblue repo live. I haven't removed the global-css
yet, so that people's browsers get to know the new CSS and *then* we ca remove
the duplicated styles. So in a few days we can remove them from
kindofblue/screen.css.


-d



-- 
Dimitris Glezos
Jabber ID: glezos@xxxxxxxxxx, GPG: 0xA5A04C3B
http://dimitris.glezos.com/

"He who gives up functionality for ease of use
loses both and deserves neither." (Anonymous)
-- 

/*
Custom fedoraproject.org/wiki CSS stylesheet

Global-wiki styles, used by all themes.

Copyright (c) Dimitris Glezos <dimitris@xxxxxxxxxx>, 2006, 2007.
License: GPL
*/


/**************************
  Helpful classes
*/

/* Stuff floating right or left */

#page .floatright {
    float: right;
    margin-right: 1em;
    border: none;
    padding: none;
}

#page .floatleft {
    float: left;
    margin-right: 1em;
    border: none;
    padding: 0;
}

#page table.floatright tr td p,
#page table.floatleft tr td p {
    padding: 0;
    margin: 0;
}

#page table.floatright td {
	border: none;
	padding:0;
}


/* Smaller text for tables */

#page table.small tr td {
    font-size: 0.85em;
}



/**************************
  Custom tables
*/

/* Table style 1
   Contrasting header row, light separating rows.
*/

#page table.t1 tr.th {
	background-color:#2963A6;
	color: #fff;
}

#page table.t1 tr.th {
	background-color:#2963A6;
	color: #fff;
	font-weight: bold; 
}

#page table.t1 tr.th2 {
    background-color:#eee;
}


/* Common table cells */

#page table td.yes {
    background-color: #6eb53c;
    color: #fff;
}

#page table td.no {
    background-color: #b5523c;
    color: #fff;
}

#page table td.ok {
    background-color: #b5833c;
    color: #fff;
}

/* Various degrees of green */

#page table td.g0 {
    background-color: white;
    color: black;
}

#page table td.g1 {
    background-color: #eff8e9;
    color: black;
}

#page table td.g2 {
    background-color: #d9eecb;
    color: black;
}*/

#page table td.g3 {
    background-color: #c3e4ad;
    color: black;
}

#page table td.g4 {
    background-color: #98d070;
    color: black;
}

#page table td.g5 {
    background-color: #6eb53c;
    color: white;
}



/**************************
  Infoboxes
*/

/* common for all message boxes */

table.message {
    background: #f9f6b7 url('http://fedoraproject.org/wiki/WikiGraphics?action=AttachFile&do=get&target=NoteBackground.png') bottom repeat-x;
    border: 1px solid #c4c295;
	color: black;
}

table.note tr td {
    background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=ideaS.png') 15px 50% no-repeat;
	padding: 0.5em 0.5em 0.5em 35px;
}

table.notice tr td {
    background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=importantS.png') 15px 50% no-repeat;
	padding: 0.5em 0.5em 0.5em 35px;
}

table.warning tr td {
    background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=warningS.png') 15px 50% no-repeat;
	padding: 0.5em 0.5em 0.5em 35px;
}

table.warning2 tr td {
    background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=warningM.png') 20px 50% no-repeat #ffcbc8;
	padding: 0.5em 0.5em 0.5em 60px;
	color: black;
	height: 70px;
}

table.warning3 tr td {
    background: url('http://fedoraproject.org/wiki/WikiElements?action=AttachFile&do=get&target=stopM.png') 20px 50% no-repeat #c10e00;
	padding: 0.5em 0.5em 0.5em 60px;
	color: white;
	height: 70px;
}

[Index of Archives]     [Fedora Users]     [Linux ARM]     [ARM Kernel]     [Older Fedora Users]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux