MediaWiki:Common.css: Difference between revisions

From Citypedia Online
No edit summary
No edit summary
Line 20: Line 20:
}
}


/* Container Card */
/* Card Container */
.cp-welcome-card {
.cp-welcome-card {
     background: #ffffff;
     background: #ffffff;
Line 27: Line 27:
     padding: 30px;
     padding: 30px;
     margin: 20px 0;
     margin: 20px 0;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
     box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-family: sans-serif;
}
}


Line 36: Line 35:
     line-height: 1.8;
     line-height: 1.8;
     color: #374151;
     color: #374151;
     margin-bottom: 25px;
     margin-bottom: 20px;
    text-align: justify;
}
}


/* Red Highlight */
/* Red Highlight */
.cp-highlight {
.cp-highlight a {
     color: #e11d48;
     color: #e11d48 !important;
     font-weight: bold;
     font-weight: bold;
     border-bottom: 2px solid #e11d48;
     text-decoration: underline;
}
}


/* Form Layout */
/* Styling the Native InputBox */
.cp-create-box form {
.cp-create-box .mw-inputbox-input {
     display: flex;
     padding: 12px !important;
     max-width: 700px;
     border: 2px solid #3b82f6 !important;
     gap: 0;
    border-radius: 6px 0 0 6px !important;
    font-size: 16px !important;
     width: 350px !important;
}
}


/* The Input Field */
.cp-create-box .mw-ui-button.mw-ui-progressive {
.cp-input {
     padding: 12px 20px !important;
    flex: 1;
     background-color: #3b82f6 !important;
    padding: 14px 20px;
     border: 2px solid #3b82f6 !important;
    border: 2px solid #3b82f6;
     border-radius: 0 6px 6px 0 !important;
    border-right: none;
     font-weight: bold !important;
    border-radius: 8px 0 0 8px;
     height: auto !important;
    font-size: 16px;
     margin-left: -1px !important;
    outline: none;
    transition: all 0.3s;
}
 
.cp-input:focus {
     background-color: #eff6ff;
}
 
/* The Button */
.cp-btn {
     background-color: #3b82f6;
    color: white;
    padding: 14px 25px;
     border: 2px solid #3b82f6;
     border-radius: 0 8px 8px 0;
    font-size: 16px;
     font-weight: bold;
     cursor: pointer;
     transition: background 0.3s;
}
 
.cp-btn:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}
}

Revision as of 17:03, 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;
}

/* Card Container */
.cp-welcome-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Marathi Text */
.cp-welcome-text {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 20px;
}

/* Red Highlight */
.cp-highlight a {
    color: #e11d48 !important;
    font-weight: bold;
    text-decoration: underline;
}

/* Styling the Native InputBox */
.cp-create-box .mw-inputbox-input {
    padding: 12px !important;
    border: 2px solid #3b82f6 !important;
    border-radius: 6px 0 0 6px !important;
    font-size: 16px !important;
    width: 350px !important;
}

.cp-create-box .mw-ui-button.mw-ui-progressive {
    padding: 12px 20px !important;
    background-color: #3b82f6 !important;
    border: 2px solid #3b82f6 !important;
    border-radius: 0 6px 6px 0 !important;
    font-weight: bold !important;
    height: auto !important;
    margin-left: -1px !important;
}