moinmoin-acaro/css/common.css
User Identifier bc00fdbead Make it Acaro
2017-03-11 00:17:09 +01:00

554 lines
11 KiB
CSS

/* common.css - MoinMoin Default Styles
Copyright (c) 2001, 2002, 2003 by Juergen Hermann
*/
/* content styles */
html {
background-color: white;
color: black;
font-family: monospace;
font-size: 1em;
}
body {
margin: 0;
}
/* Links */
a {color: #0044B3;}
/* a:visited {color: #597BB3;} */
a:visited {color: #FF7BB3;}
a.nonexistent:visited, a.nonexistent,
a.badinterwiki:visited, a.badinterwiki {color: gray;}
a.www:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
a.http:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
a.https:before {content: url(../img/moin-www.png); margin: 0 0.2em;}
a.file:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
a.ftp:before {content: url(../img/moin-ftp.png); margin: 0 0.2em;}
a.nntp:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
a.news:before {content: url(../img/moin-news.png); margin: 0 0.2em;}
a.telnet:before, a.ssh:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
a.irc:before, a.ircs:before {content: url(../img/moin-telnet.png); margin: 0 0.2em;}
a.mailto:before {content: url(../img/moin-email.png); margin: 0 0.2em;}
a.attachment:before {content: url(../img/moin-attach.png); margin: 0 0.2em;}
a.badinterwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
a.interwiki:before {content: url(../img/moin-inter.png); margin: 0 0.2em;}
a.action:before {content: url(../img/moin-action.png); margin: 0 0.2em;}
li p {
margin: .25em 0;
}
li.gap {
margin-top: 0.5em;
}
dt {
margin-top: 0.5em;
font-weight: bold;
}
dd {
margin-top: 0;
margin-bottom: 0;
}
dd p {
margin: 0.25em 0;
}
a, img, img.drawing {
border: 0;
}
pre {
border: 1pt solid #AEBDCC;
background-color: #F3F5F7;
padding: 5pt;
font-family: courier, monospace;
white-space: pre;
/* begin css 3 or browser specific rules - do not remove!
see: http://forums.techguy.org/archive/index.php/t-249849.html */
white-space: pre-wrap;
word-wrap: break-word;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
/* end css 3 or browser specific rules */
}
pre.comment {
background-color: #CCCCCC;
color: red;
padding: 0;
margin: 0;
border: 0;
}
pre.comment:before {
content: url(../img/attention.png);
}
/* .comment css definition must be top of .red/.green/.blue or it won't work */
.comment { color: #555555; background-color: #DDDDFF; }
.red { background-color: #FFCCCC; }
.green { background-color: #CCFFCC; }
.blue { background-color: #CCCCFF; }
.yellow { background-color: #FFF29F; }
.orange { background-color: #FFD59B; }
.solid { border: 2px solid #000000; padding: 2px; }
.dashed { border: 2px dashed #000000; padding: 2px; }
.dotted { border: 2px dotted #000000; padding: 2px; }
.left { text-align: left; }
.center { text-align: center; }
.right { text-align: right; }
.justify { text-align: justify; }
table
{
margin: 0.5em 0 0 0.5em;
border-collapse: collapse;
}
th, td
{
padding: 0.25em 0.5em 0.25em 0.5em;
border: 1pt solid #ADB9CC;
}
td p {
margin: 0;
padding: 0;
}
/* TableOfContents macro */
div.table-of-contents {
border: 1px solid #bbbbbb;
background-color: #eeeeee;
font-size: 80%;
text-align: left;
margin: 0.5em 0 0.5em 1em;
padding: 0.5em 0.75em 0.5em 0.5em;
max-width: 50%;
display: inline-table;
}
div.table-of-contents ol {
margin: 0;
padding: 0 0 0 2em;
}
div.table-of-contents ul {
margin: 0;
list-style:none;
}
div.table-of-contents li {
margin:0;
padding: 0;
}
p.table-of-contents-heading {
font-weight:bold;
padding:0;
margin: 0 0 0.5em 0;
letter-spacing: 0.075em;
}
/* Navigation macro */
table.navigation {
background: #fff;
margin: 0;
}
.footnotes div {
width: 5em;
border-top: 1pt solid gray;
}
.footnotes ol {
padding: 0 2em;
margin: 0 0 1em;
}
.footnotes li {
}
.info {
float: right;
font-size: 0.7em;
color: gray;
}
#pageinfo {
margin-top: 2em;
}
.seperator {
color: gray;
}
#pagebottom {clear: both;}
/* standard rule ---- */
hr {
height: 1pt;
background-color: #9C9C9C;
border: 0;
}
/* custom rules ----- to ---------- */
.hr1 {height: 2pt;}
.hr2 {height: 3pt;}
.hr3 {height: 4pt;}
.hr4 {height: 5pt;}
.hr5 {height: 6pt;}
.hr6 {height: 7pt;}
/* Replacement for deprecated html 3 <u> element and html 4 <strike> */
.u {text-decoration: underline;}
.strike {text-decoration: line-through;}
/* eye catchers */
.warning
{
color: red;
}
.error
{
color: red;
}
strong.highlight
{
background-color: #CCE0FF;
padding: 1pt;
}
/* Recent changes */
.rcrss {
float: right;
margin: 0 7px 0 14px;
height: 0;
position: relative;
top: 9px;
}
*[div="rtl"] .rcrss {
float: left;
}
.recentchanges[dir="rtl"] .rcrss {
float: left;
}
.recentchanges table {
clear: both;
border-collapse: collapse;
border: 1px solid #4d7da9;
}
.recentchanges td {
vertical-align: top;
border: none;
background: #e6eaf0;
}
.recentchanges .rcdaybreak td {
background: #81BBF2;
border: none;
border: 1px solid #4d7da9;
}
.rcdaybreak td a {
font-size: 0.88em;
}
.rcicon1, .rcicon2 {
text-align: center;
}
.rcpagelink {
width: 33%;
}
.rctime {
font-size: 0.88em;
white-space: nowrap;
}
.rceditor {
white-space: nowrap;
font-size: 0.88em;
}
.rccomment {
width: 50%;
color: gray;
font-size: 0.88em;
}
/* User Preferences */
.userpref table, .userpref td {
border: none;
}
/* CSS for new code_area markup used by Colorizer and ParserBase */
div.codemsg {
margin: 0.5em 0;
padding: 0.5em;
padding-left:2.5em;
background:none;
border: 1pt solid #CCBDAE;
background-color: #F7F0E0;
background-image:url('../img/alert.png');
background-repeat:no-repeat;
background-position: 0.5em 0.5em;
}
div.codearea { /* the div makes the border */
margin: 0.5em 0;
padding: 0;
border: 1pt solid #AEBDCC;
background-color: #F3F5F7;
}
div.codearea pre { /* the pre has no border and is inside the div */
margin: 0;
padding: 10pt;
border: none;
}
a.codenumbers { /* format of the line numbering link */
margin: 0 10pt;
font-size: 0.85em;
color: gray;
}
/* format of certain syntax spans */
div.codearea pre span.LineNumber {color: gray;}
div.codearea pre span.ID {color: #000000;}
div.codearea pre span.Operator {color: #0000C0;}
div.codearea pre span.Char {color: #004080;}
div.codearea pre span.Comment {color: #008000;}
div.codearea pre span.Number {color: #0080C0;}
div.codearea pre span.String {color: #004080;}
div.codearea pre span.SPChar {color: #0000C0;}
div.codearea pre span.ResWord {color: #A00000;}
div.codearea pre span.ConsWord {color: #008080; font-weight: bold;}
div.codearea pre span.Error {color: #FF8080; border: solid 1.5pt #FF0000;}
div.codearea pre span.ResWord2 {color: #0080ff; font-weight: bold;}
div.codearea pre span.Special {color: #0000ff;}
div.codearea pre span.Preprc {color: #803999;}
/* for diff parser */
div.codearea pre span.DiffAdded {color: #4876FF;}
div.codearea pre span.DiffRemoved {color: #FF0000;}
div.codearea pre span.DiffChanged {color: #FF7F50;}
div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}
/* Search results */
.advancedsearch {
border: 1pt solid #ADB9CC;
}
.advancedsearch td {
vertical-align: top;
background-color: #E7E7E7;
border: 0px;
}
.advancedsearch td.searchfor {
font-weight: bold;
}
.advancedsearch input {
border: 1px solid #ADB9CC;
background-color: #fff;
}
.advancedsearch input[disabled] {
background-color: #eee;
}
.advancedsearch td.submit {
border-top: 1px solid #ADB9CC;
background-color: #fff;
text-align: right;
}
.advancedsearch optioni,
.advancedsearch select {
border: 1px solid #ADB9CC;
background-color: #fff;
}
.searchresults dt {
margin-top: 1em;
font-weight: normal;
}
.searchresults dd, .searchresults p {
font-size: 0.85em;
}
.searchresults .searchhitinfobar {
color: #008000;
margin-left: 15px;
margin-top: 0;
}
p.searchstats {
font-size: 0.8em;
text-align: right;
width: 100%;
background-color: #E6EAF0;
border-top: 1px solid #9088DC;
padding: 2px;
}
p.searchhint {
background-color: #E6EAF0;
border: 1px solid #9088DC;
padding: 2px;
}
.searchpages {
margin-left: auto;
margin-right: auto;
}
.searchpages tr, .searchpages td {
border: 0;
padding: 5px;
margin: 0;
text-align: center;
vertical-align: middle;
color: #b93a58;
font-weight: bold;
font-size: 1.05em;
}
.searchpages td a, .searchpages td a:link {
text-decoration: underline;
}
/* MonthCalendar css */
/* days without and with pages linked to them */
a.cal-emptyday {
color: #777777;
text-align: center;
}
a.cal-usedday {
color: #000000;
font-weight: bold;
text-align: center;
}
/* general stuff: workdays, weekend, today */
td.cal-workday {
background-color: #DDDDFF;
text-align: center;
}
td.cal-weekend {
background-color: #FFDDDD;
text-align: center;
}
td.cal-today {
background-color: #CCFFCC;
border-style: solid;
border-width: 2pt;
text-align: center;
}
/* invalid places on the monthly calendar sheet */
td.cal-invalidday {
background-color: #CCCCCC;
}
/* links to prev/next month/year */
a.cal-link {
color: #000000;
text-decoration: none;
}
th.cal-header {
background-color: #DDBBFF;
text-align: center;
}
/* for MonthCalendar mouseover info boxes */
TABLE.tip {
background-color: #FF8888;
font-size: small;
font-weight: normal;
border-style: solid;
border-width: 1px;
}
TH.tip {
background-color: #FF4444;
font-weight: bold;
text-align: center;
}
TD.tip {
text-align: left;
}
*[dir="rtl"] TD.tip {
text-align: right;
}
/* end MonthCalendar stuff */
#message .hint {font-style: italic;}
#message .info {
float: none;
font-size: 1em;
}
#message .info:before {content: url('../img/icon-info.png'); margin: 0 0.2em;}
#message .warning:before {content: url('../img/alert.png'); margin: 0 0.2em;}
#message .error:before {content: url('../img/icon-error.png'); margin: 0 0.2em;}
/* admonition start */
#content div.caution,
#content div.important,
#content div.note,
#content div.tip,
#content div.warning {
border: 1pt solid #E5E5E5;
background-color: #F9F9FF;
margin: 10pt 30pt 10pt 30pt;
background-repeat: no-repeat;
background-position: 8px 8px;
min-height: 64px; /*64=48+8+8 but doesn't work with IE*/
padding-left: 64px;
}
#content div.caution p,
#content div.important p,
#content div.note p,
#content div.tip p,
#content div.warning p {
margin-top: 8px; /*to align text with bg graphic*/
}
#content div.tip { background-image: url("../img/admon-tip.png"); }
#content div.note { background-image: url("../img/admon-note.png"); }
#content div.important { background-image: url("../img/admon-important.png"); }
#content div.caution { background-image: url("../img/admon-caution.png"); }
#content div.warning { background-image: url("../img/admon-warning.png"); }
/* admonition end */