MediaWiki:Vector.css: Difference between revisions
From Screamer Wiki
Tags: Replaced Rollback |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will affect users of the Vector skin */ | /* CSS placed here will affect users of the Vector skin */ | ||
.portable-infobox { | |||
background-color: #FFFFFF; | |||
border: 2px solid #000000; | |||
border-radius: 5px; | |||
box-shadow: 0 1px 2px rgba(0,0,0,0.15); | |||
margin: 10px; | |||
padding: 10px; | |||
width: 300px; | |||
} | |||
.portable-infobox .pi-title { | |||
color: #FFFFFF; | |||
background-color: #B71C1C; | |||
font-size: 24px; | |||
font-weight: bold; | |||
margin-bottom: 10px; | |||
padding: 5px 10px; | |||
text-align: center; | |||
} | |||
.portable-infobox .pi-header { | |||
color: #B71C1C; | |||
font-size: 16px; | |||
font-weight: bold; | |||
margin-bottom: 5px; | |||
} | |||
.portable-infobox .pi-data { | |||
margin-bottom: 10px; | |||
} | |||
.portable-infobox .pi-image { | |||
display: block; | |||
margin: 0 auto; | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
.portable-infobox .pi-data-value a { | |||
color: #0645ad; | |||
text-decoration: none; | |||
} | |||
.portable-infobox .pi-data-value a:hover { | |||
text-decoration: underline; | |||
} |
Revision as of 05:11, 6 April 2023
/* CSS placed here will affect users of the Vector skin */
.portable-infobox {
background-color: #FFFFFF;
border: 2px solid #000000;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0,0,0,0.15);
margin: 10px;
padding: 10px;
width: 300px;
}
.portable-infobox .pi-title {
color: #FFFFFF;
background-color: #B71C1C;
font-size: 24px;
font-weight: bold;
margin-bottom: 10px;
padding: 5px 10px;
text-align: center;
}
.portable-infobox .pi-header {
color: #B71C1C;
font-size: 16px;
font-weight: bold;
margin-bottom: 5px;
}
.portable-infobox .pi-data {
margin-bottom: 10px;
}
.portable-infobox .pi-image {
display: block;
margin: 0 auto;
max-width: 100%;
height: auto;
}
.portable-infobox .pi-data-value a {
color: #0645ad;
text-decoration: none;
}
.portable-infobox .pi-data-value a:hover {
text-decoration: underline;
}