Difference between revisions of "MediaWiki:Common.css"

From AGI Wiki
Jump to navigationJump to search
(Created page with "→‎CSS placed here will be applied to all skins: .Tab { target-new: tab ! important } .syntaxhighlight { font-family: "Courier New", Courier, mono; font-s...")
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
+
 
 +
p {
 +
    /* Adjust the pixel amount below as needed. */
 +
    margin-bottom: 20px;
 +
}
 +
 
 +
sup {
 +
  vertical-align: baseline;
 +
  position: relative;
 +
  top: -0.4em;
 +
}
 +
 
 +
sub {
 +
  vertical-align: baseline;
 +
  position: relative;
 +
  top: 0.4em;
 +
}
 +
 
 +
.FloatRight {
 +
    float: right;
 +
}
 +
 
 +
.FloatLeft {
 +
    float: left;
 +
}
 +
 
 +
.ClrRight {
 +
    clear: right;
 +
}
 +
 
 +
.ClrLeft {
 +
    clear: left;
 +
}
 +
 
 
.Tab {  
 
.Tab {  
 
     target-new: tab ! important  
 
     target-new: tab ! important  
 
}
 
}
+
 
 +
.Quoter {
 +
    background-color: #FFFEF5;
 +
    font-weight: bold;
 +
    padding-top: 1px;
 +
    padding-right: 2px;
 +
    padding-bottom: 1px;
 +
    padding-left: 2px;
 +
}
 +
 
 +
.Quote {
 +
    background-color: #FFFEF5;
 +
    background-image: url("http://wiki.sierrahelp.com/images/1/15/Quote.gif");
 +
    background-repeat: no-repeat;
 +
    margin-top: 5px;
 +
    margin-bottom: 5px;
 +
    margin-right: 50px;
 +
    margin-left: 50px;
 +
    box-shadow: 0px 2px 5px 0px #006633;
 +
    padding-top: 10px;
 +
    padding-right: 30px;
 +
    padding-bottom: 10px;
 +
    padding-left: 30px;
 +
    border: 1px #006633 solid;
 +
}
 +
 
 +
.ShadowBox {
 +
    box-shadow: 0px 2px 5px 0px #006633;
 +
    border: 1px solid #006633;
 +
    background-color: #FFFEF5;
 +
    padding: 8px 10px;
 +
    padding-top: 4px;
 +
    padding-right: 5px;
 +
    padding-bottom: 4px;
 +
    padding-left: 5px;
 +
}
 +
 
 +
.mono {
 +
    font-family: "Courier New", Courier, mono;
 +
    font-size: 10pt;
 +
    background-color: #F9F9F9;
 +
    margin-top: 5px;
 +
    margin-right: 5px;
 +
    margin-bottom: 5px;
 +
    margin-left: 5px;
 +
}
 +
 
 
.syntaxhighlight {  
 
.syntaxhighlight {  
 
     font-family: "Courier New", Courier, mono;
 
     font-family: "Courier New", Courier, mono;
 +
    font-size: medium;
 +
    background-color: #FFFFEE;
 +
    line-height: 1.25em;
 +
    margin-right: 50px;
 +
    margin-left: 50px;
 +
    padding-top: 0px;
 +
    padding-right: 5px;
 +
    padding-bottom: 5px;
 +
    padding-left: 5px;
 +
    border: 1px #CCCCCC solid
 +
}
 +
 +
.cs {
 +
    font-family: "Courier New", Courier, mono; 
 
     font-size: medium;
 
     font-size: medium;
 
     background-color: #FFFFEE;  
 
     background-color: #FFFFEE;  
     margin-right: 10px;  
+
    line-height: 1.25em;
     margin-left: 10px;  
+
     margin-right: 50px;  
 +
     margin-left: 50px;  
 
     padding-top: 0px;  
 
     padding-top: 0px;  
 
     padding-right: 5px;  
 
     padding-right: 5px;  
 
     padding-bottom: 5px;  
 
     padding-bottom: 5px;  
 
     padding-left: 5px;  
 
     padding-left: 5px;  
     border: 1px #CCCCCC solid
+
     border: 1px #CCCCCC solid;
 
}
 
}
+
 
 
.Alert {  
 
.Alert {  
 
     color: #FF0000;
 
     color: #FF0000;
 
}
 
}
+
 
 
.DLInfo {
 
.DLInfo {
 
     font-family: Arial, Helvetica, sans-serif;
 
     font-family: Arial, Helvetica, sans-serif;
 
     font-size: 9px;
 
     font-size: 9px;
 
}
 
}
+
 
 
.Category {   
 
.Category {   
 
     font-size: 14pt; font-weight: bold
 
     font-size: 14pt; font-weight: bold
 
}
 
}
+
 
 
.CodeBlockHeader {  
 
.CodeBlockHeader {  
 
     background-color: #CCCCCC;  
 
     background-color: #CCCCCC;  
Line 43: Line 137:
 
     border-style: solid;  
 
     border-style: solid;  
 
}
 
}
+
 
.CodeBlockStyle {  
 
.CodeBlockStyle {  
 
     font-family: "Courier New", Courier, mono;   
 
     font-family: "Courier New", Courier, mono;   
Line 57: Line 151:
 
     border: 1px #CCCCCC solid;
 
     border: 1px #CCCCCC solid;
 
}
 
}
+
 
.CodeStyle {  
 
.CodeStyle {  
 
     font-family: "Courier New", Courier, mono;   
 
     font-family: "Courier New", Courier, mono;   
 
     font-size: 2;
 
     font-size: 2;
 
}
 
}
+
 
 +
.Inactive {
 +
    color: #CCCCCC;
 +
}
 +
 
.Key{  
 
.Key{  
 
     color: #0000FF;
 
     color: #0000FF;
 
}
 
}
+
 
 
.SglQt {  
 
.SglQt {  
 
     color: #FF6600;
 
     color: #FF6600;
 
}
 
}
+
 
 
.DblQt {  
 
.DblQt {  
 
     color: #CC0033;
 
     color: #CC0033;
 
}
 
}
+
 
.Green{  
 
.Green{  
 
     color: #006633;
 
     color: #006633;
 
}
 
}
+
 
 
.Comment {   
 
.Comment {   
 
     font-style: italic;  
 
     font-style: italic;  
Line 84: Line 182:
 
     background-color: #00FFFF
 
     background-color: #00FFFF
 
}
 
}
+
 
 
.Int {  
 
.Int {  
 
     color: #000099;  
 
     color: #000099;  
 
}
 
}
+
 
 
.Op {  
 
.Op {  
 
     color: #006633;  
 
     color: #006633;  
 +
}
 +
 +
.offset {
 +
    /*border-left: 1.5px solid #ccc;
 +
    /*color: #888;*/
 +
    /*margin: 0;*/
 +
    /*margin-right;*/
 +
   
 +
    margin-top: 0px;
 +
   
 +
    /*margin-bottom: 0px;*/
 +
    /*padding: 0 0 0 12px;*/
 +
    /*padding-left: 12px;*/
 +
    /*padding-bottom: 0px;*/
 +
    /*padding-top: 0px;*/
 +
}
 +
 +
.offsetb {
 +
    margin-top: 0px;
 +
    margin-bottom: 0px;
 +
}
 +
 +
.Indent {
 +
    text-indent: 28pt;
 +
}
 +
 +
.IndentDbl {
 +
    text-indent: 50pt;
 +
}
 +
 +
.IndentTpl {
 +
    text-indent: 75pt;
 
}
 
}

Latest revision as of 17:49, 26 April 2019

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

p {
    /* Adjust the pixel amount below as needed. */
    margin-bottom: 20px;
}

sup {
   vertical-align: baseline;
   position: relative;
   top: -0.4em;
}

sub {
   vertical-align: baseline;
   position: relative;
   top: 0.4em; 
}

.FloatRight {
    float: right;
}

.FloatLeft {
    float: left;
}

.ClrRight {
    clear: right;
}

.ClrLeft {
    clear: left;
}

.Tab { 
    target-new: tab ! important 
}

.Quoter {
    background-color: #FFFEF5;
    font-weight: bold;
    padding-top: 1px;
    padding-right: 2px;
    padding-bottom: 1px;
    padding-left: 2px;
}

.Quote {
    background-color: #FFFEF5;
    background-image: url("http://wiki.sierrahelp.com/images/1/15/Quote.gif");
    background-repeat: no-repeat;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 50px;
    margin-left: 50px;
    box-shadow: 0px 2px 5px 0px #006633;
    padding-top: 10px;
    padding-right: 30px;
    padding-bottom: 10px;
    padding-left: 30px;
    border: 1px #006633 solid;
}

.ShadowBox {
    box-shadow: 0px 2px 5px 0px #006633;
    border: 1px solid #006633;
    background-color: #FFFEF5;
    padding: 8px 10px;
    padding-top: 4px;
    padding-right: 5px;
    padding-bottom: 4px;
    padding-left: 5px;
}

.mono {
    font-family: "Courier New", Courier, mono;
    font-size: 10pt;
    background-color: #F9F9F9; 
    margin-top: 5px; 
    margin-right: 5px; 
    margin-bottom: 5px; 
    margin-left: 5px;
}

.syntaxhighlight { 
    font-family: "Courier New", Courier, mono;
    font-size: medium;
    background-color: #FFFFEE;
    line-height: 1.25em;
    margin-right: 50px; 
    margin-left: 50px; 
    padding-top: 0px; 
    padding-right: 5px; 
    padding-bottom: 5px; 
    padding-left: 5px; 
    border: 1px #CCCCCC solid
}
	
.cs { 
    font-family: "Courier New", Courier, mono;  
    font-size: medium;
    background-color: #FFFFEE; 
    line-height: 1.25em;
    margin-right: 50px; 
    margin-left: 50px; 
    padding-top: 0px; 
    padding-right: 5px; 
    padding-bottom: 5px; 
    padding-left: 5px; 
    border: 1px #CCCCCC solid;
}

.Alert { 
    color: #FF0000;
}

.DLInfo {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
}

.Category {  
    font-size: 14pt; font-weight: bold
}

.CodeBlockHeader { 
    background-color: #CCCCCC; 
    font-weight: bold; 
    margin-right: 10px; 
    margin-left: 10px; 
    padding-top: 0px; 
    padding-right: 5px; 
    padding-bottom: 0px; 
    padding-left: 5px; 
    border: #CCCCCC; 
    border-style: solid; 
}
	
.CodeBlockStyle { 
    font-family: "Courier New", Courier, mono;  
    font-size: medium;
    background-color: #FFFFEE; 
    line-height: 1.25em;
    margin-right: 10px; 
    margin-left: 10px; 
    padding-top: 0px; 
    padding-right: 5px; 
    padding-bottom: 5px; 
    padding-left: 5px; 
    border: 1px #CCCCCC solid;
}
	
.CodeStyle { 
    font-family: "Courier New", Courier, mono;  
    font-size: 2;
}

.Inactive {
    color: #CCCCCC;
}
	
.Key{ 
    color: #0000FF;
}

.SglQt { 
    color: #FF6600;
}

.DblQt { 
    color: #CC0033;
}
	
.Green{ 
    color: #006633;
}

.Comment {  
    font-style: italic; 
    color: #000080 /* #009900 */;
    background-color: #00FFFF
}

.Int { 
    color: #000099; 
}

.Op { 
    color: #006633; 
}

.offset {
    /*border-left: 1.5px solid #ccc;
    /*color: #888;*/
    /*margin: 0;*/
    /*margin-right;*/
    
    margin-top: 0px;
    
    /*margin-bottom: 0px;*/
    /*padding: 0 0 0 12px;*/
    /*padding-left: 12px;*/
    /*padding-bottom: 0px;*/
    /*padding-top: 0px;*/
}

.offsetb {
    margin-top: 0px;
    margin-bottom: 0px;
}

.Indent {
    text-indent: 28pt;
}

.IndentDbl {
    text-indent: 50pt;
}

.IndentTpl {
    text-indent: 75pt;
}