MediaWiki:Common.css
From The Maceys in California
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Added for Interactive Check box */
.listCheckbox {
cursor: pointer;
color: #FFFFFF;
border-radius: 50%;
height: 1.8rem;
width: 1.8rem;
line-height: 1.8rem;
text-align: center;
font-size: 1.5rem;
border: 1px solid #00AA00;
display: inline-block;
}
@keyframes checkAnimation {
0% {
transform: rotate(-30deg);
background-color: rgba(1, 1, 1, 0);
color: rgba(1, 1, 1, 0);
}
100% {
background-color: #00AA00;
color: #FFFFFF;
}
}
.listCheckboxUnchecked {
background-color: rgba(1, 1, 1, 0);
color: rgba(0, 0, 0, 0);
}
.listCheckboxChecked {
animation: checkAnimation 0.5s;
background-color: #00AA00;
color: #FFFFFF;
}
/* For the Note class */
.Alp-Note a { text-decoration: underline; }
/* Simple float the TOC to the right */
/*#toc {float:right;margin:0 0 1em 1em;position:fixed;top:150px;right:10px;}*/
/* This small CSS code shows redirects and desambiguation pages with a color code. */
.mw-disambig {
background-color:#AFEEEE;
}
.mw-redirect {
background-color:wheat;
}
/* CSS Typing Text
*
* @author: Unknown
* current version crafted together by [[User:Christharp]].
*
* <div class="typing">Welcome to Wikipedia, the free encyclopedia that anyone can edit.</div>
*/
.typing{
margin: 10px 0 0 10px;
width: 1000px;
white-space:nowrap;
overflow:hidden;
animation: type 18s steps(100, end);
}
@keyframes type{
from { width: 0; }
}
#toc {
position: fixed;
right: 0;
top: 7em; /* 5em is height of header, 6em brings just under */
/* bottom: 5em; /* 5em puts us above the footer; not bad but too low when TOC is collapsed */
z-index: 10000; /* Ensure we float above the header, etc. */
/* Add opacity (translucency) */
background-color: rgb(249, 249, 249);
background-color: rgba(249, 249, 249, 0.9); /* Higher opacity (last arg) means less transparency */
}
/* Ensure the TOC height doesn't take over the screen; percentages may be higher than view port, so we use pixels */
#toc > ul {
max-height: 350px;
overflow: auto;
}
.toctoggle {
float: right;
}
