Thanks for using our site!

If you're looking to become an editor, please read the Becoming an Editor section carefully.

MediaWiki:Common.css: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Chickadee
Undo revision 4608 by Runetree (talk)
No edit summary
 
(374 intermediate revisions by 5 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


#column-content {
/******************
width: 100%;
 
float: right;
MOBILE RESPONSIVE
margin: 32px 0px 20px -180px;
 
padding: 0px;
******************/
/*border: 1px solid #0000FF;*/
/* common breakpoints:
mobile: 320px - 720px (max-width: 720px)
tablet: 720px - 1000px (min-width: 720px, max-width: 1000px)
desktop: 1000px; wide desktop: 1200px; extrawide desktop: 2000px; (min-width: 1000px)
*/
 
/* desktop */
@media screen and (min-width: 720px) {
    .mobileresponsive, .mobileblock, .mobiletable, .mobilecell {
        display: none;
    }
    .desktopresponsive, .desktopblock {
        display: block;
    }
    .desktoptable {
        display: table;
    }
    .desktopgrid {
        display: grid;
    }
   
    ul {
        margin: 0.1em 0 0 1.2em;
    }
    .eventtable {
        text-align: right;
        margin-right: 10%;
        margin-top: -0.5em;
    }
    .eventdiv {
        margin:0;
        margin-bottom: 1.5em;
    }
}
}
#content {
.home-category > tbody > tr > td {
padding: 5px 15px 15px 15px;
    padding: 0.7em 1em;
background: #EEE6D8;
}
color: black;
.home-section > tbody > tr > td {
    padding: 0.1em 0.3em;
}
.home-section .noicon {
    padding: 0.2em 0.3em;
}
 
/* mobile */
@media screen and (max-width: 720px) {
    .desktopresponsive, .desktopblock, .desktoptable, .desktopgrid, .desktopcell {
        display: none;
    }
    .mobileresponsive, .mobileblock {
        display: block;
    }
    .mobiletable {
        display: table;
    }
    .mobilecell {
        display: table-cell;
    }
 
    ul {
        margin: 0.2em 0.5em !important;
        padding-left: 0.4em;
        line-height: 1.4em;
    }
 
    li {
        margin-bottom: 0.3em;
    }
 
    blockquote {
        margin-inline-start: 15px;
        margin-inline-end: 15px;
    }
 
    .eventtable {
        text-align: right;
    }
    .eventdiv {
        margin: 0.3em 0 1.2em 0;
    }
}
 
 
/******************
 
GENERAL
 
******************/


border-right: none;
hr {
line-height: 1.5em;
    margin: 0.5em;
/*border: 1px solid #FFCC00;*/
    height: 0.3px;
z-index:2;
    background-color: darkgrey;
    border: inherit;
}
}
#column-one {
 
padding-top: 160px;
p {
    margin: 0.4em 0 0.7em 0;
}
}


body {
/* Background */
font: x-small sans-serif;
body.mediawiki {
background: #D9ECEB url(https://ranchstory.miraheze.org/wiki/File:Ranchstoryclouds2.gif);
    background-image: url("https://static.miraheze.org/ranchstorywiki/6/69/Ranchstoryclouds2.gif");
color: black;
    background-repeat: no-repeat;
margin: 0;
    background-attachment: fixed;
padding: 0;
    background-color: #FFFFFF;
    background-size:cover !important;
    background-position:right !important;
}
}


/* scale back up to a sane default */
#mw-page-base { background: transparent; }
#globalWrapper {
 
font-size: 127%;
/* Blockquotes */
width: 100%;
blockquote {
margin: 20px 0px;
    border-left: 4px solid #eaecf0;
padding: 0px;
    padding-left: 1em;
}
}
.visualClear {
 
clear: both;
/* Clearfix */
.mw-parser-output {
    overflow: auto;
}
}


/* general styles */
/******************
 
HEADINGS + TOC
 
******************/


table {
#toc {
background: white;
    padding: 7px;
font-size: 100%;
    background-color: #FFFFFF;
color: black;
    border: 1px solid #00000;
    margin: 1.5em 0 1em;
}
}
/***** Internal Links *****/
a {
a {
color: black;
    color:#41726e;  
text-decoration: none;
}
border-bottom:1px dotted;
 
background: none;
a:visited {
    color:#36625f;
}
 
.mw-collapsible-toggle-default .mw-collapsible-text {
    color: #41726e;
}
 
/* Navigation Background */
 
.pBody {
    background: #FFFFFF;
}
 
/******************
PERSONAL MENU
******************/
 
#p-personal {
  color: #000000;
}
 
#p-personal h5 {
  color: #000000;
}
 
#p-personal .portlet {
  color: #000000;
}
 
#p-personal .pBody {
  color: #FFFFFF;
}
 
/* this is the ul contained in the portlet */
 
#p-personal ul {
  color: #000000;
}
 
#p-personal li, li#pt-userpage, li#pt-anonuserpage, li#pt-login {
  color: #000000;
}
 
#p-linkbacks-left {
  color: #000000;
}
 
#p-linkbacks-right {
  color: #000000;
}
 
div.portlet {
  border: #000000;
}
 
div.portlet ul li, div.portlet ul li.selected {
  border: #000000;
}
 
div.portlet ul li span, div.portlet ul li.selected span {
  border: #000000;
}
 
div.portlet li span a {
  color: #000000;
}
 
div.portlet span a:visited {
  color: #000000;
}
 
div.vectorTabs li.selected span a {
  color: #000000 !important;
}
 
div.portlet li.new span a {
  color: #000000;
}
 
div.portlet li.new span a:visited {
  color: #000000;
}
 
div.portlet span a:active {
  background: transparent;
  color: #000000;
}
 
div.portlet h3 {
  color: #000000;
}
 
div.portlet h2 {
  color: #000000;
}
 
#p-cactions {
  color: #000000;
}
 
#p-cactions .hiddenStructure {
  color: #000000;
}
 
#p-cactions {
  color: #000000;
}
}


a img {
#p-cactions ul {
text-decoration: none;
  color: #000000;
background: none;
}
}


a:visited {
#p-cactions li {
color: #333333;
  color: #000000;
text-decoration: none;
border-bottom: 1px dashed #808080
}
}
a:active {
 
color: #black;
#p-cactions li.selected {
text-decoration: none;
  color: #000000;
border-bottom: 1px dashed #808080
}
}
a:hover {
 
color: #black;
#p-cactions li a {
text-decoration: none;
  color: #000000;
border-bottom: 1px solid #808080
}
}
a.stub {
 
color: #black;
#p-cactions li.selected a {
  color: #000000;
}
}
a.new, #p-personal a.new {
 
color: #ba0000;
#p-cactions .new a {
  color: #000000;
}
}
a.new:visited, #p-personal a.new:visited {
 
color: #a55858;
#p-cactions li a:hover {
  color: #000000;
}
}


img {
#p-cactions h5 {
border: none;
  color: #000000;
vertical-align: middle;
}
}
p {
 
margin: .4em 0 .5em 0;
#p-cactions li.istalk {
line-height: 1.5em;
  color: #000000;
}
}
p img {
 
margin: 0;
#p-cactions li.istalk a {
  color: #000000;
}
}


hr {
#p-cactions #ca-addsection a {
height: 1px;
  color: #000000;
color: #8F7058;
background-color: #8F7058;
border: 0;
margin: .2em 0 .2em 0;
clear: both;
}
}


h1, h2, h3, h4, h5, h6 {
/***** External Links *****/
color: black;
a.external.text, a.extiw {
background: none;
    color:#005896 !important;
font-weight: normal;
}
margin: 0;
a.external.text:hover, a.external.text:active, a.extiw:hover, a.extiw:active {
padding-top: .5em;
    color:#005896 !important;
padding-bottom: .17em;
border-bottom: 1px solid #8F7058;
}
}
h1 { font-size: 188%; }
a.external.text:visited, a.extiw:visited {
h2 { font-size: 150%; }
    color:#005896 !important;
h3, h4, h5, h6 {
}
border-bottom: none;
 
font-weight: bold;
/*** Category ***/
.catlinks {
  background: #FFFFFF
}
}
h3 { font-size: 132%; }
h4 { font-size: 116%; }
h5 { font-size: 100%; }
h6 { font-size: 80%;  }


ul {
/*** Headings ***/
line-height: 1.5em;
h1, h2, h3, h4, h5, abbr, acronym, .explain {
list-style-type: square;
  color: #000000;
margin: .3em 0 0 1.5em;
padding: 0;
list-style-image: url(bullet.gif);
}
}
ol {
 
line-height: 1.5em;
/*** Tables ***/
margin: .3em 0 0 3.2em;
.theme-table {
padding: 0;
    background-image:url('https://static.miraheze.org/ranchstorywiki/6/69/Ranchstoryclouds2.gif');
list-style-image: none;
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: #FFFFFF;
    min-height: 100%;
    min-width: 100%;
    background-size:cover !important;
    background-position:right !important;
    overflow: visible;
    border: 1px solid #FFFFFF;
    padding-right:50px;
    padding-left:50px;
    color:#202122;
}
}
li {
 
/*margin-bottom: .1em;*/
/*** Back To Top ***/
 
.BackToTop {
  background-color: #FFFFFF;
  position:fixed;
  border: #000000;
  bottom:32px;
  right:2%;
  z-index:9999;
  padding:0;
  margin:0;
  border: 1px solid #FFFFFF;
  color:blue;
  font-face:sans-serif;
  font-size:8pt;
  padding:0;
  font-weight:bolder;
  border-radius:8px;
}
}
dt {
 
font-weight: bold;
/*** Media Player ***/
margin-bottom: .1em;
#mw-tmh-player {
    display: block;
}
}
dl {
 
margin-top: .2em;
/*** Styles ***/
margin-bottom: .5em;
.infobox {
    background: white;
    border: 1px solid #C0C0C0;
    border-collapse: separate;
    border-radius: 10px;
    font-size: 95%;
    padding-bottom:0.75em;
}
}
dd {
.infobox .info-top {
line-height: 1.5em;
    border-radius: 10px 10px 0 0;
margin-left: 2em;
    text-align: center;
margin-bottom: .1em;
}
}


fieldset {
.infobox .chara-top {
border: 1px solid #2f6fab;
    background:#f7f7f7;
margin: 1em 0 1em 0;
    font-size:125%;
padding: 0 1em 1em;
    padding-bottom: 5px;
line-height: 1.5em;
}
}
legend {
 
background: white;
.infobox .info-disambig {
padding: .5em;
    background: #d9eceb;
font-size: 95%;
    text-align: center;
}
}
form {
 
border: none;
.infobox .info-img {
margin: 0;
    margin: auto;
    max-width:100%;
    padding: 1.25em 1em;
}
}


textarea {
.infobox .info-leftjp {
width: 100%;
    padding: 0 0.75em 0.2em 1.25em;
padding: .1em;
    width: 45%;
    vertical-align: bottom;
}
}


input.historysubmit {
.infobox .info-rightjp {
padding: 0 .3em .3em .3em !important;
    font-size: 110%;
font-size: 94%;
    padding: 0 1.25em 0 0.75em;
cursor: pointer;
    vertical-align: middle;
height: 1.7em !important;
margin-left: 1.6em;
}
}
select {
 
vertical-align: top;
.infobox .info-left {
    padding: 0.25em 0.75em 0.25em 1.25em;
    vertical-align: top;
}
}
abbr, acronym, .explain {
 
border-bottom: 1px dotted black;
.infobox .info-right {
color: black;
    padding: 0.25em 0.75em;
background: none;
    vertical-align: top;
cursor: help;
}
}
q {
 
font-family: Times, "Times New Roman", serif;
.infobox .info-flag {
font-style: italic;
    width:16px;
    padding-right: 0.3em;
    vertical-align: top;
}
}


/* desktop */
@media screen and (min-width: 720px) {
    .infobox {
        float: right;
        margin: 0px 0px 1em 1.5em;
        width:30%;
        max-width: 280px;
        min-width:250px;
    }
}


#siteSub {
/* mobile */
display: none;
@media screen and (max-width: 720px) {
    .infobox {
        float: none;
        margin: auto;
        margin-bottom:  1.5em;
        width: fit-content;
    }
}
}


#jump-to-nav {
/*** Image Resizing ***/
display: none;
.imgwrapper, .imgwrapper-boxart {
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
}
}


#contentSub, #contentSub2 {
.imgwrapper img, .imgwrapper-boxart img {
font-size: 84%;
    width: 100%;
line-height: 1.2em;
    max-width: 100%;
margin: 0 0 1.4em 1em;
    height: auto;
color: #7d7d7d;
    position: relative;
width: auto;
    display: inline-block;
}
}
span.subpages {
 
display: block;
@media screen and (min-width: 720px) {
    .imgwrapper img, .imgwrapper-boxart img {
        max-height: 300px;
    }
    .imgwrapper-boxart img {
        max-height: 350px;
    }
}
}


/* Some space under the headers in the content area */
@media screen and (max-width: 720px) {
#bodyContent h1, #bodyContent h2 {
    .imgwrapper img, .imgwrapper-boxart img {
margin-bottom: .6em;
        max-height: 350px;
    }
    .imgwrapper-boxart img {
        max-height: 400px;
    }
}
}
#bodyContent h3, #bodyContent h4, #bodyContent h5 {
 
margin-bottom: .3em;
/*** Tabber ***/
.infobox .tabber__tabs {
    width: 100%;
    justify-content: space-around;
    text-align: center;
}
}
.firstHeading {
.infobox .tabber__tab {
margin-bottom: .1em;
    justify-content: center;
    flex: 1;
}
}


#catlinks {
.infobox .tabber__panel {
background: #E4EEF6;
    overflow-x: unset;
border: 1px dashed #A28066;
padding: 2px 45px 2px 5px;
margin-bottom: 10px;
margin-top: 1em;
clear: both;
color: black;
}
}

Latest revision as of 14:27, 16 April 2026

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

/******************

MOBILE RESPONSIVE

******************/
/* common breakpoints:
mobile: 320px - 720px (max-width: 720px)
tablet: 720px - 1000px (min-width: 720px, max-width: 1000px)
desktop: 1000px; wide desktop: 1200px; extrawide desktop: 2000px; (min-width: 1000px)
*/

/* desktop */
@media screen and (min-width: 720px) {
    .mobileresponsive, .mobileblock, .mobiletable, .mobilecell {
        display: none;
    }
    .desktopresponsive, .desktopblock {
        display: block;
    }
    .desktoptable {
        display: table;
    }
    .desktopgrid {
        display: grid;
    }
    
    ul {
        margin: 0.1em 0 0 1.2em;
    }
    .eventtable {
        text-align: right;
        margin-right: 10%;
        margin-top: -0.5em;
    }
    .eventdiv {
        margin:0;
        margin-bottom: 1.5em;
    }
}
.home-category > tbody > tr > td {
    padding: 0.7em 1em;
}
.home-section > tbody > tr > td {
    padding: 0.1em 0.3em;
}
.home-section .noicon {
    padding: 0.2em 0.3em;
}

/* mobile */
@media screen and (max-width: 720px) {
    .desktopresponsive, .desktopblock, .desktoptable, .desktopgrid, .desktopcell {
        display: none;
    }
    .mobileresponsive, .mobileblock {
        display: block;
    }
    .mobiletable {
        display: table;
    }
    .mobilecell {
        display: table-cell;
    }

    ul {
        margin: 0.2em 0.5em !important;
        padding-left: 0.4em;
        line-height: 1.4em;
    }

    li {
        margin-bottom: 0.3em;
    }

    blockquote {
        margin-inline-start: 15px;
        margin-inline-end: 15px;
    }

    .eventtable {
        text-align: right;
    }
    .eventdiv {
        margin: 0.3em 0 1.2em 0;
    }
}


/******************

GENERAL

******************/

hr {
    margin: 0.5em;
    height: 0.3px;
    background-color: darkgrey;
    border: inherit;
}

p {
    margin: 0.4em 0 0.7em 0;
}

/* Background */
body.mediawiki {
    background-image: url("https://static.miraheze.org/ranchstorywiki/6/69/Ranchstoryclouds2.gif");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #FFFFFF;
    background-size:cover !important;
    background-position:right !important;
}

#mw-page-base { background: transparent; }

/* Blockquotes */
blockquote {
    border-left: 4px solid #eaecf0;
    padding-left: 1em;
}

/* Clearfix */
.mw-parser-output {
    overflow: auto;
}

/******************

HEADINGS + TOC

******************/

#toc {
    padding: 7px;
    background-color: #FFFFFF;
    border: 1px solid #00000;
    margin: 1.5em 0 1em;
}
 

/***** Internal Links *****/
a {
    color:#41726e; 
}

a:visited {
    color:#36625f;
}

.mw-collapsible-toggle-default .mw-collapsible-text {
    color: #41726e;
}

/* Navigation Background */

.pBody {
    background: #FFFFFF;
}

/******************
 
PERSONAL MENU
 
******************/

#p-personal {
  color: #000000;
}

#p-personal h5 {
  color: #000000;
}

#p-personal .portlet {
  color: #000000;
}

#p-personal .pBody {
  color: #FFFFFF;
}

/* this is the ul contained in the portlet */

#p-personal ul {
  color: #000000;
}

#p-personal li, li#pt-userpage, li#pt-anonuserpage, li#pt-login {
  color: #000000;
}

#p-linkbacks-left {
  color: #000000;
}

#p-linkbacks-right {
  color: #000000;
}

div.portlet {
  border: #000000;
}

div.portlet ul li, div.portlet ul li.selected {
  border: #000000;
}

div.portlet ul li span, div.portlet ul li.selected span {
  border: #000000;
}

div.portlet li span a {
  color: #000000;
}

div.portlet span a:visited {
  color: #000000;
}

div.vectorTabs li.selected span a {
  color: #000000 !important;
}

div.portlet li.new span a {
  color: #000000;
}

div.portlet li.new span a:visited {
  color: #000000;
}

div.portlet span a:active {
  background: transparent;
  color: #000000;
}

div.portlet h3 {
  color: #000000;
}

div.portlet h2 {
  color: #000000;
}

#p-cactions {
  color: #000000;
}

#p-cactions .hiddenStructure {
  color: #000000;
}

#p-cactions {
  color: #000000;
}

#p-cactions ul {
  color: #000000;
}

#p-cactions li {
  color: #000000;
}

#p-cactions li.selected {
  color: #000000;
}

#p-cactions li a {
  color: #000000;
}

#p-cactions li.selected a {
  color: #000000;
}

#p-cactions .new a {
  color: #000000;
}

#p-cactions li a:hover {
  color: #000000;
}

#p-cactions h5 {
  color: #000000;
}

#p-cactions li.istalk {
  color: #000000;
}

#p-cactions li.istalk a {
  color: #000000;
}

#p-cactions #ca-addsection a {
  color: #000000;
}

/***** External Links *****/
a.external.text, a.extiw {
    color:#005896 !important;
}
a.external.text:hover, a.external.text:active, a.extiw:hover, a.extiw:active {
    color:#005896 !important;
}
a.external.text:visited, a.extiw:visited {
    color:#005896 !important;
}

/*** Category ***/
 
.catlinks {
   background: #FFFFFF
}

/*** Headings ***/
h1, h2, h3, h4, h5, abbr, acronym, .explain {
   color: #000000;
}

/*** Tables ***/
.theme-table {
    background-image:url('https://static.miraheze.org/ranchstorywiki/6/69/Ranchstoryclouds2.gif');
    background-repeat: repeat;
    background-attachment: fixed;
    background-color: #FFFFFF;
    min-height: 100%;
    min-width: 100%;
    background-size:cover !important;
    background-position:right !important;
    overflow: visible;
    border: 1px solid #FFFFFF;
    padding-right:50px;
    padding-left:50px;
    color:#202122;
}

/*** Back To Top ***/

.BackToTop {
  background-color: #FFFFFF;
  position:fixed;
  border: #000000;
  bottom:32px;
  right:2%;
  z-index:9999;
  padding:0;
  margin:0;
  border: 1px solid #FFFFFF;
  color:blue;
  font-face:sans-serif;
  font-size:8pt;
  padding:0;
  font-weight:bolder;
  border-radius:8px;
}

/*** Media Player ***/
#mw-tmh-player {
    display: block;
}

/*** Styles ***/
.infobox {
    background: white;
    border: 1px solid #C0C0C0;
    border-collapse: separate;
    border-radius: 10px;
    font-size: 95%;
    padding-bottom:0.75em;
}
.infobox .info-top {
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.infobox .chara-top {
    background:#f7f7f7;
    font-size:125%;
    padding-bottom: 5px;
}

.infobox .info-disambig {
    background: #d9eceb;
    text-align: center;
}

.infobox .info-img {
    margin: auto;
    max-width:100%;
    padding: 1.25em 1em;
}

.infobox .info-leftjp {
    padding: 0 0.75em 0.2em 1.25em;
    width: 45%;
    vertical-align: bottom;
}

.infobox .info-rightjp {
    font-size: 110%;
    padding: 0 1.25em 0 0.75em;
    vertical-align: middle;
}

.infobox .info-left {
    padding: 0.25em 0.75em 0.25em 1.25em;
    vertical-align: top;
}

.infobox .info-right {
    padding: 0.25em 0.75em;
    vertical-align: top;
}

.infobox .info-flag {
    width:16px;
    padding-right: 0.3em;
    vertical-align: top;
}

/* desktop */
@media screen and (min-width: 720px) {
    .infobox {
        float: right;
        margin: 0px 0px 1em 1.5em;
        width:30%;
        max-width: 280px;
        min-width:250px;
    }
}

/* mobile */
@media screen and (max-width: 720px) {
    .infobox {
        float: none;
        margin: auto;
        margin-bottom:  1.5em;
        width: fit-content;
    }
}

/*** Image Resizing ***/
.imgwrapper, .imgwrapper-boxart {
    position: relative;
    margin: auto;
    width: 100%;
    height: 100%;
}

.imgwrapper img, .imgwrapper-boxart img {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
}

@media screen and (min-width: 720px) {
    .imgwrapper img, .imgwrapper-boxart img {
        max-height: 300px;
    }
    .imgwrapper-boxart img {
        max-height: 350px;
    }
}

@media screen and (max-width: 720px) {
    .imgwrapper img, .imgwrapper-boxart img {
        max-height: 350px;
    }
    .imgwrapper-boxart img {
        max-height: 400px;
    }
}

/*** Tabber ***/
.infobox .tabber__tabs {
    width: 100%;
    justify-content: space-around;
    text-align: center;
}
.infobox .tabber__tab {
    justify-content: center;
    flex: 1;
}

.infobox .tabber__panel {
    overflow-x: unset;
}