MediaWiki:Common.css: Difference between revisions
From VRChat Wiki
No edit summary |
(added community and official themes for infoboxes) |
||
Line 28: | Line 28: | ||
background-color: #067d4f; | background-color: #067d4f; | ||
color: #e5f5bf; | color: #e5f5bf; | ||
margin-bottom: 0.5em; | |||
margin-left: 1em; | |||
padding: 0.2em; | |||
float: right; | |||
clear: right; | |||
} | |||
.pi-theme-official { | |||
--pi-secondary-background:#216aad; | |||
border: 1px solid #166bcd; | |||
border-radius: 10px; | |||
background-color: #064987; | |||
color: #f7f6a3; | |||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
margin-left: 1em; | margin-left: 1em; |
Revision as of 08:27, 22 June 2024
/* CSS placed here will be applied to all skins */
/* T-style like css*/
@import url("/index.php?title=Template:Infobox/styles.css&action=raw&ctype=text/css");
/* Portable Infobox tweaks */
.portable-infobox {
--pi-background:#303030;
--pi-secondary-background:#272735;
--pi-border-color:#a2a9b1;
--pi-item-spacing:5px 10px;
--pi-margin:15px;
--pi-width:270px;
border-radius: 10px;
background:#303035;
clear:right;
float:right;
font-size:.85em;
margin:0 0 15px 15px;
width:270px;
}
.pi-theme-community {
--pi-secondary-background:#43b086;
border: 1px solid #b8ffdb;
border-radius: 10px;
background-color: #067d4f;
color: #e5f5bf;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.pi-theme-official {
--pi-secondary-background:#216aad;
border: 1px solid #166bcd;
border-radius: 10px;
background-color: #064987;
color: #f7f6a3;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.portable-infobox .pi-data-value > :not(ul) {
margin:.5em 0;
}