css complete

This commit is contained in:
io 2005-01-29 04:21:38 +00:00
parent bee8264b16
commit f57e6ef896
3 changed files with 391 additions and 141 deletions

View file

@ -19,30 +19,6 @@ a:visited {
color: #8888ff;
}
#warning {
text-decoration: blink;
color: #ff0000;
float: left;
}
table.error {
width: 99%;
}
table.error td {
padding: 5px;
text-align: center;
background-color: #e0e0ff;
}
table.error h2 {
color: #ff0000;
}
table.error p.msg {
font-weight: bold;
}
strong.big {
font-size: large;
}
@ -77,3 +53,164 @@ table.big-pad td {
table.small-pad td {
padding: 5px;
}
/*********************** general **************************/
used classes for containers:
title - heading of most pages (except main)
list - list of subscribers/mailinglists/moderators/...
add_remove - buttons and fields to manipulate such lists
info - explanations
question - buttons to answer a question
options - various possibilities (buttons)
input - group of form fields
container - includes all other containers on a page
low-level classes (for "span"):
button
formfield
checkbox
help
and a special div:
error
************************************************************/
div.container {
margin-left: auto;
margin-right: auto;
}
div.add_remove span.button {
width: auto;
margin-top: 0px;
}
div.add_remove span.formfield {
width: auto;
margin: 0px;
padding: 0px;
}
div.list {
padding: 10px;
text-align: center;
float: left;
}
p.warning {
text-decoration: blink;
color: #ff0000;
text-align: center;
}
span.help {
font-size: -1;
}
/************************ main page ***********************
name of container: main
available classes: list info add_remove
**********************************************************/
/******************* confirm delete page *******************
name of container: delete
available classes: title button
***********************************************************/
/************************* edit page ***********************
name of container: edit
availbale classes: title list add_remove options
***********************************************************/
/********* allow/deny/moderators/digests page **************
name of container: parts
available classes: title info list add_remove
***********************************************************/
/******************* create list page **********************
name of container: create
available classes: title input question
***********************************************************/
#create div.input span.formfield {
text-weight: bold;
text-size: large;
margin-left: 0px;
margin-right: auto;
}
/********************* config page *************************
name of container: config
available classes: title info input question
***********************************************************/
#config div.info {
text-size: large;
text-weight: bold;
}
#config div.input span.formfield {
text-weight: bold;
margin-left: 0px;
margin-right: auto;
}
/******************** textfiles ****************************
name of container: textfiles
available classes: list info question
***********************************************************/
/******************** edittext *****************************
name of container: edittext
available classes: title input info question
***********************************************************/
#edittext div.input {
float:left;
}
/**************** error messages **************************/
div.error {
width: 99%;
padding: 5px;
text-align: center;
background-color: #e0e0ff;
}
div.error h2 {
color: #ff0000;
}
div.error p.msg {
font-weight: bold;
}