MediaWiki:Common.css: Difference between revisions
m 60 revisions imported |
No edit summary |
||
| Line 88: | Line 88: | ||
.vector-menu-heading::before { | .vector-menu-heading::before { | ||
content: none !important; | content: none !important; | ||
} | |||
/* Portable Infobox Styling */ | |||
.portable-infobox { | |||
width: 300px; /* Limits the width so it's not full-screen */ | |||
float: right; /* Pushes it to the right side of the page */ | |||
margin-left: 20px; | |||
margin-bottom: 15px; | |||
background: #f9f9f9; /* Light background */ | |||
border: 1px solid #aaa; | |||
border-radius: 5px; | |||
padding: 10px; | |||
box-shadow: 2px 2px 5px rgba(0,0,0,0.1); | |||
} | |||
/* Make sure headers look good inside the box */ | |||
.pi-header { | |||
background-color: #222; | |||
color: #fff; | |||
text-align: center; | |||
font-weight: bold; | |||
padding: 5px; | |||
} | |||
/* Label styling (e.g., "Full Name", "Occupation") */ | |||
.pi-data-label { | |||
font-weight: bold; | |||
width: 40%; | |||
} | } | ||