MediaWiki:Common.css

From Citypedia Nagpur
Revision as of 04:29, 11 February 2026 by 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;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;
}