MediaWiki:Common.css: Difference between revisions
From Citypedia Nagpur
Super Admin (talk | contribs) Created page with "→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;..." |
Super Admin (talk | contribs) No edit summary |
||
| Line 27: | Line 27: | ||
text-align: center; | 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 */ | |||
Latest revision as of 04:29, 11 February 2026
/* 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 */
