MediaWiki:Common.css: Difference between revisions
From AbhiprayaVedi
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
.article-title { | .article-title { | ||
font-size: 2em; | font-size: 2.2em; | ||
font-weight: bold; | |||
margin-bottom: 5px; | margin-bottom: 5px; | ||
} | } | ||
.article-meta { | .article-meta { | ||
font-size: | font-size: 1em; | ||
color: #555; | color: #555; | ||
margin-bottom: 15px; | |||
} | |||
.meta-sep { | |||
margin: 0 6px; | |||
} | } | ||
.article-intro { | .article-intro { | ||
font- | font-size: 1.1em; | ||
background: #f5f5f5; | |||
padding: 12px; | |||
border-left: 4px solid #ccc; | border-left: 4px solid #ccc; | ||
margin-bottom: 15px; | |||
margin: | } | ||
.article-image { | |||
margin: 20px 0; | |||
} | |||
.article-rightbar img, | |||
.article-leftbar img { | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
Revision as of 12:38, 28 January 2026
.article-wrapper {
max-width: 900px;
margin: auto;
font-family: Georgia, "Times New Roman", serif;
line-height: 1.7;
}
.article-header {
text-align: center;
margin-bottom: 20px;
}
.article-title {
font-size: 2.2em;
font-weight: bold;
margin-bottom: 5px;
}
.article-meta {
font-size: 1em;
color: #555;
margin-bottom: 15px;
}
.meta-sep {
margin: 0 6px;
}
.article-intro {
font-size: 1.1em;
background: #f5f5f5;
padding: 12px;
border-left: 4px solid #ccc;
margin-bottom: 15px;
}
.article-image {
margin: 20px 0;
}
.article-rightbar img,
.article-leftbar img {
max-width: 100%;
height: auto;
}
.article-layout {
display: flex;
gap: 20px;
}
.article-leftbar, .article-rightbar {
width: 22%;
font-size: 0.9em;
background: #f9f9f9;
padding: 10px;
border-radius: 4px;
}
.article-content {
flex: 1;
}
.article-highlights ul,
.article-leftbar ul {
padding-left: 18px;
}
.article-source {
margin-top: 25px;
font-size: 0.9em;
border-top: 1px solid #ddd;
padding-top: 10px;
}
.article-author-bio {
margin-top: 20px;
font-size: 0.9em;
background: #f4f4f4;
padding: 10px;
border-radius: 4px;
}