Template:Main Page/styles.css: Difference between revisions
Template page
More languages
More actions
| [checked revision] | [checked revision] |
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 8: | Line 8: | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", | ||
Roboto, Inter, Arial, sans-serif; | Roboto, Inter, Arial, sans-serif; | ||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
| Line 16: | Line 15: | ||
================================================== */ | ================================================== */ | ||
.sa-box { | .sa-box { | ||
padding: 16px; | padding: 16px; | ||
margin-bottom: 16px; | margin-bottom: 16px; | ||
border: 1px solid; | |||
} | } | ||
| Line 37: | Line 35: | ||
.sa-tagline { | .sa-tagline { | ||
font-size: 1em; | font-size: 1em; | ||
margin-bottom: 12px; | margin-bottom: 12px; | ||
} | } | ||
| Line 66: | Line 63: | ||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: bold; | font-weight: bold; | ||
border: 1px solid | border: 1px solid; | ||
padding: 4px 8px; | padding: 4px 8px; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
| Line 74: | Line 70: | ||
.sa-later { | .sa-later { | ||
font-size: 0.85em; | font-size: 0.85em; | ||
} | } | ||
| Line 105: | Line 100: | ||
================================================== */ | ================================================== */ | ||
@media (max-width: 800px) { | @media (max-width: 800px) { | ||
.sa-grid { | .sa-grid { display: block; } | ||
.sa-col { display: block; width: 100%; } | |||
.sa-title { font-size: 1.8em; } | |||
.sa-col { | |||
.sa-title { | |||
} | } | ||
| Line 123: | Line 109: | ||
================================================== */ | ================================================== */ | ||
.mw-parser-output a { | .mw-parser-output a { | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.mw-parser-output a:visited { | .mw-parser-output a:visited { } | ||
.mw-parser-output a:hover { text-decoration: underline; } | |||
} | |||
.mw-parser-output a:hover { | |||
} | |||
/* ================================================== | /* ================================================== | ||
| Line 139: | Line 119: | ||
================================================== */ | ================================================== */ | ||
.mw-parser-output a.new, | .mw-parser-output a.new, | ||
.mw-parser-output a.new:link { | .mw-parser-output a.new:link { font-weight: bold !important; } | ||
color: # | |||
/* ================================================== | |||
AÇIK MOD (MediaWiki tercihi) | |||
================================================== */ | |||
.mw-light-mode .sa-mainpage { background-color: #ffffff; color: #202122; } | |||
.mw-light-mode .sa-box { background-color: #ffffff; border-color: #a2a9b1; } | |||
.mw-light-mode .sa-box-title { background-color: #f8f9fa; border-color: #a2a9b1; color: #202122; } | |||
.mw-light-mode .sa-tagline, .mw-light-mode .sa-later { color: #54595d; } | |||
.mw-light-mode table.wikitable { | |||
background-color: #f5f5f5; | |||
color: #202122; | |||
border-color: #a2a9b1; | |||
} | |||
.mw-light-mode table.wikitable th { | |||
background-color: #f0f0f0; | |||
color: #202122; | |||
border-color: #a2a9b1; | |||
} | } | ||
.mw-light-mode table.wikitable td { | |||
.mw- | background-color: #f5f5f5; | ||
color: # | border-color: #a2a9b1; | ||
} | |||
.mw-light-mode table.wikitable table.wikitable { | |||
background-color: #f5f5f5; | |||
} | } | ||
/* ================================================== | /* ================================================== | ||
KOYU MOD (MediaWiki tercihi) | |||
================================================== */ | ================================================== */ | ||
.mw-dark-mode .sa-mainpage { background-color: transparent; color: #e5e5e5; } | |||
.mw-dark-mode .sa-box { background-color: #202122; border-color: #54595d; } | |||
.mw-dark-mode .sa-box-title { background-color: #2a2a2a; border-color: #54595d; color: #ffffff; } | |||
.mw-dark-mode .sa-tagline, .mw-dark-mode .sa-later { color: #72777d; } | |||
.mw-dark-mode table.wikitable { | |||
background-color: #202122; | |||
color: #e5e5e5; | |||
border-color: #54595d; | |||
} | |||
.mw-dark-mode table.wikitable th { | |||
background-color: #2a2a2a; | |||
color: #ffffff; | |||
border-color: #54595d; | |||
} | |||
.mw-dark-mode table.wikitable td { | |||
background-color: #202122; | |||
border-color: #54595d; | |||
} | |||
.mw-dark-mode table.wikitable table.wikitable { | |||
background-color: #202122; | |||
} | } | ||
Revision as of 22:20, 31 January 2026
/* ==================================================
ANA KAPSAYICI
================================================== */
.sa-mainpage {
max-width: 1200px;
margin: 0 auto;
padding: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Inter, Arial, sans-serif;
line-height: 1.6;
}
/* ==================================================
KUTULAR
================================================== */
.sa-box {
padding: 16px;
margin-bottom: 16px;
border: 1px solid;
}
/* ==================================================
HERO
================================================== */
.sa-hero {
text-align: center;
}
.sa-title {
font-size: 2.2em;
font-weight: 600;
margin-bottom: 8px;
}
.sa-tagline {
font-size: 1em;
margin-bottom: 12px;
}
.sa-stats {
font-size: 0.95em;
}
/* ==================================================
GRID
================================================== */
.sa-grid {
display: table;
width: 100%;
border-spacing: 16px 0;
}
.sa-col {
display: table-cell;
vertical-align: top;
width: 50%;
}
/* ==================================================
BAŞLIKLAR
================================================== */
.sa-box-title {
font-size: 1.1em;
font-weight: bold;
border: 1px solid;
padding: 4px 8px;
margin-bottom: 8px;
}
.sa-later {
font-size: 0.85em;
}
/* ==================================================
İÇERİK
================================================== */
.sa-content {
font-size: 0.95em;
}
/* ==================================================
MEDYA
================================================== */
.sa-media-item {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
/* ==================================================
BANNER
================================================== */
.sa-banner {
text-align: center;
}
/* ==================================================
MOBİL
================================================== */
@media (max-width: 800px) {
.sa-grid { display: block; }
.sa-col { display: block; width: 100%; }
.sa-title { font-size: 1.8em; }
}
/* ==================================================
GENEL LİNKLER
================================================== */
.mw-parser-output a {
text-decoration: none;
}
.mw-parser-output a:visited { }
.mw-parser-output a:hover { text-decoration: underline; }
/* ==================================================
OLMAYAN SAYFALAR (REDLINK)
================================================== */
.mw-parser-output a.new,
.mw-parser-output a.new:link { font-weight: bold !important; }
/* ==================================================
AÇIK MOD (MediaWiki tercihi)
================================================== */
.mw-light-mode .sa-mainpage { background-color: #ffffff; color: #202122; }
.mw-light-mode .sa-box { background-color: #ffffff; border-color: #a2a9b1; }
.mw-light-mode .sa-box-title { background-color: #f8f9fa; border-color: #a2a9b1; color: #202122; }
.mw-light-mode .sa-tagline, .mw-light-mode .sa-later { color: #54595d; }
.mw-light-mode table.wikitable {
background-color: #f5f5f5;
color: #202122;
border-color: #a2a9b1;
}
.mw-light-mode table.wikitable th {
background-color: #f0f0f0;
color: #202122;
border-color: #a2a9b1;
}
.mw-light-mode table.wikitable td {
background-color: #f5f5f5;
border-color: #a2a9b1;
}
.mw-light-mode table.wikitable table.wikitable {
background-color: #f5f5f5;
}
/* ==================================================
KOYU MOD (MediaWiki tercihi)
================================================== */
.mw-dark-mode .sa-mainpage { background-color: transparent; color: #e5e5e5; }
.mw-dark-mode .sa-box { background-color: #202122; border-color: #54595d; }
.mw-dark-mode .sa-box-title { background-color: #2a2a2a; border-color: #54595d; color: #ffffff; }
.mw-dark-mode .sa-tagline, .mw-dark-mode .sa-later { color: #72777d; }
.mw-dark-mode table.wikitable {
background-color: #202122;
color: #e5e5e5;
border-color: #54595d;
}
.mw-dark-mode table.wikitable th {
background-color: #2a2a2a;
color: #ffffff;
border-color: #54595d;
}
.mw-dark-mode table.wikitable td {
background-color: #202122;
border-color: #54595d;
}
.mw-dark-mode table.wikitable table.wikitable {
background-color: #202122;
}