/** Common pollwiki styles for all users of the Vector skin.  This style sheet is pulled
  * into the wiki via page MediaWiki:Vector.css.
  */


body
{
    height: auto; /* revert to default instead of 100%, which causes disruptions when
      the body's temporary border (layoutStabilizer) is displayed, such as the MediaWiki
      tabs jumping out of position, or a vertical scroll bar appearing */
    position: relative; /* establish containing block in order to keep positioned
      descendants within the layoutStabilizer's temporary border */
}


#bodyContent
{
    font-size: medium; /* restore default instead of vector's 0.8em, which annoyingly
      overrides the user's preference set in the browser */
}



/** - a --------------------------------
  */
a, a:visited
{
    color: #00b; /* more intense, instead of #0645AD */
}


a.new:visited, #p-personal a.new:visited
{
    color: #ba0000; /* same as unvisited, instead of #a55858 */
}


body.page-Special_RecentChanges div div div a:visited,
body.page-Special_Watchlist div div div a:visited
/* Re-enable link colouring in these pages to show which changes were seen */
{
    color: #009000;
}



/** - footer ---------------------------
  */
div#footer ul#footer-icons
{
    display: none; /* MediaWiki advert, too noisy */
}


div#footer ul#footer-info
{
    text-align: right;
}


body.ltr div#footer ul#footer-places
{
    float: right;
}


body.ltr div#footer ul#footer-places li
{
    margin-left: 1em;
    margin-right: 0;
}



/** - personal URLs (p-personal) -------
  */
div#p-personal a
{
    color: #777; /* subdue, we know they are links */
}


div#p-personal a:hover
{
    color: #000;
}



/** - reference ------------------------
  */
sup.reference:target a /* highlight clicked reference */
{
    background-color:   #ddeeff;
    outline: thin solid #ddeeff;
}
ol.references li:target, /* highlight targetted note */
ol.references li.target /* this per MediaWiki:Gadget-ReferenceTooltips.js */
{
    background-color:   #ddeeff;
}



/** - sidebar (mw-panel) ---------------
  */
div#mw-panel div.portal div.body ul li a,
div#mw-panel div.portal div.body ul li a:visited
{
    color: #777; /* subdue, we know they are links */
}


    div#mw-panel div.portal div.body ul li a.subdued.disabled,
    div#mw-panel div.portal div.body ul li a.subdued.disabled:visited
    {
        color: #aaa;
        cursor: default;
        pointer-events: none;
    }


div#mw-panel div.portal div.body ul li a:hover
{
    color: #000;
}



/** - sortablePlain --------------------
  */
table.sortable.sortablePlain tr th.headerSort
{
    padding-right: 0; /* override class "sortable", per table.plainP th */
}


table.sortable.sortablePlain tr th.headerSort,
table.sortable.sortablePlain tr th.headerSortUp,
table.sortable.sortablePlain tr th.headerSortDown
{
    background-image: none; /* override class "sortable" */
}


table.sortable.sortablePlain tr th.headerSort:hover
{
    background-color:    #f0f0f0;
    border-bottom-color: #f0f0f0;
    outline: 0.2em outset #fff;
}


table.sortable.sortablePlain tr th.headerSort:active
{
    outline-style: inset; /* active selector fails with Firefox and Chrome */
}
