MediaWiki:Common.css

From TLG
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* settings below affect only desktop site and not mobile site */
/* CSS rules below are loaded for all users on every page load */

/* this setting slightly increases text size in body sitewide */
.mw-body-content {font-size:0.925em;}
/* this setting slightly decreases line height in body sitewide */
.mw-body-content {line-height:1.55em;}

/* sans-serif is Vector skin default font for general text */
body {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
/* WhatFont states that Helvetica is used on work computer */

/* these settings adjust margins and remove anonymous links */
#mw-page-base {height:3.5em;}
#mw-head-base {margin-top:-3.5em;}
#mw-head-base {height:3.5em;}
#left-navigation {margin-top:1em;}
#right-navigation {margin-top:1em;}
#p-personal {top:0.2em;}
#pt-anonuserpage {display:none;}
#pt-anontalk {display:none;}
#pt-anoncontribs {display:none;}
#pt-login {display:none;}
#pt-createaccount {display:none;}

/* these settings adjust sizes related to Vector tabs */
/* this removed setting caused border line to show */
/* .vectorTabs li a {font-size:0.785em;} */
/* this removed setting made More tab too small */
/* .vectorMenu h3 span {font-size:0.785em;} */
.vectorMenu li a {font-size:0.785em;}
#p-personal li {font-size:0.700em;}
.vectorTabs ul li {line-height:1.35em;}
.vectorMenu li {line-height:0.75em;}

/* these settings shorten and shift search box */
#simpleSearch {width:15em;}
/* #simpleSearch {width:15vw;} */
/* #simpleSearch {min-width:15em;} */
#p-search {margin-top:0.05em;}
#p-search {margin-left:0.50em;}
#p-search {margin-right:0.75em;}

/* this setting removes the view source tab */
/* added back elsewhere for logged in users */
#ca-viewsource {display:none;}

/* these settings reposition the logo box */
/* was 45 with Beta ... */
#mw-panel {top:30px;}
#mw-panel {padding-top:0;}
#mw-panel #p-logo+.portal {margin-top:0.5em;}
/* was margin-top:0.8em; */
#p-logo {margin-bottom:0;}
/* was margin-bottom:1em; */

/* this setting shows Navigation label */
/* "!important" used for specificity */
#mw-panel .portal h3 {display:block!important;}

/* these settings increase menu font size */
#mw-panel .portal h3 {font-size:0.785em;}
#mw-panel .portal .body ul li {font-size:0.785em;}

/* this setting moves menu links right */
#mw-panel .portal .body {margin-left:1.05em!important;}

/* these settings remove certain menu links */
/* added back elsewhere for logged in users */
#n-Recent-Changes {display:none;}
#p-tb {display:none;}
#t-whatlinkshere {display:none;}
#t-recentchangeslinked {display:none;}
#t-specialpages {display:none;}
#t-info {display:none;}

/* this setting removes last modified information */
#footer-info-lastmod {display:none;}

/* these settings make adjustments to footer */
#footer {padding-top:0.65em;}
#footer ul li {padding-bottom:0.25em;}
#footer ul li {font-size:0.735em;}
#footer-poweredbyico {padding-top:0.00em;}
#footer-poweredbyico {margin-right:0.25em;}
#footer-poweredbyico {margin-bottom:1.00em;}

/* this setting reduces space at bottom of page */
#footer {padding-bottom:0.00em;}

/* this setting limits width of the contact form box */
.mw-special-Contact .mw-htmlform-ooui-wrapper {max-width:40em;}
/* this setting limits width of the contact form elements */
.mw-special-Contact .oo-ui-textInputWidget {max-width:38em;}
/* this setting makes "electronic ..." text smaller on contact form */
.mw-special-Contact .oo-ui-labelElement-label {font-size:1.00em!important;}
/* this setting moves up "* necessary to ..." on contact form */
.mw-special-Contact #ooui-php-10 {margin-top:0.65em;}
/* this setting removes the required indicator from contact form */
.mw-special-Contact .oo-ui-indicatorElement-indicator {display:none;}
/* this setting adds space between "email me ..." and "CAPTCHA"*/
.mw-special-Contact #ooui-php-15 {margin-top:18px;}
/* this setting removes space between "CAPTCHA" and question-input*/
.mw-special-Contact #ooui-php-15 .oo-ui-fieldLayout-header {padding-bottom:0.00px;}

/* this setting removes help link from special pages */
#mw-indicator-mw-helplink {display:none;}

/* these settings remove items from various special pages */
.mw-special-Categories .oo-ui-indicatorElement-indicator {display:none;}
.mw-special-Listgrouprights .mw-listgrouprights-key {display:none;}
.mw-special-Listgrouprights #autoconfirmed {display:none;}
.mw-special-Listgrouprights #bot {display:none;}
.mw-special-Listgrouprights #bureaucrat {display:none;}
.mw-special-Listgrouprights #emailconfirmed {display:none;}
.mw-special-Listgrouprights #interface-admin {display:none;}
.mw-special-Listgrouprights #suppress {display:none;}
.mw-special-Listgrouprights #widgeteditor {display:none;}
.mw-special-Listgrouprights table + h2 {display:none;}
.mw-special-Listgrouprights h2 + table {display:none;}
.mw-special-PasswordPolicies #autoconfirmed {display:none;}
.mw-special-PasswordPolicies #bot {display:none;}
.mw-special-PasswordPolicies #bureaucrat {display:none;}
.mw-special-PasswordPolicies #emailconfirmed {display:none;}
.mw-special-PasswordPolicies #interface-admin {display:none;}
.mw-special-PasswordPolicies #suppress {display:none;}
.mw-special-PasswordPolicies #widgeteditor {display:none;}
.mw-special-Userlogin .mw-userlogin-help {display:none;}
.mw-htmlform-field-Licenses {display:none;}
.mw-upload-editlicenses {display:none;}

/* these settings affect only the Main Page */
.page-Main_Page.action-view .mw-body {padding:0 0.75em;}
.page-Main_Page.action-view #firstHeading {display:none;}
.page-Main_Page.action-view #toc {display:none;}
.page-Main_Page #table {display:table;border-spacing:0.5em;padding:0;margin:0;}
.page-Main_Page #cell1 {display:table-cell;width:55%;padding:0;border:1px solid #5090C0;}
.page-Main_Page #cell2 {display:table-cell;width:45%;padding:0;border:1px solid #5090C0;}
.page-Main_Page #headingSerif {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Main_Page #headingLinks li {margin-bottom:0;}
.page-Main_Page #headingLinks a {display:block;padding:0.1em 0;}
.page-Main_Page h2.mpHeading {padding:0.1em 1.25em;border-bottom-width:0;margin:0.625em 0;background-color:#3A5795;word-spacing:0.25em;font-size:110%;color:white;}
.page-Main_Page .floatright {margin-bottom:0.4em;margin-left:0.5em;}
.page-Main_Page .mpContainer {margin:1em 1.25em 0.5em 1.25em;}
.page-Main_Page #mpContainer1 {padding-bottom:0.25em;}
.page-Main_Page #mpContainer2 {padding-bottom:0.00em}
.page-Main_Page #mpContainer3 {padding-bottom:0.50em;}
.page-Main_Page #mpContainer4 {padding-bottom:0.25em;}
.page-Main_Page #mpContainer5 {padding-top:0.25em;padding-bottom:0.00em}
.page-Main_Page .mpSubHeading {font-size:105%;}
.page-Main_Page .mpSubContainer1 {padding-bottom:1.25em;}
.page-Main_Page .mpSubContainer2 {padding-bottom:1em;}
.page-Main_Page .mpSubContainer3 {padding-bottom:0em;}
.page-Main_Page h2#countyHeading {margin-top:0.5em;}
.page-Main_Page .mpCounties {padding:0;line-height:1.0;}
.page-Main_Page .mpCounties img {padding-right:0.65em;}
.page-Main_Page .mpCounties a {display:block;}
.page-Main_Page #mpCounty1 {text-align:right;}
.page-Main_Page #mpCounty3 {text-align:right;}
.page-Main_Page #mpCounty5 {text-align:right;}
.page-Main_Page #mpCounty7 {text-align:right;}
.page-Main_Page #mpCounty9 {text-align:right;}
.page-Main_Page #mpCounty11 {text-align:right;}
.page-Main_Page #mpCounty2 {padding-right:0.65em;}
.page-Main_Page #mpCounty4 {padding-right:0.65em;}
.page-Main_Page #mpCounty6 {padding-right:0.65em;}
.page-Main_Page #mpCounty8 {padding-right:0.65em;}
.page-Main_Page #mpCounty10 {padding-right:0.65em;}
.page-Main_Page #mpCounty12 {}

/* this setting removes page title in Attorney Directory namespace */
.ns-138 #firstHeading {display:none;}

/* these settings change title font in Texas Constitution namespaces */
.ns-140 #firstHeading {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
.ns-141 #firstHeading {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}

/* these settings exempt non-constitution pages from above settings */
.page-Texas_Constitution_Vernon_s_Annotated_Constitution_of_the_State_of_Texas #firstHeading {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_talk_Vernon_s_Annotated_Constitution_of_the_State_of_Texas #firstHeading {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_The_Texas_State_Constitution_A_Reference_Guide #firstHeading {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_talk_The_Texas_State_Constitution_A_Reference_Guide #firstHeading {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_The_Constitution_of_the_State_of_Texas_An_Annotated_and_Comparative_Analysis #firstHeading {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_talk_The_Constitution_of_the_State_of_Texas_An_Annotated_and_Comparative_Analysis #firstHeading {font-family:"Linux Libertine",Georgia,Times,serif;}

/* these settings change title font in Estates Code namespaces */
.ns-150 #firstHeading {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
.ns-151 #firstHeading {font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}

/* these settings replaced <small> elements in Estates Code namespaces */
#eshistory {font-size:small;}
#esuniform {font-size:small;}

/* legacy Vector limited responsive css */
/* large devices: laptop + (992px & up) */
/* 982px or larger, below are operative */
/* @media screen and (min-width:982px) { */
/* .mw-body,#mw-head-base,#left-navigation,#mw-data-after-content,.mw-footer{margin-left:11em;} */
/* .mw-body{padding:1.25em 1.5em 1.5em 1.5em;} */
/* .mw-footer{padding:1.25em;} */
/* #mw-panel{padding-left:0.5em;} */
/* #p-search{margin-right:1em;} */
/* #p-personal{right:1em}} */

/* ! above setting changed in Vector code ! */
/* /resources/skins.vector.styles/legacy/layout.less */
/* @media screen and (min-width:1115px) */
/* purpose to tighten 7th generation iPad */
/* 7th generation iPad landscape is 1112px */

/* these settings reduce space at bottom of page */
@media screen and (min-width:1115px) {
.mw-body {padding-bottom:1.25em;}
.mw-footer {padding-bottom:0.00em;}
#p-personal{right:1.00em}}

/* TLG additional limited responsive css */
/* large devices: desktop (1312px & up) */
@media screen and (min-width:1340px) {
body {font-size:102%;}
.mw-body-content {line-height:1.5em;}
#p-search {margin-left:1.0em;}
#p-search {margin-right:1.5em;}
.page-Main_Page h2.mpHeading {margin-top:0.75em;margin-bottom:0.75em;}
.page-Main_Page div.floatright {margin-bottom:0.75em;margin-left:1em;}
.page-Main_Page div.mpContainer {margin:1.5em 2em 1em 2em;}}

/* body {background-color:lightgreen;} */
/* supposed to show css breakpoint */