Attachment 'common.css'

Download

   1 /*  common.css - MoinMoin Default Styles
   2 
   3 Copyright (c) 2001, 2002, 2003 by Juergen Hermann
   4 Copyright (c) 2006 by Thilo Pfennig
   5 
   6 This is a common style sheet intended to be on top of all other styles of a cascade.
   7 Instead of changing EVERY style sheet you should change common important settings here,
   8 import them with "@import (../../common/css/common.css) and overwrite them later in the themes. 
   9 
  10 */
  11 
  12 /* import styles for MonthCalendar macro */
  13 @import url("monthcalendar.css") 
  14 
  15 /* content styles */
  16 
  17 html {
  18 	background-color: white;
  19 	color: black;
  20 	font-family: Arial, Lucida Grande, sans-serif;
  21 	font-size: 1em;
  22 }
  23 
  24 /* Common link settings */
  25 
  26 a, img, img.drawing {
  27 	border: 0px; /* no border */
  28 }
  29 
  30 
  31 /* Common Icons for some links */
  32 a.www:before {content: url(../img/icons/moin-www.png); margin: 0em 0.2em;}
  33 a.http:before {content: url(../img/icons/moin-www.png); margin: 0em 0.2em;}
  34 a.https:before {content: url(../img/icons/moin-www.png); margin: 0em 0.2em;}
  35 a.file:before {content: url(../img/icons/moin-ftp.png); margin: 0em 0.2em;}
  36 a.ftp:before {content: url(../img/icons/moin-ftp.png); margin: 0em 0.2em;}
  37 a.nntp:before {content: url(../img/icons/moin-news.png); margin: 0em 0.2em;}
  38 a.news:before {content: url(../img/icons/moin-news.png); margin: 0em 0.2em;}
  39 a.telnet:before {content: url(../img/icons/moin-telnet.png); margin: 0em 0.2em;}
  40 a.irc:before,a.ircs:before {content: url(../img/icons/moin-telnet.png); margin: 0em 0.2em;}
  41 a.mailto:before {content: url(../img/icons/moin-email.png); margin: 0em 0.2em;}
  42 a.attachment:before {content: url(../img/icons/moin-attach.png); margin: 0em 0.2em;}
  43 a.badinterwiki:before {content: url(../img/icons/moin-inter.png); margin: 0em 0.2em;}
  44 a.interwiki:before {content: url(../img/icons/moin-inter.png); margin: 0em 0.2em;}
  45 
  46 /* Common list settings */
  47 
  48 dt {
  49 	font-weight: bold;
  50 }
  51 
  52 li p {
  53 	margin: .25em 0em;
  54 }
  55 
  56 li.gap {
  57     margin-top: 0.5em;
  58 }
  59 
  60 /* Common preformatted settings */
  61 
  62 pre {
  63 	padding: 5px;
  64 	border: 1px solid #c0c0c0;
  65 	font-family: courier, monospace;
  66 	white-space: pre;
  67 	/* begin css 3 or browser specific rules - do not remove!
  68 	see: http://forums.techguy.org/archive/index.php/t-249849.html */
  69     	white-space: pre-wrap;
  70     	word-wrap: break-word;
  71     	white-space: -moz-pre-wrap;
  72     	white-space: -pre-wrap;
  73     	white-space: -o-pre-wrap;
  74     	/* end css 3 or browser specific rules */
  75 }
  76 
  77 pre.comment {
  78     background-color: #CCCCCC;
  79     color: red;
  80     padding: 0em;
  81     margin: 0em;
  82     border: 0em;
  83 }
  84 
  85 pre.comment:before {
  86     content: url(../img/smileys/attention.png);
  87 }
  88 /* Common table settings */
  89 
  90 table {
  91 	margin: 0.5em 0em 0em 0.5em;
  92 	border-collapse: collapse;
  93 }
  94 
  95 td {
  96 	padding: 0.25em 0.5em 0.25em 0.5em;
  97 }
  98 
  99 td p {
 100 	margin: 0em;
 101 	padding: 0em;
 102 }
 103 
 104 /* standard rule ---- */
 105 hr {
 106 	height: 1px;
 107 	background-color: #c0c0c0;
 108 	border: none;
 109 }
 110 
 111 /* custom rules ----- to ---------- */
 112 .hr1 {height: 2pt;}
 113 .hr2 {height: 3pt;}
 114 .hr3 {height: 4pt;}
 115 .hr4 {height: 5pt;}
 116 .hr5 {height: 6pt;}
 117 .hr6 {height: 7pt;}
 118 
 119 
 120 /* Replacement for deprecated html 3 <u> element and html 4 <strike> */
 121 .u {text-decoration: underline;}
 122 .strike {text-decoration: line-through;}
 123 
 124 
 125 
 126 /* TableOfContents macro */
 127 
 128 .table-of-contents { 
 129 	font-size: small;
 130 	text-align:left;
 131 	margin: 0.5em; padding-left: 2em;
 132 	width:50%; 
 133 }
 134 .table-of-contents ol { 
 135 	margin:0em; margin-left:1em;
 136 	list-style-type: decimal; 
 137 }
 138 
 139 .table-of-contents ul {
 140 	margin:0em;
 141 	list-style-type:none; 
 142 }
 143 
 144 .table-of-contents-heading { 
 145 	font-weight:bold; 
 146 	padding:0em; 
 147 	margin:0em; 
 148 }
 149 
 150 /* Footnotes Unordered List */
 151 
 152 .footnotes ul {
 153 	padding: 0em 2em;
 154 	margin: 0em 0em 1em;
 155 	list-style: none;
 156 }
 157 
 158 /* Common Info Class */ 
 159 
 160 .info {
 161     float: right;
 162     font-size: 0.7em;
 163     color: gray;
 164 }
 165 
 166 /* eye catchers */
 167 
 168 .warning {
 169 	color: red;
 170 }
 171 
 172 .error {
 173 	color: red;
 174 }
 175 
 176 strong.highlight {
 177 	background-color: #ffcc99;
 178 	padding: 1pt;
 179 }
 180 
 181 /* Recent changes */
 182 
 183 .recentchanges td {
 184 	border: none;
 185 	vertical-align: top;
 186 }
 187 
 188 .rcdaybreak td a {
 189 	font-size: 0.88em;
 190 }
 191 .rcicon1, .rcicon2 {
 192 	text-align: center;
 193 }
 194 
 195 .rcpagelink {
 196 	width: 33%;
 197 }
 198 .rctime {
 199 	font-size: 0.88em;
 200 	white-space: nowrap;
 201 }
 202 
 203 .rceditor {
 204 	white-space: nowrap;
 205 	font-size: 0.88em;
 206 }
 207 
 208 .rccomment {
 209 	width: 50%;
 210 	color: gray;
 211 	font-size: 0.88em;
 212 }
 213 .rcrss {
 214 	float: right;
 215 }
 216 .recentchanges[dir="rtl"] .rcrss {
 217 	float: left;
 218 }
 219 
 220 /* User Preferences */
 221 
 222 .userpref table, .userpref td {
 223 	border: none;
 224 }
 225 
 226 
 227 /* CSS for new code_area markup used by Colorizer and ParserBase */
 228 
 229 div.codearea { /* the div makes the border */
 230 	margin: 0.5em 0;
 231 	padding: 0;
 232 	border: 1pt solid #AEBDCC;
 233 	background-color: #F3F5F7;
 234 	color: black;
 235 }
 236 
 237 div.codearea pre { /* the pre has no border and is inside the div */
 238 	margin: 0;
 239 	padding: 10pt;
 240 	border: none;
 241 }
 242 
 243 a.codenumbers { /* format of the line numbering link */
 244 	margin: 0 10pt;
 245 	font-size: 0.85em;
 246 	color: gray;
 247 }
 248 
 249 /* format of certain syntax spans */
 250 div.codearea pre span.LineNumber {color: gray;}
 251 div.codearea pre span.ID         {color: #000000;}
 252 div.codearea pre span.Operator   {color: #0000C0;}
 253 div.codearea pre span.Char       {color: #004080;}
 254 div.codearea pre span.Comment    {color: #008000;}
 255 div.codearea pre span.Number     {color: #0080C0;}
 256 div.codearea pre span.String     {color: #004080;}
 257 div.codearea pre span.SPChar     {color: #0000C0;}
 258 div.codearea pre span.ResWord    {color: #A00000;}
 259 div.codearea pre span.ConsWord   {color: #008080; font-weight: bold;}
 260 div.codearea pre span.Error      {color: #FF8080; border: solid 1.5pt #FF0000;}
 261 div.codearea pre span.ResWord2   {color: #0080ff; font-weight: bold;}
 262 div.codearea pre span.Special    {color: #0000ff;}
 263 div.codearea pre span.Preprc     {color: #803999;}
 264 
 265 
 266 /* for diff parser */
 267 div.codearea pre span.DiffAdded   {color: #4876FF;}
 268 div.codearea pre span.DiffRemoved {color: #FF0000;}
 269 div.codearea pre span.DiffChanged {color: #FF7F50;}
 270 div.codearea pre span.DiffSeparator {color: #228B22; font-weight: bold}
 271 
 272 /* Miscellaneous common styles */
 273 #pagebottom {
 274 	clear: both;
 275 	}

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-12-03 12:53:06, 5.8 KB) [[attachment:common.css]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.