MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
AdminKursed (talk | contribs) No edit summary |
AdminKursed (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Header styling */ | ||
.site-header { | .site-header { | ||
position: sticky; | position: sticky; | ||
top: 0; | top: 0; | ||
z-index: | z-index: 1000; | ||
background: #0a0a0a; | |||
border-bottom: 1px solid rgba(255, 214, 90, 0.2); | |||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); | |||
} | } | ||
.site-header-inner { | .site-header-inner { | ||
| Line 32: | Line 12: | ||
align-items: center; | align-items: center; | ||
justify-content: space-between; | justify-content: space-between; | ||
max-width: | padding: 10px 25px; | ||
max-width: 1200px; | |||
margin: 0 auto; | margin: 0 auto; | ||
} | } | ||
.site-logo img { | .site-logo img { | ||
vertical-align: middle; | vertical-align: middle; | ||
margin-right: 15px; | |||
} | } | ||
.site-nav a { | .site-nav a { | ||
color: #ffd65a; | color: #ffd65a; | ||
text-decoration: none; | text-decoration: none; | ||
margin: 0 10px; | margin: 0 10px; | ||
font-weight: 600; | |||
transition: 0.2s ease; | |||
padding: 6px 10px; | |||
border-radius: 8px; | |||
background: rgba(255, 214, 90, 0.05); | |||
border: 1px solid rgba(255, 214, 90, 0.15); | |||
} | } | ||
.site-nav a:hover { | .site-nav a:hover { | ||
background: rgba(255, 214, 90, 0.15); | |||
text-shadow: 0 0 6px rgba(255, 214, 90, 0.8); | |||
} | } | ||
Revision as of 06:12, 12 November 2025
/* Header styling */
.site-header {
position: sticky;
top: 0;
z-index: 1000;
background: #0a0a0a;
border-bottom: 1px solid rgba(255, 214, 90, 0.2);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.site-header-inner {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 25px;
max-width: 1200px;
margin: 0 auto;
}
.site-logo img {
vertical-align: middle;
margin-right: 15px;
}
.site-nav a {
color: #ffd65a;
text-decoration: none;
margin: 0 10px;
font-weight: 600;
transition: 0.2s ease;
padding: 6px 10px;
border-radius: 8px;
background: rgba(255, 214, 90, 0.05);
border: 1px solid rgba(255, 214, 90, 0.15);
}
.site-nav a:hover {
background: rgba(255, 214, 90, 0.15);
text-shadow: 0 0 6px rgba(255, 214, 90, 0.8);
}