MediaWiki:Common.css

MediaWiki interface page

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.
@font-face {
    font-family: 'Cinzel';
    src: url('/fonts/Cinzel/Cinzel-Bold.ttf'), url('/fonts/Cinzel/Cinzel-Bold.woff2')
}

#ca-talk { display: none !important; }
#siteSub{ display: none !important; }

.module-clickable-button-3 a {
    background-color: #f9f9f9;
    border-color: #aaaaaa;
    color: #222222;
    display: inline-block;
    box-sizing: border-box;
    margin: 0;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    vertical-align: middle;
    font-family: inherit;
    font-size: 1em;
    font-weight: bold;
    line-height: 1.28571429em;
    text-align: center;
    background-image: none;
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: 100ms;
    min-height: 32px;
    min-width: 4em;
    max-width: 28.75em;
    padding: 5px 12px;
    text-decoration: none;
}
.module-clickable-button-3 a:visited {
    color: #222222;
}
.module-clickable-button-3 a:hover {
    background-color: #ffffff;
    color: #444444;
    cursor: pointer;
}
.module-clickable-button-3 a:focus {
    color: #222222;
    border-color: #0645ad;
    box-shadow: inset 0 0 0 1px #0645ad;
    outline: 1px solid transparent;
}
.module-clickable-button-3 a:active {
    background-color: #eeeeee;
    color: #000000;
    border-color: #767676;
    box-shadow: none;
}
.module-clickable-button-3 a:hover {
    background-color: #ffffff;
    color: #444444;
}
.module-clickable-button-3 a:focus {
    color: #222222;
    border-color: #0645ad;
    box-shadow: inset 0 0 0 1px #0645ad;
    outline: 1px solid transparent;
}
.module-clickable-button-3 a:active {
    background-color: #eeeeee;
    color: #000000;
    border-color: #767676;
    box-shadow: none;
}
.module-clickable-button-3.module-clickable-button-quiet a,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-progressive a,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-destructive a {
    background-color: transparent;
    color: #222222;
    border-color: transparent;
    font-weight: bold;
}
.module-clickable-button-3.module-clickable-button-quiet a:hover,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-progressive a:hover,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-destructive a:hover {
    background-color: rgba(0, 24, 73, 0.027);
    color: #222222;
}
.module-clickable-button-3.module-clickable-button-quiet a:focus,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-progressive a:focus,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-destructive a:focus {
    color: #222222;
    border-color: #0645ad;
    box-shadow: inset 0 0 0 1px #0645ad;
}
.module-clickable-button-3.module-clickable-button-quiet a:active,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-progressive a:active,
.module-clickable-button-3.module-clickable-button-quiet.module-clickable-button-destructive a:active {
    background-color: rgba(0, 24, 73, 0.082);
    color: #000000;
    border-color: #767676;
    box-shadow: none;
}
.module-clickable-button-3.module-clickable-button-progressive a {
    background-color: #0645ad;
    color: #ffffff;
    border-color: #0645ad;
}
.module-clickable-button-3.module-clickable-button-progressive a:hover {
    background-color: #447ff5;
    border-color: #447ff5;
}
.module-clickable-button-3.module-clickable-button-progressive a:focus {
    box-shadow: inset 0 0 0 1px #0645ad, inset 0 0 0 2px #ffffff;
}
.module-clickable-button-3.module-clickable-button-progressive a:active {
    background-color: #2a4b8d;
    border-color: #2a4b8d;
    box-shadow: none;
}
.module-clickable-button-3.module-clickable-button-progressive.module-clickable-button-quiet a {
    background-color: rgba(255, 255, 255, 0);
    color: #0645ad;
    border-color: transparent;
}
.module-clickable-button-3.module-clickable-button-progressive.module-clickable-button-quiet a:hover {
    background-color: rgba(52, 123, 255, 0.2);
    color: #447ff5;
    border-color: transparent;
}
.module-clickable-button-3.module-clickable-button-progressive.module-clickable-button-quiet a:focus {
    color: #0645ad;
    border-color: #0645ad;
}
.module-clickable-button-3.module-clickable-button-progressive.module-clickable-button-quiet a:active {
    color: #ffffff;
    background-color: #2a4b8d;
    border-color: #2a4b8d;
}
.module-clickable-button-3.module-clickable-button-destructive a {
    background-color: #dd0033;
    color: #ffffff;
    border-color: #dd0033;
}
.module-clickable-button-3.module-clickable-button-destructive a:hover {
    background-color: #ff4242;
    border-color: #ff4242;
}
.module-clickable-button-3.module-clickable-button-destructive a:focus {
    box-shadow: inset 0 0 0 1px #dd0033, inset 0 0 0 2px #ffffff;
}
.module-clickable-button-3.module-clickable-button-destructive a:active {
    background-color: #b32424;
    border-color: #b32424;
    box-shadow: none;
}
.module-clickable-button-3.module-clickable-button-destructive.module-clickable-button-quiet a {
    color: #dd0033;
    background-color: rgba(255, 255, 255, 0);
    border-color: transparent;
}
.module-clickable-button-3.module-clickable-button-destructive.module-clickable-button-quiet a:hover {
    background-color: #ff4242;
    border-color: transparent;
    color: #ff4242;
}
.module-clickable-button-3.module-clickable-button-destructive.module-clickable-button-quiet a:focus {
    color: #dd0033;
    border-color: #dd0033;
}
.module-clickable-button-3.module-clickable-button-destructive.module-clickable-button-quiet a:active {
    color: #ffffff;
    background-color: #b32424;
    border-color: #b32424;
}


@media screen and (max-width: 640px) {
    body {
        background:var(--color-surface-2);
        background-image: none;
    }
    .skin-citizen h1{
    	font-size: 1.5em;
    }
}

@media screen and (min-width:640px) {
    body {
        background-color: var(--color-surface-2);
        background-image: url(/images/meta_twiki/WanderingInn_FINAL01-top.jpg);
        background-position-x: center;
        background-position-y: center;
        background-size: cover;
        background-attachment: fixed;
        background-repeat: no-repeat
    }
    .skin-citizen h1{
	    font-size: 3em;
	    padding-bottom: 0.25em;
	    font-weight:600;
    }
}

/* Interim Infobox */

.infobox {
	color: var(--color-base);
	border: 2px solid var(--h1-underline-color);
}

@media screen and (min-width:640px){
	.infobox{
		float: right;
		width: 270px;
		margin-top: 1em !important;
		margin-left: 1em !important;
		margin-bottom: 1em !important;
		margin-right:0 !important;
	}	
}

@media screen and (max-width:640px){
	.infobox{
		width:100%;
		margin-top: 1em !important;
		margin-left: 0 !important;
		margin-bottom: 1em !important;
		margin-right:0 !important;
	}
}

.infobox ul{ /* Make listed items closer together in Infoboxes*/
   margin:0 0 0 var(--space-lg); 
}

.infobox-title {
    font-size: 1.5em;
    color: black;
    background-color: #f7a71b;
    text-align: center;
}

.infobox-image{
	text-align: center; /*Align images, for those smaller images.*/
}

.infobox-image > a > img {
    max-width: 100%;
    height: auto;
}

.infobox-image img{
	text-align: center;
	width:100%;
	height:auto;
}

.infobox-caption{
	text-align: center;
	border-top: transparent;
}

/* removes border after caption Update: Added caption border back,
.infobox-caption+.infobox-row { 
    border-top: 0;
}
*/
.infobox-row {
    display: flex;
    flex-direction: row;
    border-top: 1px solid var(--h1-underline-color);
}

.infobox-row-label {
    text-align: center;
    padding: 0.25rem;
    flex-basis: 90px;
    font-size: 0.75rem;
    align-self: center
}

.infobox-row-content {
    text-align: left;
    padding: 0.25rem .25rem;
    flex-basis: 180px;
    font-size: 0.75rem;
    line-height: 1.3;
    --space-md: 0;
    align-self: center
}


.infobox-horizontal-group{
	text-align: center;
	width: 100%;
	border-spacing: 0;
	table-layout: fixed;
}

.infobox-horizontal-caption{
	text-align: center;
	background: var(--flourish-gold);
	color: black;
	font-size: 1.5em;
}

.infobox-horizontal-group th { /* Borders between horizontal groups */
    border-top: 1px solid var(--h1-underline-color);
}

/* ======================= */
/* Visual Editor overrides */
/* ======================= */

.ve-init-mw-desktopArticleTarget #bodyContent {
    z-index: 0;
}

/* ======================= */
/* Source Editor overrides
/* ======================= */
/* Fix toolbar icon alignment */
#wikiEditor-section-main .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
    left: 0.392857145em !important;
}
/* Increase gaps between toolbar buttons */
#wikiEditor-section-main .tool > .oo-ui-buttonElement-button {
    margin: 0.15em;
}


/*InputBox Create New Page styles*/
.mw-inputbox-createbox:required:invalid ~ .mw-ui-button {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    cursor: default;
}

/* Chapter List template grid layout styles since the TemplateStyle
extension doesn't allow some css-grid options */
.chapter-list-container [data-book-id] > pre {
	margin: 0;
    border-radius: 0;
    padding: 0.25rem 0 0.25rem 0;
}

.chapter-list-container {
    padding: 0.1rem 0.75rem 0.1rem 0.75rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(8rem, 200px), 1fr));

}

/*Increase font size for text hidden by collapsible wikitable(often used in our History/Chronology sections*/
table.mw-collapsible.fandom-table.mw-made-collapsible td{
    font-size:0.9em
}