MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 504: Line 504:
   opacity: 1;
   opacity: 1;
   transform: translateX(-50%) translateY(0);
   transform: translateX(-50%) translateY(0);
}
/* ════════════════════════════════════════════════
  Grantha — Main Page styles
  Edit at: yourdomain.com/wiki/MediaWiki:Common.css
  ════════════════════════════════════════════════ */
#se-home {
font-family: system-ui, -apple-system, sans-serif;
max-width: 680px;
margin: 0 auto;
padding: 0 0 48px;
}
#se-home h2,
#se-home .mw-heading {
display: none;
}
.se-hero {
background: linear-gradient( 160deg, #f7f4ef 0%, #faf8f3 60%, #eef3f8 100% );
padding: 44px 28px 36px;
text-align: center;
border-radius: 12px;
margin-bottom: 32px;
border: 1px solid #e8e4dc;
}
.se-hero-verse {
font-size: 14px;
color: #8a7e6c;
font-style: italic;
line-height: 1.9;
margin-bottom: 18px;
opacity: .85;
}
.se-hero-title {
font-size: 30px;
font-weight: 700;
color: #1a2e40;
letter-spacing: -.01em;
margin-bottom: 6px;
}
.se-hero-sub {
font-size: 13px;
color: #8a9bb0;
}
.se-section {
margin-bottom: 32px;
}
.se-section-label {
font-size: 11px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .1em;
color: #8a9bb0;
margin-bottom: 10px;
padding-bottom: 8px;
border-bottom: 1px solid #eef0f3;
}
.se-doclist {
border: 1px solid #e8eaed;
border-radius: 10px;
overflow: hidden;
}
.se-docrow {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 20px;
background: #fff;
border-bottom: 1px solid #f0f2f5;
transition: background .1s;
}
.se-docrow:last-child {
border-bottom: none;
}
.se-docrow:hover {
background: #f7f9fc;
}
.se-docrow--dev {
background: #f5f8ff;
}
.se-docrow--dev:hover {
background: #edf2ff;
}
.se-docrow-num {
font-size: 12px;
color: #c8d0da;
min-width: 20px;
flex-shrink: 0;
font-variant-numeric: tabular-nums;
}
.se-docrow-title {
font-size: 14.5px;
font-weight: 600;
flex: 1;
}
.se-docrow-title a {
color: #1a2e40;
text-decoration: none;
display: block;
}
.se-docrow-title a:hover {
color: #2a5298;
}
.se-doclist-actions {
margin-top: 14px;
}
.se-newdoc-trigger {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 13px;
font-weight: 600;
color: #1a2e40;
padding: 8px 20px;
border-radius: 20px;
border: 1.5px solid #1a2e40;
cursor: pointer;
transition: background .14s, color .14s;
}
.se-newdoc-trigger:hover {
background: #1a2e40;
color: #fff;
}
}