MediaWiki:Common.css: Difference between revisions

From Citypedia Online
No edit summary
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Add icons to sidebar city links */
/* Add icons to sidebar city links */


#n-Mumbai a {  
#n-Mumbai a {  
Line 20: Line 18:
     padding-left: 25px !important;  
     padding-left: 25px !important;  
     background-size: 18px;
     background-size: 18px;
}
/* Container Styling */
.citypedia-welcome-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Text Styling */
.welcome-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 20px;
}
.highlight-text {
    color: #e53e3e; /* Red color from your screenshot */
    font-weight: bold;
}
/* Form Layout */
.create-article-container {
    display: flex;
    justify-content: flex-start;
}
.create-form {
    display: flex;
    gap: 0; /* Creates the seamless look between input and button */
    width: 100%;
    max-width: 600px;
}
/* Input Box */
.create-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 15px;
    outline: none;
}
.create-input:focus {
    border-color: #3182ce;
}
/* The "Switch" Button */
.create-button {
    background-color: #3182ce; /* Professional blue */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.create-button:hover {
    background-color: #2b6cb0;
}
}

Revision as of 16:55, 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;
}

/* Container Styling */
.citypedia-welcome-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Text Styling */
.welcome-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 20px;
}

.highlight-text {
    color: #e53e3e; /* Red color from your screenshot */
    font-weight: bold;
}

/* Form Layout */
.create-article-container {
    display: flex;
    justify-content: flex-start;
}

.create-form {
    display: flex;
    gap: 0; /* Creates the seamless look between input and button */
    width: 100%;
    max-width: 600px;
}

/* Input Box */
.create-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #cbd5e0;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 15px;
    outline: none;
}

.create-input:focus {
    border-color: #3182ce;
}

/* The "Switch" Button */
.create-button {
    background-color: #3182ce; /* Professional blue */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.create-button:hover {
    background-color: #2b6cb0;
}