Fred Gandt/sandbox – User
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (little tweak) |
Fred Gandt (talk | contribs) (The CSS for Cfg* Config Reference pages I am currently working with locally. Tell me if there's anything disagreeable before I add it and the updated pages.) |
||
Line 3: | Line 3: | ||
<syntaxhighlight lang="css"> | <syntaxhighlight lang="css"> | ||
/* | /** | ||
* Class handling presentation of "Cfg* Config Reference" pages. | |||
* Use "Template:Cfg ref" in conjunction. | |||
*/ | |||
.cfg_reference { | .cfg_reference { | ||
width: 85%; | width: 85%; | ||
Line 12: | Line 15: | ||
font-weight: bold; | font-weight: bold; | ||
color: #404040; | color: #404040; | ||
margin-top: 0px; | |||
padding-top: 0px; | |||
border: none; | border: none; | ||
} | |||
.cfg_reference h3 { | |||
color: #404040; | |||
margin-top: 0px; | |||
padding-top: 0px; | |||
} | |||
.cfg_reference p { | |||
margin-left: 1.2em; | |||
} | } | ||
.cfg_reference img { | .cfg_reference img { | ||
margin: 0px 0px 10px 3px; | margin: 0px 0px 10px 3px; | ||
} | } | ||
.cfg_reference | .cfg_reference table.operators { | ||
color: # | background-color: #a0a0a0; | ||
border-spacing: 1px; | |||
} | |||
.cfg_reference table.operators { | |||
margin-left: 2em; | |||
} | |||
.cfg_reference table.operators th { | |||
background-color: #d0d0d0; | |||
} | |||
.cfg_reference table.operators td { | |||
background-color: #efefef; | |||
} | |||
.cfg_reference div.mw-geshi { | |||
margin-left: 2em; | |||
} | |||
.cfg_reference div.abc { | |||
border-left: 25px solid #d0d0d0; | |||
} | |||
.cfg_reference div.abc h2 { | |||
background-color: #fff; | |||
margin-left: -25px; | |||
padding: 0.5em 0em 0.5em 0.2em; | |||
} | } | ||
.cfg_reference div.abc h3 { | .cfg_reference div.abc h3 { | ||
width: | float: left; | ||
margin: 0px; | width: 25px; | ||
padding: | margin: 0px 0px 0px -25px; | ||
border: | padding-top: 0.3em; | ||
border: none; | |||
border-top: 1px solid #808080; | |||
font-size: 1.7em; | font-size: 1.7em; | ||
font-weight: bold; | font-weight: bold; | ||
color: #404040; | color: #404040; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.cfg_reference div.abc h4 { | .cfg_reference div.abc h4 { | ||
background-color: #efefef; | background-color: #efefef; | ||
background: -webkit-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0)); | |||
background: -o-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0)); | |||
background: -moz-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0)); | |||
background: linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0)); | |||
padding: 0.3em 0.5em 0.1em 0.5em; | |||
border- | border-top: 1px solid #808080; | ||
font-size: 1.3em; | font-size: 1.3em; | ||
font-weight: normal; | font-weight: normal; | ||
Line 46: | Line 79: | ||
color: #404040; | color: #404040; | ||
} | } | ||
.cfg_reference | .cfg_reference div.abc dl { | ||
margin-left: 1.2em; | margin-left: 1.2em; | ||
} | } | ||
/* End of .cfg_reference | |||
* | |||
.cfg_reference | **/ | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 18:20, 5 May 2014
/**
* Class handling presentation of "Cfg* Config Reference" pages.
* Use "Template:Cfg ref" in conjunction.
*/
.cfg_reference {
width: 85%;
}
.cfg_reference h2 {
font-size: 1.8em;
font-weight: bold;
color: #404040;
margin-top: 0px;
padding-top: 0px;
border: none;
}
.cfg_reference h3 {
color: #404040;
margin-top: 0px;
padding-top: 0px;
}
.cfg_reference p {
margin-left: 1.2em;
}
.cfg_reference img {
margin: 0px 0px 10px 3px;
}
.cfg_reference table.operators {
background-color: #a0a0a0;
border-spacing: 1px;
}
.cfg_reference table.operators {
margin-left: 2em;
}
.cfg_reference table.operators th {
background-color: #d0d0d0;
}
.cfg_reference table.operators td {
background-color: #efefef;
}
.cfg_reference div.mw-geshi {
margin-left: 2em;
}
.cfg_reference div.abc {
border-left: 25px solid #d0d0d0;
}
.cfg_reference div.abc h2 {
background-color: #fff;
margin-left: -25px;
padding: 0.5em 0em 0.5em 0.2em;
}
.cfg_reference div.abc h3 {
float: left;
width: 25px;
margin: 0px 0px 0px -25px;
padding-top: 0.3em;
border: none;
border-top: 1px solid #808080;
font-size: 1.7em;
font-weight: bold;
color: #404040;
text-align: center;
}
.cfg_reference div.abc h4 {
background-color: #efefef;
background: -webkit-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
background: -o-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
background: -moz-linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
background: linear-gradient(90deg, #efefef, rgba(239, 239, 239, 0));
padding: 0.3em 0.5em 0.1em 0.5em;
border-top: 1px solid #808080;
font-size: 1.3em;
font-weight: normal;
font-family: "Lucida Console", monospace;
color: #404040;
}
.cfg_reference div.abc dl {
margin-left: 1.2em;
}
/* End of .cfg_reference
*
**/