Module:Infobox/styles.css: Difference between revisions

From Soyjak Wiki, The Free Soycyclopedia
Jump to navigationJump to search
No edit summary
(Undo revision 33281 by Coalerald (talk))
Tag: Undo
 
Line 1: Line 1:
@keyframes rainbow{
/* {{pp|small=y}} */
100%,0%{
/*
background-color: rgb(255,0,0);
* This TemplateStyles sheet deliberately does NOT include the full set of
}
* infobox styles. We are still working to migrate all of the manual
8%{
* infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
background-color: rgb(255,127,0);
* DO NOT ADD THEM HERE
}
*/
16%{
/*
background-color: rgb(255,255,0);
* not strictly certain these styles are necessary since the modules now
}
* exclusively output infobox-subbox or infobox, not both
25%{
* just replicating the module faithfully
background-color: rgb(127,255,0);
*/
}
.infobox-subbox {
33%{
padding: 0;
background-color: rgb(0,255,0);
border: none;
}
margin: -3px;
41%{
width: auto;
background-color: rgb(0,255,127);
min-width: 100%;
}
font-size: 100%;
50%{
clear: none;
background-color: rgb(0,255,255);
float: none;
}
background-color: transparent;
58%{
background-color: rgb(0,127,255);
}
66%{
background-color: rgb(0,0,255);
}
75%{
background-color: rgb(127,0,255);
}
83%{
background-color: rgb(255,0,255);
}
91%{
background-color: rgb(255,0,127);
}
}
}


* {
.infobox-3cols-child {
    animation: rainbow 0.1s infinite linear !important;
margin: auto;
    box-shadow: 0 10px 100px black;
}
}
@keyframes spin {
 
from {
.infobox .navbar {
transform: rotate(0deg);
font-size: 100%;
}
to {
transform: rotate(360deg);
}
}
}
body {
 
animation: spin 0.2s infinite linear !important;
/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva  .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva  .infobox-image,
body.skin-minerva  .infobox-full-data,
body.skin-minerva .infobox-below {
text-align: center;
}
}

Latest revision as of 09:10, 8 April 2023

/* {{pp|small=y}} */
/*
 * This TemplateStyles sheet deliberately does NOT include the full set of
 * infobox styles. We are still working to migrate all of the manual
 * infoboxes. See [[MediaWiki talk:Common.css/to do#Infobox]]
 * DO NOT ADD THEM HERE
 */
/*
 * not strictly certain these styles are necessary since the modules now
 * exclusively output infobox-subbox or infobox, not both
 * just replicating the module faithfully
 */
.infobox-subbox {
	padding: 0;
	border: none;
	margin: -3px;
	width: auto;
	min-width: 100%;
	font-size: 100%;
	clear: none;
	float: none;
	background-color: transparent;
}

.infobox-3cols-child {
	margin: auto;
}

.infobox .navbar {
	font-size: 100%;
}

/* T281642 */
body.skin-minerva .infobox-header,
body.skin-minerva .infobox-subheader,
body.skin-minerva  .infobox-above,
body.skin-minerva .infobox-title,
body.skin-minerva  .infobox-image,
body.skin-minerva  .infobox-full-data,
body.skin-minerva .infobox-below {
	text-align: center;
}