MediaWiki:Common.css: Difference between revisions
From AbhiprayaVedi
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
body.category-English_Articles { | body.category-English_Articles { | ||
background-color: #f6ffed; /* Light Green */ | background-color: #f6ffed; /* Light Green */ | ||
} | |||
---- | |||
.hero-article { | |||
text-align: center; | |||
margin-bottom: 40px; | |||
} | |||
.hero-article img { | |||
border-radius: 4px; | |||
} | |||
.top-stories { | |||
display: flex; | |||
gap: 25px; | |||
flex-wrap: wrap; | |||
justify-content: center; | |||
} | |||
.story-card { | |||
width: 220px; | |||
text-align: center; | |||
} | |||
.story-card img { | |||
border-radius: 3px; | |||
} | |||
.gallerytext { | |||
font-family: Georgia, "Times New Roman", serif; | |||
font-size: 1em; | |||
} | } | ||
Revision as of 19:35, 16 March 2026
<-- .page-category-Politics { background-color: #f0f8ff; } /* Mild blue */ -->
<-- .page-category-Economy { background-color: #f5f5dc; } /* Beige */ -->
/* Add for each category with sober colors */
/* Existing Layout Fixes ... */
/* Color coding by Language */
body.category-Malayalam_Articles {
background-color: #e6f7ff; /* Light Blue */
}
body.category-English_Articles {
background-color: #f6ffed; /* Light Green */
}
----
.hero-article {
text-align: center;
margin-bottom: 40px;
}
.hero-article img {
border-radius: 4px;
}
.top-stories {
display: flex;
gap: 25px;
flex-wrap: wrap;
justify-content: center;
}
.story-card {
width: 220px;
text-align: center;
}
.story-card img {
border-radius: 3px;
}
.gallerytext {
font-family: Georgia, "Times New Roman", serif;
font-size: 1em;
}