MediaWiki:Common.css
From Citypedia Online
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 */
/* 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;
}
