MediaWiki:Mobile.css

From TLG
Revision as of 20:53, June 27, 2023 by imported>Admin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 mobile site and not desktop site */
/* CSS rules below are loaded for all users on every page load */

/* This setting adds border to CAPTHCA box */
#wpCaptchaWord {border:1px solid #a2a9b1;}

/* this setting removes footer mobile TLG */
.minerva-footer-logo {display:none;}

/* this setting removes entire copyright */
#footer-info-copyright {display:none;}

/* these settings make several changes to left navigation menu */
#mw-mf-page-left ul {padding-bottom:0px;}
#mw-mf-page-left ul:first-child li:first-child {border-top:8px solid #eaecf0 !important;}
#mw-mf-page-left ul li {border-top:3px solid #eaecf0 !important;}
#p-personal {display:none;}

/* this setting replaces heart icon on transformed donate link */
.mw-ui-icon-minerva-heart:before{background-image:url(/load.php?modules=skins.minerva.mainMenu.icons&image=unStar&format=rasterized&skin=minerva&version=3gpvm);background-image:linear-gradient(transparent,transparent),url(/load.php?modules=skins.minerva.mainMenu.icons&image=unStar&format=original&skin=minerva&version=3gpvm)}

/* these settings modify the branding box */
/* .branding-box {padding-left:0.00em;} */
/* .branding-box {opacity:0.80!important;} */ 
/* .branding-box a span {font-size:1.05em!important;} */
/* .branding-box a span {font-family:"Linux Libertine",Georgia,Times,serif;} */

/* these settings modify the search box */
/* .search-box {padding-left:5px;} */
/* .search-box .search {padding-left:35px;} */
/* @media screen and (min-width: 720px) {.header .search-box .search {width:21em;}} */

/* this setting reduces space between heading and text */
.heading-holder {padding-bottom:2px!important;}

/* this setting removes top menu */
.page-actions-menu {display:none;}

/* this setting reduces space between footer and text */
.mw-body {padding-bottom:20px;}

/* this setting removes last modified info */
.last-modified-bar {display:none;}

/* this setting removes space in footer */
footer > .post-content, .mw-footer > .post-content {margin-top:5px;}

/* this setting removes Texas Legal Guide */
/*.footer-content h2:nth-child(2) {display:none;}*/

/* 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;}

/* these settings affect only the Main Page */
.page-Main_Page.action-view .heading-holder {display:none;}
.page-Main_Page.action-view #bodyContent {margin-top:12px;}
.page-Main_Page.action-view section#mf-section-0 > div:first-child {margin-right:0.0em!important;margin-bottom:0.5em!important;margin-left:0.0em!important;}
.page-Main_Page #headingSerif {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Main_Page #headingLinks {padding-top:0.40em!important;}
.page-Main_Page #headingLinks {padding-right:0.00em!important;}
.page-Main_Page #headingLinks {padding-bottom:0.40em!important;}
.page-Main_Page #headingLinks {padding-left:0.40em!important;}
.page-Main_Page #headingLinks {font-size:95%!important;}
.page-Main_Page #headingLinks li {margin-bottom:0;}
.page-Main_Page #headingLinks a {display:block;padding:0.1em 0;}
.page-Main_Page #table {border:1px solid #5090C0;}
.page-Main_Page.action-view .mw-body {padding-bottom:10px;}
.page-Main_Page h2.mpHeading {padding:0.1em 1.25em;border-bottom-width:0;margin:0.30em 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.40em;}
.page-Main_Page #mpContainer3 {padding-bottom:0.50em;}
.page-Main_Page #mpContainer4 {padding-bottom:0.10em;}
.page-Main_Page #mpContainer5 {padding-top:0.15em;padding-bottom:0.00em}
.page-Main_Page .mpSubHeading {font-size:105%;}
.page-Main_Page .mpSubContainer1 {padding-bottom:1.0em;}
.page-Main_Page .mpSubContainer2 {padding-bottom:1.0em;}

/* this setting removes page title in Attorney Directory namespace */
/* former .ns-138 #section_0 {display:none;} */
.ns-138 #firstHeading {display:none;}
/* this setting reduces space at top in Attorney Directory namespace */
.ns-138 .page-heading {margin-bottom:0px;}
/* this setting reduces space at top in Attorney Directory namespace */
.ns-138 .heading-holder {padding-top: 5px;}
/* this setting increases space between contact link and photo */
.ns-138 .thumb {margin-top: 1.0em;}
/* this setting reduces space at bottom in Attorney Directory namespace */
.ns-138 .mw-body {padding-bottom:12px;}

/* these settings change title font in Texas Constitution namespaces */
.ns-140 #section_0 {font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Lato','Helvetica','Arial',sans-serif;}
.ns-141 #section_0 {font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Lato','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 #section_0 {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_talk_Vernon_s_Annotated_Constitution_of_the_State_of_Texas #section_0 {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_The_Texas_State_Constitution_A_Reference_Guide #section_0 {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_talk_The_Texas_State_Constitution_A_Reference_Guide #section_0 {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_The_Constitution_of_the_State_of_Texas_An_Annotated_and_Comparative_Analysis #section_0 {font-family:"Linux Libertine",Georgia,Times,serif;}
.page-Texas_Constitution_talk_The_Constitution_of_the_State_of_Texas_An_Annotated_and_Comparative_Analysis #section_0 {font-family:"Linux Libertine",Georgia,Times,serif;}

/* these settings change title font in Estates Code namespaces */
.ns-150 #section_0 {font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Lato','Helvetica','Arial',sans-serif;}
.ns-151 #section_0 {font-family:-apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Lato','Helvetica','Arial',sans-serif;}

/* these settings reposition the breadcrumbs */
.ns-140 .page-heading {margin-bottom:0px;}
.ns-140 .minerva__subtitle {margin-top:4px;}
.ns-140 .minerva__subtitle {padding-left:20px;}
.ns-150 .page-heading {margin-bottom:0px;}
.ns-150 .minerva__subtitle {margin-top:2px;}
.ns-150 .minerva__subtitle {padding-left:23px;}
/* this setting reduces breadcrumbs size */
#breadcrumbs2 {font-size:0.75em;}
/* this setting adds space below breadcrumbs */
.heading-holder {padding-bottom:8px;}

/* this setting removes constitution history */
.ns-140 .mf-section-0 p:first-child {display:none;}

/* this setting reduces space around constitution headings */
.ns-140 .content h2 {padding-top:0.4em;padding-bottom:0.2em;}

/* this setting removes estates history 2x */
#eshistory {display:none;}
#esuniform {display:none;}
/* these settings repositioned estates history */
/* #eshistory {margin-left:0em;} */
/* #eshistory {padding-left:23px;} */
/* #eshistory {padding-top:5px;} */
/* this setting reduced estates code history */
/* .ns-150 #eshistory {font-size:0.75em;} */
/* this setting added space below estates code history */
/* .ns-150 .mf-section-0 {margin-bottom:8px;} */
/* this setting reduced uniform code approval */
/* .ns-150 #esuniform {font-size:0.75em;} */

/* this setting increases space between heading and text */
.ns-150 .heading-holder {padding-bottom:5px!important;}

/* this setting increases space below estates code text */
.ns-150 .mf-section-0 {padding-bottom:8px!important;}

/* this setting reduces space around estates code headings */
.ns-150 .content h2 {padding-top:0.4em;padding-bottom:0.2em;}

/* this setting further reduces bottom space in estates code */
.ns-150 .mw-body {padding-bottom:5px!important;}