MediaWiki:Common.css: Difference between revisions
From Citypedia Online
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
/* | /* ================================ | ||
CITYPEDIA CORE THEME | |||
================================ */ | |||
/* | /* Base typography */ | ||
body { | |||
font-family: system-ui, -apple-system, Roboto, Arial, sans-serif; | |||
background: #f3f4f6; | |||
} | } | ||
/* ================================ | |||
CITY ICONS IN SIDEBAR | |||
================================ */ | |||
#n-Mumbai a { | #n-Mumbai a { | ||
background: url(https://citypedia.online/images/0/0b/Mumbai.png) no-repeat left center; | |||
padding-left: 26px !important; | |||
background-size: 18px; | |||
} | } | ||
#n-Pune a { | #n-Pune a { | ||
background: url(https://citypedia.online/images/8/86/Pune.png) no-repeat left center; | |||
padding-left: 26px !important; | |||
background-size: 18px; | |||
} | } | ||
#n-Thane a { | #n-Thane a { | ||
background: url(https://citypedia.online/images/d/d0/Thane.png) no-repeat left center; | |||
padding-left: 26px !important; | |||
background-size: 18px; | |||
} | } | ||
/* | /* ================================ | ||
WELCOME / HERO CARD | |||
================================ */ | |||
.cp-welcome-card { | .cp-welcome-card { | ||
background: linear-gradient(135deg,#ffb45c,#b6e3b2); | |||
border-radius: 16px; | |||
padding: 40px; | |||
margin: 20px 0; | |||
box-shadow: 0 12px 25px rgba(0,0,0,0.15); | |||
text-align: center; | |||
} | } | ||
.cp-welcome-text { | .cp-welcome-text { | ||
font-size: 18px; | |||
line-height: 1.8; | |||
color: #1f2937; | |||
} | } | ||
/* | /* Highlighted red links */ | ||
.cp-highlight a { | .cp-highlight a { | ||
color: #dc2626 !important; | |||
font-weight: 700; | |||
text-decoration: underline; | |||
} | } | ||
/* | /* Buttons */ | ||
.cp-btn-style { | .cp-btn-style { | ||
background: #2563eb; | |||
color: #fff !important; | |||
padding: 14px 32px; | |||
border-radius: 10px; | |||
font-size: 16px; | |||
font-weight: 700; | |||
display: inline-block; | |||
text-decoration: none !important; | |||
box-shadow: 0 4px 12px rgba(37,99,235,0.4); | |||
} | } | ||
.cp-btn-style:hover { | .cp-btn-style:hover { | ||
background: #1d4ed8; | |||
} | } | ||
/* ================================ | |||
/* | TWO COLUMN LAYOUT | ||
================================ */ | |||
.citypedia-row { | .citypedia-row { | ||
display: flex; | display: flex; | ||
gap: | gap: 20px; | ||
margin-top: 20px; | |||
} | } | ||
| Line 142: | Line 97: | ||
} | } | ||
/* | /* ================================ | ||
CARD SYSTEM (BOTTOM SECTION) | |||
================================ */ | |||
.citypedia-card { | .citypedia-card { | ||
background: | background: #ffffff; | ||
border-radius: | border-radius: 16px; | ||
padding: | padding: 16px; | ||
margin-bottom: | margin-bottom: 18px; | ||
border: 1px | |||
border: 1px | |||
Revision as of 12:36, 9 January 2026
/* ================================
CITYPEDIA CORE THEME
================================ */
/* Base typography */
body {
font-family: system-ui, -apple-system, Roboto, Arial, sans-serif;
background: #f3f4f6;
}
/* ================================
CITY ICONS IN SIDEBAR
================================ */
#n-Mumbai a {
background: url(https://citypedia.online/images/0/0b/Mumbai.png) no-repeat left center;
padding-left: 26px !important;
background-size: 18px;
}
#n-Pune a {
background: url(https://citypedia.online/images/8/86/Pune.png) no-repeat left center;
padding-left: 26px !important;
background-size: 18px;
}
#n-Thane a {
background: url(https://citypedia.online/images/d/d0/Thane.png) no-repeat left center;
padding-left: 26px !important;
background-size: 18px;
}
/* ================================
WELCOME / HERO CARD
================================ */
.cp-welcome-card {
background: linear-gradient(135deg,#ffb45c,#b6e3b2);
border-radius: 16px;
padding: 40px;
margin: 20px 0;
box-shadow: 0 12px 25px rgba(0,0,0,0.15);
text-align: center;
}
.cp-welcome-text {
font-size: 18px;
line-height: 1.8;
color: #1f2937;
}
/* Highlighted red links */
.cp-highlight a {
color: #dc2626 !important;
font-weight: 700;
text-decoration: underline;
}
/* Buttons */
.cp-btn-style {
background: #2563eb;
color: #fff !important;
padding: 14px 32px;
border-radius: 10px;
font-size: 16px;
font-weight: 700;
display: inline-block;
text-decoration: none !important;
box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}
.cp-btn-style:hover {
background: #1d4ed8;
}
/* ================================
TWO COLUMN LAYOUT
================================ */
.citypedia-row {
display: flex;
gap: 20px;
margin-top: 20px;
}
.citypedia-main {
width: 70%;
}
.citypedia-side {
width: 30%;
}
/* Stack on mobile */
@media screen and (max-width: 768px) {
.citypedia-row {
flex-direction: column;
}
.citypedia-main,
.citypedia-side {
width: 100%;
}
}
/* ================================
CARD SYSTEM (BOTTOM SECTION)
================================ */
.citypedia-card {
background: #ffffff;
border-radius: 16px;
padding: 16px;
margin-bottom: 18px;
border: 1px
