Difference between revisions of "MediaWiki:Timeless.css"

From Animal Crossing Mods Wiki
(changing personal ul interface + adding active settings)
(adjusting skin to be akin to the Vector skin)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Timeless skin */
/* All CSS here will be loaded for users of the Timeless skin */
/* Body changes */
#mw-content-container {
    border-bottom: solid 4px #9e8364;
    background: url(https://acmods.org/images/7/7e/ACMods_Background.png);
    font-family: 'Open Sans',sans-serif !important;
    background-size: 350px;
}
#mw-content {
    padding: 1em 2em 3em;
    background-color: #ECE6CC;
    margin-top: -1px;
    border: none;
        border-right-width: medium;
    border-right-width: 0;
    box-shadow: 0 0.22em 0.9em 0.1em #805216;
    border-radius: 2em;
}
/* Header changes */
/* Header changes */
.mw-body h1.firstHeading {
.mw-body h1.firstHeading {
     margin: 0.25em 0 0.5em;
     margin: 0.25em 0 0.5em;
     border-bottom: solid 4px #bfa398;
     border-bottom: 2px dashed #805216;
     font-family: 'Varela Round', sans-serif;
     font-family: 'Varela Round',sans-serif;
     font-size: 1.8em;
     font-size: 1.8em;
    color: #805216;
}
.mw-body h2 {
    font-family: 'Open Sans',sans-serif;
    line-height: 1.125;
}
.mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
    font-weight: bold;
    font-family: 'Open Sans',sans-serif;
    line-height: 1.125;
}
}
#mw-header-container {
#mw-header-container {
Line 41: Line 69:
#mw-site-navigation .sidebar-chunk li, #mw-related-navigation .sidebar-chunk .mw-portlet-body li, #p-personal .mw-portlet-body li {
#mw-site-navigation .sidebar-chunk li, #mw-related-navigation .sidebar-chunk .mw-portlet-body li, #p-personal .mw-portlet-body li {
padding: 0.25em 0;
padding: 0.25em 0;
background-color: #bfb3a1;
background-color: #DAC783;
border-radius: 10em;
border-radius: 10em;
margin-bottom: 5px;
margin-bottom: 5px;
Line 47: Line 75:
}
}
#mw-site-navigation .sidebar-chunk li:hover, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:hover, #p-personal .mw-portlet-body li:hover {
#mw-site-navigation .sidebar-chunk li:hover, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:hover, #p-personal .mw-portlet-body li:hover {
     background: #dfdac0;
     background: #FFF1C3;
     transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
     transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
}
#mw-site-navigation .sidebar-chunk li:active, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:active, #p-personal .mw-portlet-body li:active {
#mw-site-navigation .sidebar-chunk li:active, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:active, #p-personal .mw-portlet-body li:active {
     background: #ccc7af;
     background: #B3A163;
     transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
     transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
}
Line 57: Line 85:
   font-weight:normal;
   font-weight:normal;
   font-size:1em;
   font-size:1em;
   background-color: rgba(101, 90, 75, 0.6);
   background-color: #805216;
   justify-content: center;
   justify-content: center;
   display: flex;
   display: flex;

Revision as of 05:36, 20 September 2021

/* All CSS here will be loaded for users of the Timeless skin */
/* Body changes */
#mw-content-container {
    border-bottom: solid 4px #9e8364;
    background: url(https://acmods.org/images/7/7e/ACMods_Background.png);
    font-family: 'Open Sans',sans-serif !important;
    background-size: 350px;
}
#mw-content {
    padding: 1em 2em 3em;
    background-color: #ECE6CC;
    margin-top: -1px;
    border: none;
        border-right-width: medium;
    border-right-width: 0;
    box-shadow: 0 0.22em 0.9em 0.1em #805216;
    border-radius: 2em;
}

/* Header changes */
.mw-body h1.firstHeading {
    margin: 0.25em 0 0.5em;
    border-bottom: 2px dashed #805216;
    font-family: 'Varela Round',sans-serif;
    font-size: 1.8em;
    color: #805216;
}
.mw-body h2 {
    font-family: 'Open Sans',sans-serif;
    line-height: 1.125;
}
.mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
    font-weight: bold;
    font-family: 'Open Sans',sans-serif;
    line-height: 1.125;
}
#mw-header-container {
    background: #93ceae;
}
.color-middle, .color-left, .color-right {
	background-color: #beffdc !important;
}
/* Sidebar changes */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
 background:#fff1d7;
 color:#524434;
 display: contents;
}
#mw-site-navigation .sidebar-chunk ul, #mw-site-navigation .sidebar-chunk li, #mw-related-navigation .sidebar-chunk ul, #mw-related-navigation .sidebar-chunk li, #p-personal .mw-portlet-body li {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    width: 12em;
}
.mw-portlet-body a {
  text-align: center;
  padding: 0.25em 0;
  display: block;
  color: #000;
  cursor: pointer !important;
  font-family: 'Varela Round', sans-serif;
}
#personal .dropdown {
    border:none !important;
    border-radius: 2em;
    background-color: #d8ccb6;
}
#mw-site-navigation .sidebar-chunk li, #mw-related-navigation .sidebar-chunk .mw-portlet-body li, #p-personal .mw-portlet-body li {
	padding: 0.25em 0;
	background-color: #DAC783;
	border-radius: 10em;
	margin-bottom: 5px;
	box-shadow: rgb(162, 144, 115) 0px 3px 0px 0px;
}
#mw-site-navigation .sidebar-chunk li:hover, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:hover, #p-personal .mw-portlet-body li:hover {
    background: #FFF1C3;
    transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
#mw-site-navigation .sidebar-chunk li:active, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:active, #p-personal .mw-portlet-body li:active {
    background: #B3A163;
    transition: background-color 0.3s cubic-bezier(0.25,0.8,0.5,1),opacity 0.4s cubic-bezier(0.25,0.8,0.5,1);
}
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
  font-weight:normal;
  font-size:1em;
  background-color: #805216;
  justify-content: center;
  display: flex;
  padding: 0.5em 0;
  text-align: center;
  transition: color 0.3s,background-color 0.3s;
  box-sizing: inherit;
  color: #fff !important;
  margin: 0;
  border-radius: 10em;
  font-family: 'Varela Round', sans-serif;
  margin-top:1em;
  box-shadow: rgb(106, 99, 87) 0px 3px 0px 0px;
  margin-bottom: 5px;
  border-bottom: none;
}

/* Mobile sidebar */
@media screen and (max-width:850px) {
	.sidebar-inner, .dropdown {
    	border-width: 1px 1px 0.2em;
    	line-height: 0.5;
    	word-wrap: break-word;
    	font-size: 0.95em;
    	background: #ddd8c4;
    	box-shadow: 0 2px 3px 1px rgba(0,0,0,0.05);
    	position: absolute;
    	padding: 2em 2.5em 1em;
    	min-width: 9.153em;
    	max-width: 80%;
    	top: 3.25em;
    	right: 0;
    	overflow: visible;
    	z-index: 100;
    	border-radius: 1em;
    	margin: auto;
		left: 0px;
		right: 0px;
		width: 100%;
	}
	#mw-site-navigation .sidebar-chunk ul, #mw-site-navigation .sidebar-chunk li, #mw-related-navigation .sidebar-chunk ul, #mw-related-navigation .sidebar-chunk li, #p-personal .mw-portlet-body li {
    	list-style: none;
    	margin: 0 auto;
		width: auto;
		padding: 0.5em 0;
		width: auto;
		margin-bottom: 5px;
	}
/* Make the buttons a bit bigger on mobile */
	.sidebar-inner li, .dropdown li {
		font-size: 20px;
	}
	#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
    	font-size: 2em;
	}
}