Difference between revisions of "MediaWiki:Timeless.css"
From Animal Crossing Mods Wiki
PanchamBro (talk | contribs) (changing colors + merging css styles) |
PanchamBro (talk | contribs) (changing sidebar and header) |
||
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 */ | ||
/* 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 */ | /* Sidebar changes */ | ||
#mw-site-navigation .sidebar-chunk, | #mw-site-navigation .sidebar-chunk, | ||
Line 13: | Line 20: | ||
color: #000; | color: #000; | ||
cursor: pointer !important; | cursor: pointer !important; | ||
font-family: 'Varela Round', sans-serif; | |||
} | } | ||
#mw-site-navigation .sidebar-chunk li:hover, .mw-portlet-body li:hover { | #mw-site-navigation .sidebar-chunk li:hover, #mw-related-navigation .sidebar-chunk .mw-portlet-body li:hover { | ||
background: #c1bb9e; | 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); | 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 34: | Line 42: | ||
font-family: 'Varela Round', sans-serif; | font-family: 'Varela Round', sans-serif; | ||
} | } | ||
.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; | |||
} |
Revision as of 21:21, 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;
}
.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;
}