Sorry for the inconvenience.  Known Navigation header breakage, its being "rebuilt."
There may be other unforeseen breakage primarily in the handbook portion of the wiki.
The Table Of Contents section of each "PC-BSD® Users Handbook" page may be the best workaround.

Difference between revisions of "MediaWiki:Common.css"

From PC-BSD Wiki
Jump to: navigation, search
Line 126: Line 126:
 
         float:left;
 
         float:left;
 
         position:relative;
 
         position:relative;
 +
        margin-left: 12px;
 +
        margin-right: 6px;
 
         width:auto;
 
         width:auto;
 
         padding:5px 5px 5px 5px;
 
         padding:5px 5px 5px 5px;
Line 133: Line 135:
 
         float:right;
 
         float:right;
 
         position:relative;
 
         position:relative;
 +
        margin-right: 12px;
 
         width:auto;
 
         width:auto;
 
         padding:5px 5px 5px 5px;
 
         padding:5px 5px 5px 5px;
 
         }
 
         }

Revision as of 23:54, 29 April 2013

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

/**************************************************************************/
/* Here is the Spiffy Table which allows for nice colors, bold titles and */
/* alternating white/grey rows. It does not display entirely well when a  */
/* rowspan=x is defined. This is used by template tbl-init or can be used */
/* alone by specifying class=spiffy_table.  A plain table without any     */
/* background color but otherwise similar format may be used by adding    */
/* class=simple_table.                                                    */
/**************************************************************************/

table.spiffy_table, table.simple_table {
        border: 2px solid rgb(186, 186, 186);
        border-collapse: collapse;
        }

.spiffy_table tr:nth-child(odd) > td {
        background-color:#EEEEEE;
        }

.spiffy_table tr:nth-child(even) > td {
        background-color:#FFFFFF;
        }

.spiffy_table th {
        background-color:#FFFFD9;
        border-color: #BABFA3;
        border-style: solid;
        border-width: 0 1px 2px 1px;
        font-weight: bold;
        padding: 5px;
        text-align: center;
        }

.simple_table th {
        border-color: #BABFA3;
        border-style: solid;
        border-width: 0 1px 2px 1px;
        font-weight: bold;
        padding: 5px;
        text-align: center;
        }

.spiffy_table caption, .simple_table caption {
        font-weight: bold;
        text-align: left;
        }

.spiffy_table td, .simple_table td {
        padding: 5px;
        border-style: solid;
        border-color:#BABFA3;
        border-width: 1px 1px 1px 1px;
        }


/**************************************************************************/
/* This prevents the wiki from insisting upon using <strong> on titles    */
/* from table captions above. Not even adding a separate class to wrap    */
/* around the citelink type references via span tags worked.              */
/**************************************************************************/

.GroupListItem, .selflink {
        font-weight: normal;
        font-style: normal;
        }


/**************************************************************************/
/* Various style adjustments for different kinds or levels of emphasis.   */
/* Each class is named for the template that uses it.                     */
/**************************************************************************/

.redtxt {
        color:rgb(255,0,0);
        }

.highlight {
           background: yellow;
           color: #000000;
           }

.orangelight {
             background: #8B5A00;
             color: #FFFFFF;
             }

.redlight {
          background: crimson;
          color: #FFFFFF;
          }

.smalltext {
           font-size:small;
           }

.strike {
        text-decoration:line-through;
        }


/**************************************************************************/
/* This is the txtbox style adjustments.                                  */
/* Each class is named for the template that uses it.                     */
/**************************************************************************/

.txtbox {
        align: center;
        cellpadding: 5px;
        border: none;
        position:relative;
          background: #aaaaaa;
        margin-left: 12px;
        margin-right: 12px;
        margin-top: 10px;
        margin-bottom: 10px;
        border-collapse: collapse;
        padding:5px 5px 5px 5px;
        }

.txtbox-box {
        font-family: Courier New, Courier, monospace;
        border: #aaaaaa dashed 1px;
        background: #f6f6f6;
        text-align:left;
        float:left;
        position:relative;
        margin-left: 12px;
        margin-right: 6px;
        width:auto;
        padding:5px 5px 5px 5px;
        }

.txtbox-txt {
        float:right;
        position:relative;
        margin-right: 12px;
        width:auto;
        padding:5px 5px 5px 5px;
        }
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox