MediaWiki:Common.css: Difference between revisions

From Citypedia Online
No edit summary
No edit summary
Line 63: Line 63:
     transform: translateY(-2px);
     transform: translateY(-2px);
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Category Header Container */
.cp-cat-header {
    display: flex;
    background: #f8f9fa;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    gap: 30px;
    align-items: center;
}
/* Left Section */
.cp-cat-left {
    flex: 1;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    padding-right: 20px;
}
.cp-cat-welcome {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
}
.cp-cat-title {
    color: #b91c1c; /* Red color for the category name */
}
.cp-cat-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}
/* Right Section */
.cp-cat-right {
    flex: 1;
}
.cp-cat-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
}
/* Links Box */
.cp-cat-links {
    background: #ffffea; /* Light yellow background */
    border: 1.5px dashed #4b5563;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
}
.cp-link-label {
    font-weight: bold;
}
}

Revision as of 17:14, 2 January 2026

/* CSS placed here will be applied to all skins */
/* Add icons to sidebar city links */

#n-Mumbai a { 
    background: url(https://citypedia.online/images/0/0b/Mumbai.png) no-repeat left center; 
    padding-left: 25px !important; 
    background-size: 18px;
}

#n-Pune a { 
    background: url(https://citypedia.online/images/8/86/Pune.png) no-repeat left center; 
    padding-left: 25px !important; 
    background-size: 18px;
}

#n-Thane a { 
    background: url(https://citypedia.online/images/d/d0/Thane.png) no-repeat left center; 
    padding-left: 25px !important; 
    background-size: 18px;
}

/* The Card */
.cp-welcome-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 35px;
    margin: 20px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centers the button */
}

/* The Marathi Text */
.cp-welcome-text {
    font-size: 19px;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 30px;
}

/* The Red Link */
.cp-highlight a {
    color: #ef4444 !important;
    font-weight: 800;
    text-decoration: underline;
}

/* Styling the Link as a Button */
.cp-btn-style {
    background-color: #3b82f6;
    color: white !important;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none !important;
}

.cp-btn-style:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Category Header Container */
.cp-cat-header {
    display: flex;
    background: #f8f9fa;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    gap: 30px;
    align-items: center;
}

/* Left Section */
.cp-cat-left {
    flex: 1;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    padding-right: 20px;
}

.cp-cat-welcome {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
}

.cp-cat-title {
    color: #b91c1c; /* Red color for the category name */
}

.cp-cat-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
}

/* Right Section */
.cp-cat-right {
    flex: 1;
}

.cp-cat-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
}

/* Links Box */
.cp-cat-links {
    background: #ffffea; /* Light yellow background */
    border: 1.5px dashed #4b5563;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.cp-link-label {
    font-weight: bold;
}