Difference between revisions of "MediaWiki:Common.css"

From POV-Wiki
Jump to navigation Jump to search
m
m (addressing monospace issue)
 
(20 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
pre { font-family: Lucida Console,Lucida Sans Typewriter,Courier New,monospace; color: #000000; background-color: #e6f4ff; border: 1px solid; border-color: #cfdbe5; padding: 3pt; }
 
pre { font-family: Lucida Console,Lucida Sans Typewriter,Courier New,monospace; color: #000000; background-color: #e6f4ff; border: 1px solid; border-color: #cfdbe5; padding: 3pt; }
 
cite { font-weight: bold; color: #ff0000; }
 
cite { font-weight: bold; color: #ff0000; }
code { background-color: transparent; font-family: monospace; color: #007700; }
+
code { background-color: transparent; font-family: monospace,monospace; font-size: 1em; color: #007700; }
 
p { text-align: justify;}
 
p { text-align: justify;}
 
li {text-align: justify;}
 
li {text-align: justify;}
Line 61: Line 61:
  
 
/** End Q and T Style Entries */
 
/** End Q and T Style Entries */
p.caption {background-color: transparent; color: #000000; text-align: center; font-style: oblique; }
+
 
 +
/*table.matte {
 +
  background-color: #eeeeee;
 +
  margin: auto;
 +
  }*/
  
 
table.matte {
 
table.matte {
   background-color:#eeeeee;  
+
  margin: auto;
   padding-top: 10px;  
+
   background-color: transparent;
   padding-right: 10px;  
+
  border: 1px solid #dddddd;
   padding-bottom: 0px;  
+
   -moz-border-radius: 4px;
   padding-left: 10px;  
+
   -webkit-border-radius: 4px;
 +
   border-radius: 4px;
 +
   }
 +
 
 +
table.centered {
 +
  margin: auto;
 +
  background-color: transparent;
 
   }
 
   }
  
 
table.mattepanel {
 
table.mattepanel {
   background-color:#eeeeee;
+
   background-color: #eeeeee;
   padding-top: 10px;  
+
   margin: auto;
  padding-right: 8px;
 
  padding-bottom: 0px;
 
  padding-left: 8px;
 
  border-spacing: 12px 0px; 
 
 
   }
 
   }
  
.right10 {
+
p.caption {
   margin-right: 10px;  
+
  background-color: transparent;
 +
  color: #000000;
 +
  text-align: center;
 +
  margin-top: 0px;
 +
   margin-bottom: 5px;
 +
  font-style: oblique;
 
   }
 
   }
  
.left10 {
+
.Syntax {
  margin-left: 10px;  
+
background-color: #e6f4ff;
  }
+
border: 1px solid #c4d2dd;
 +
font-family: "monospace";
 +
 +
margin-left: 0px;
 +
margin-top: 0px;
 +
margin-right: 10px;
 +
margin-bottom: 0px;
 +
padding-top: 0px;
 +
-moz-border-radius: 4px;
 +
-webkit-border-radius: 4px;
 +
border-radius: 4px;
 +
}
 +
 
 +
.Syntax dl {
 +
color: #000000;
 +
margin-top: 10px;
 +
}
 +
 
 +
div.Syntax code {
 +
font-family: "Monaco", "Bitstream Vera Sans Mono", "Courier New", "Courier", "monospace";
 +
color: #660000;
 +
background-color: transparent;
 +
font-weight: bold;
 +
font-style: normal;
 +
font-size: 1.2em;
 +
}
 +
 
 +
div.Syntax dt {
 +
color: #000000;
 +
font-size: 1em;
 +
font-weight: bold;
 +
margin-left: 10px;
 +
margin-bottom: 5px;
 +
}
 +
 
 +
div.Syntax dd {
 +
text-align: left;
 +
margin-left: 20px;
 +
margin-right: 10px;
 +
margin-bottom: 5px;
 +
font-size: 1em;
 +
color: #000000;
 +
background-color: transparent;
 +
}
 +
 
 +
div.Syntax dd.Jump {
 +
float: right;
 +
font-size: 1em;
 +
background-color: transparent;
 +
padding: 5px;
 +
border: 1px solid #c4d2dd;
 +
-moz-border-radius: 4px;
 +
-webkit-border-radius: 4px;
 +
border-radius: 4px;
 +
}
 +
 
 +
div.license-text pre {
 +
background-color: inherit;
 +
border: none;
 +
}

Latest revision as of 13:45, 4 May 2016

/** CSS placed here will be applied to all skins */

.keyword { font-family: monospace; color: green; }
.syntax { font-family: monospace; color: green; text-transform: uppercase; }
.location { font-family: monospace; font-weight: bold; }

/**  Begin CSS from povray35.css */

.BeAware { color: #000000; background-color: #f0f4ff; border: 2px outset; padding: 5pt; }
.Warning { color: #000000; background-color: #ffe0e0; border: 2px outset; padding: 5pt; }
.Note { border: 1px solid; border-color: #fff0c0; background-color: #fffff0; padding: 3pt; }
.Hint { border: 1px solid; border-color: #ffe0c0; background-color: #fff0e8; padding: 3pt; }
.Explain { background-color:#ffe8ff; border-left:1cm solid #FFFFFF; border-right:1cm solid #FFFFFF; margin-top:1px; }

pre { font-family: Lucida Console,Lucida Sans Typewriter,Courier New,monospace; color: #000000; background-color: #e6f4ff; border: 1px solid; border-color: #cfdbe5; padding: 3pt; }
cite { font-weight: bold; color: #ff0000; }
code { background-color: transparent; font-family: monospace,monospace; font-size: 1em; color: #007700; }
p { text-align: justify;}
li {text-align: justify;}
span.formula {background-color: transparent; font-style: oblique; color: #000000;}

.divh6 h5 { background-color: #ffd8c2; border-color: #f0c7a8; color: #000000; }
.divh7 h5 { background-color: #ffd3ba; border-color: #f0c2a1; color: #000000; }
.divh1 { margin-left: 5pt; margin-right: 5pt; }
.divh2 { margin-left: 5pt; margin-right: 5pt; }
.divh3 { margin-left: 10pt; margin-right: 5pt; }
.divh4 { margin-left: 15pt; margin-right: 5pt; }
.divh5 { margin-left: 20pt; margin-right: 5pt; }
.divh6 { margin-left: 30pt; margin-right: 5pt; }
.divh7 { margin-left: 50pt; margin-right: 5pt; }

.InSectionTable { border: 1px outset; background-color: #e6f4ff; }
.InSectionHeader { border: 1px outset; }
.InSectionSecNo { }
.InSectionSecName { }

.TableStyle01 { color: #000000; background-color: #f0f4ff; border: 1px solid; margin-left: 20pt; margin-right: 20pt; font-family: Verdana, Arial, Helvetica, sans-serif; text-align: justify; }

TABLE.Contents { width:90%; background-color:#ffffff; border:solid 1px blue; }
TABLE.Contents TD { font-weight:bold; font-size:80%; padding-left:6px; padding-right:0px; padding-bottom:0px; padding-top:0px; }

table.tablelist {width: 65%;	}

.SectionContents { border: 1px outset; background-color: #e6f4ff; padding: 3px; }
.SectionContentsHeader { border: 1px outset; background-color:#ffcc99;padding: 3pt; font-weight: bold; color: #0000ff; }

dl.Syntax { background-color:#ffffff; border:solid 1px green; padding-bottom:5px; }
dl.Syntax dt { font-size: 90%; padding-left: 5px; padding-right:5px; padding-top: 5px; }
dl.Syntax dt.SubDesc { font-size: 100%; background-color:#e0f0ff; padding-top:1px; padding-bottom:2px; }
dl.Syntax dd { text-align: left; padding-right: 10px; }
dl.Syntax dd.ItemNote { font-size: 90%; background-color:#FFF0D0; padding-left:20px; padding-right:20px; }
dl.Syntax dd.Jump { float: right; font-size:90%; background-color:#ffffff; padding-left:5px; padding-right:5px; border-left:solid 1px green; border-top:solid 1px green; border-bottom:solid 1px green; }

/** End CSS from povray35.css */

/** Begin Q and T Style Entries */
.Question { background-color: transparent; font-style: normal; font-weight: 800; font-size: 105%; color: #444444; padding: 3pt, 10pt; }
.QTNavBar { background-color: transparent; font-style: normal; font-weight: 800; font-size: 95%; color: #cc0000; top-padding: 10pt; bottom-padding 10pt; text-align: left; }
.QTSpacer { background-color: transparent; font-style: normal; font-weight: 800; font-size: 95%; color: #000000; padding: 7pt; text-align: center; }
.QTHidden h3 { background-color: transparent; color: transparent; }

/** End Q and T Style Entries */

/*table.matte {
  background-color: #eeeeee;
  margin: auto;
  }*/

table.matte {
  margin: auto;
  background-color: transparent;
  border: 1px solid #dddddd;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  }

table.centered {
  margin: auto;
  background-color: transparent;
  }

table.mattepanel {
  background-color: #eeeeee;
  margin: auto;
  }

p.caption {
  background-color: transparent;
  color: #000000;
  text-align: center;
  margin-top: 0px;
  margin-bottom: 5px;
  font-style: oblique;
  }

.Syntax {
	background-color: #e6f4ff;
	border: 1px solid #c4d2dd;
	font-family: "monospace";
	
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 10px;
	margin-bottom: 0px;
	padding-top: 0px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	}	

.Syntax dl {
	color: #000000;
	margin-top: 10px;
}

div.Syntax code {
	font-family: "Monaco", "Bitstream Vera Sans Mono", "Courier New", "Courier", "monospace";
	color: #660000;
	background-color: transparent;
	font-weight: bold;
	font-style: normal;
	font-size: 1.2em;
}

div.Syntax dt {
	color: #000000;
	font-size: 1em;
	font-weight: bold;
	margin-left: 10px;
	margin-bottom: 5px;
}

div.Syntax dd {
	text-align: left;
	margin-left: 20px;
	margin-right: 10px;
	margin-bottom: 5px;
	font-size: 1em;
	color: #000000;
	background-color: transparent;
}

div.Syntax dd.Jump {
	float: right;
	font-size: 1em;
	background-color: transparent;
	padding: 5px;
	border: 1px solid #c4d2dd;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

div.license-text pre {
	background-color: inherit;
	border: none;
}