Difference between revisions of "MediaWiki:Timeless.css"

From Animal Crossing Mods Wiki
Line 75: Line 75:
    margin: auto;
    margin: auto;
    left: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
}
}
}
}

Revision as of 23:09, 12 September 2021

/* All CSS here will be loaded for users of the Timeless skin */
/* Header changes */
.mw-body h1.firstHeading {
    margin: 0.25em 0 0.5em;
    border-bottom: solid 4px #bfa398;
    font-family: 'Varela Round', sans-serif;
    font-size: 1.8em;
}
/* Sidebar changes */
#mw-site-navigation .sidebar-chunk,
#mw-related-navigation .sidebar-chunk {
 background:#fff1d7;
 color:#524434;
 display: contents;
}
.mw-portlet-body a {
  text-align: center;
  padding: 0.25em 0;
  display: block;
  color: #000;
  cursor: pointer !important;
  font-family: 'Varela Round', sans-serif;
}
#mw-site-navigation .sidebar-chunk li:hover, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:hover {
    background: #c1bb9e;
    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);
    border-radius: 10em;
}
#mw-site-navigation .sidebar-chunk h3, #mw-related-navigation .sidebar-chunk h3 {
  font-weight:normal;
  font-size:1em;
  background-color: rgba(101, 90, 75, 0.6);
  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;
 }
 @media screen and (max-width:850px) {
.sidebar-inner, .dropdown {
    display: none;
    background: #f8f9fa;
    border-width: 1px 1px 0.2em;
    padding: 1.25em 1.75em;
    box-shadow: 0 1px 2px 1px rgba(0,0,0,0.02);
    padding: 1.5em 1.5em 0;
    margin: 1em 0;
    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;
    margin: 0;
    min-width: 9.153em;
    max-width: 80%;
    top: 3.25em;
    right: 0;
    overflow: visible;
    z-index: 100;
    border-radius: 1em;
}
}

/* Full width sidebar on mobile */
@media screen and (max-width: 850px) {
	#site-navigation .sidebar-inner {
	    margin: auto;
	    left: 0px;
	    right: 0px;
	    width: 100%;
	}
}