Difference between revisions of "Template:Sec"

From CDOT Wiki
Jump to: navigation, search
m (Seneca Eclipse Course - Oct 12)
 
m
Line 1: Line 1:
<css>
+
 
 
#sec-nav {
 
#sec-nav {
 
   margin-bottom: 3em;
 
   margin-bottom: 3em;
Line 112: Line 112:
 
   margin: 0.5em;
 
   margin: 0.5em;
 
}
 
}
</css>
+
 
 
<div id="sec-nav">
 
<div id="sec-nav">
 
*{{secLink|Introduction|Introduction|{{{tab}}}|introduction}}  
 
*{{secLink|Introduction|Introduction|{{{tab}}}|introduction}}  
Line 123: Line 123:
 
</div>  
 
</div>  
 
<noinclude>
 
<noinclude>
==Usage==
 
<nowiki>{{sec}}</nowiki>
 
[[Category:Seneca Eclipse Course  Template|Seneca Eclipse Course]]
 
</noinclude><includeonly>
 
[[Category:sec]]
 
{{DEFAULTCATEGORYSORT:{{SUBPAGENAME}}}}
 
</includeonly>
 

Revision as of 22:39, 12 October 2010

  1. sec-nav {
 margin-bottom: 3em;

}

  1. sec-nav ul {
 padding: 3px 0 1px 1em;
 margin:0;
 border-bottom: 1px solid #aaa;

}

  1. sec-nav li {
 list-style: none;
 margin: 0;
 display: inline;

}

  1. sec-nav li a {
 padding: 3px 1em 0 1em;
 margin-left: 3px;
 border: 1px solid #aaa;
 background: #eef;
 text-decoration: none;

}

  1. sec-nav li a:link { color: #448; }
  2. sec-nav li a:visited { color: #667; }
  3. sec-nav li a:hover {
 color: #000;
 background: #ccf;
 border-color: #227;

}

  1. sec-nav li span#current a

{

 background: #fff;
 border-bottom: 1px solid #fff;

}

  1. sec-nav li .selflink {
 padding: 3px 1em 0 1em;
 margin-left: 3px;
 border: 1px solid #aaa;
 background: #fff;
 border-bottom: 1px solid #fff;

} table.sec-table, .sec-table table {

 border: 1px solid #aaa;
 border-collapse: collapse;

} .sec-table td {

 border: 1px solid #aaa;
 padding: 0.5em 1em;

} .sec-table th {

 border: 1px solid #aaa;
 background-color: #eef;

} .sec-table caption {

 border: 1px #aaa solid;
 margin: 1em 0 0.2em 0;
 background-color: #ccf;
 font-weight: bold;
 font-size: 1.1em;

}

  1. content dl {
 border-left: 1px #aaa solid;
 border-bottom: 1px #aaa solid;

}

  1. content dl dt {
 float: left;
 border-top: 1px solid #aaa;
 padding: 0.5em 0 0 0.5em;

}

  1. content dl dd {
 border: 1px solid #aaa;
 border-bottom: none;

}

  1. content .narrow-list dl {
 width: 40em;

}

  1. content .narrow-list dl dt {
 width: 14em;
 line-height: 1em;

}

  1. content .narrow-list dl dd {
 margin: 0 0 0 15em;
 padding: 0.5em 1em;

}

  1. content .wide-list dl, #content dl {
 width: 80em;

}

  1. content .wide-list dl dt, #content dl dt {
 padding: 0.5em 1em;
 width: 15em;

}

  1. content .wide-list dl dd, #content dl dd {
 padding: 1em 1em 2em 2em;
 margin: 0 0 0 17em;

}

  1. content .unbounded-list dl, #content .unbounded-list dl dd, #content .unbounded-list dl dt {
 border: 0 none;
 width: auto;
 padding: 0 0 0 1em;

}

  1. content .unbounded-list dl dt {

}

  1. content p {
 margin-bottom: 0.5em;

}

  1. content li {
 line-height: 1.1em;

} .infobox {

 padding: 0.5em 1em;
 background-color: #fff;
 float: right;
 margin: 0.5em;

}