MediaWiki:Common.css
From Citypedia Nagpur
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 */
/* Nagpur Citypedia Portal Styles */
.portal-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 10px;
}
.portal-box {
flex: 1 1 45%; /* Two columns on desktop */
min-width: 300px;
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
background: #fff;
box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}
.portal-header {
font-size: 1.4em;
font-weight: bold;
padding: 10px;
margin: -15px -15px 15px -15px;
border-radius: 8px 8px 0 0;
color: white;
text-align: center;
}
/* Color Coding for Categories */
.color-attractions { background-color: #ff5722; } /* Vibrant Orange */
.color-personalities { background-color: #2196f3; } /* Pune Blue */
.color-institutes { background-color: #4caf50; } /* Heritage Green */
.color-civic { background-color: #f44336; } /* Alert Red */
