MediaWiki:Timeless.css: Difference between revisions

From Vintage Story Wiki
No edit summary
(Moved right column to left side of the page)
 
Line 8: Line 8:
@media only screen and (max-width: 1500px) {
@media only screen and (max-width: 1500px) {
.newsimage { display: none; }
.newsimage { display: none; }
}
/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  display: inline-block;
  }
}
}



Latest revision as of 14:34, 10 October 2022

/* All CSS here will be loaded for users of the Timeless skin */

#mw-content-block {
  /*display: block;
  clear: none;*/
}

@media only screen and (max-width: 1500px) {
	.newsimage { display: none; }
}

/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
  .mw-wiki-logo {
  	display: inline-block;
  }
}

.mw_metadata > tr > th, .mw-datatable > tr > th, .wikitable > tr > th, .mw_metadata > tr > td, .mw-datatable > tr > td, .wikitable > tr > td, .mw_metadata > * > tr > th, .mw-datatable > * > tr > th, .wikitable > * > tr > th, .mw_metadata > * > tr > td, .mw-datatable > * > tr > td, .wikitable > * > tr > td {
  padding: 0.2em 0.5em;
}

p {
  margin: 0.4em 0;
}

#mw-header-container {
  color: #eee;
}

.mw-body .mw-parser-output h1::after, .mw-body .mw-parser-output h2::after {
    border-bottom: solid 2px rgba(0,0,0,0.2);
}

.thumbinner {
  border-color: rgba(0,0,0,0.1);
}

.mw-collapsible-toggle.mw-collapsible-toggle-default.mw-collapsible-toggle-collapsed {
	margin-left:5px;
}

.mw-body dd {
  margin-bottom: 0em;
}

pre {
	border: 1px solid #9cbd86;
	background-color: rgba(183, 255, 55, 0.1);
}

.wikitable > tr > th, .wikitable > * > tr > th, .mw-pt-languages, .mw-pt-languages-label, ul#filetoc, .toc, .toccolours, .mw-warning, .thumbinner {
  background: rgba(255,255,255,0.6);
}


.ts-inner {
	max-width:150em;
}


.color-bar .color-middle, .color-left, .color-right{
	background-color: #997437;
}

#mw-header-container {
	background: #607039;
}

#p-logo-text a {
	color: #eee;
}

/* Fix to not have the search button overlap the border */
#searchButton, #mw-searchButton {
	height: 100%; 
}

#personal h2 {
	padding: 0.3em 0 0 25px;
}

#mw-content-container {
	background: none;
	border-bottom: none;
}

#mw-content {
	border: none;
	background-color: #fff1d2;
	padding: 1.5em;	
	margin-top: 20px;
}

.mw-body h1.firstHeading {
	margin: 0 0 0.5em;
}


@media screen and (min-width: 851px) and (max-width: 1099px) {
	#mw-header-nav-hack {
		background-color: #fffaf2;
	}
}

@media screen and (min-width: 1100px) {
	#mw-site-navigation,
	#mw-related-navigation {
		width: 13em;
		flex: 0 0 13em;
	}
	
	#mw-site-navigation .sidebar-chunk,
	#mw-related-navigation .sidebar-chunk {
		border: 0px;
		border-radius: 0px;
		background-color: #f8ebcc;
		padding: 0.5em;	
		margin: 0.5em;
		margin-top:20px;
	}
	.mw-portlet-body {
		margin-bottom: 0 !important;
	}
	#mw-site-navigation .sidebar-chunk h3,
	#mw-related-navigation .sidebar-chunk h3 {
		border-bottom: inset 2px #4f2c14;
	}
}


#p-navigation, #p-tb, .mw-body, #p-personal {
	background: none;
}

.mw-body {
	background: none;
}

.mw-body h1.firstHeading {
	border-bottom-color: #95a65d;
}

.tools-inline li.selected {
	border-bottom-color: #95a65d;
}

#mw-footer-container {
	box-shadow: none;
	border-top: none;
}