Template:Main Page/styles.css: Difference between revisions
Template page
More languages
More actions
| [checked revision] | [checked revision] |
Aurelianus (talk | contribs) Created page with "→{{pp|small=yes}}: .mp-box { border: 1px solid #aaa; →all colors overriden on specific elements in @media screen: padding: 0 0.5em 0.5em; margin-top: 4px; } .mp-h2, body.skin-timeless .mp-h2 { →Timeless needs a higher specificity: border: 1px solid #aaa; →all colors overriden on specific elements in @media screen: margin: 0.5em 0; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold; font-family: inherit; } .mp-later { font-size: 85%; fon..." |
No edit summary |
||
| (20 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* | /* ============================================== | ||
.mp- | FLEX KUTULAR VE BAŞLIKLAR | ||
============================================== */ | |||
.mp-flex { | |||
display: flex; | |||
gap: 1rem; | |||
flex-wrap: wrap; | |||
} | } | ||
.mp- | .mp-column { | ||
flex: 1 1 30%; | |||
padding: 1rem; | |||
border-radius: 12px; | |||
box-shadow: 0 3px 8px rgba(0,0,0,0.1); | |||
background-color: #fff; | |||
transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s; | |||
} | } | ||
.mp- | .mp-column:hover { | ||
transform: translateY(-5px); | |||
box-shadow: 0 6px 16px rgba(0,0,0,0.15); | |||
} | } | ||
.mp-h2 { | |||
padding: 0.5rem 1rem; | |||
border-radius: 8px; | |||
color: #fff; | |||
margin-bottom: 0.5rem; | |||
transition: background-color 0.3s; | |||
} | } | ||
#mp- | /* Başlık renkleri */ | ||
#mp-left .mp-h2 { background-color: #e7033f; } | |||
#mp-middle .mp-h2 { background-color: #0b1e1c; } | |||
} | #mp-right .mp-h2 { background-color: #082849; } | ||
/* Responsive mobil */ | |||
@media (max-width: 875px) { | |||
.mp-column { flex: 1 1 100%; } | |||
} | |||
} | } | ||
/* | /* ============================================== | ||
.mp- | NIGHT MODE - CLIENTPREF | ||
============================================== */ | |||
html.skin-theme-clientpref-night .mp-column { | |||
background-color: #111; | |||
box-shadow: 0 3px 8px rgba(0,0,0,0.4); | |||
} | } | ||
html.skin-theme-clientpref-night #mp-left .mp-h2 { background-color: #104437; border-color: #2f4d41; } | |||
html.skin-theme-clientpref-night #mp-middle .mp-h2 { background-color: #882c43; border-color: #926c80; } | |||
html.skin-theme-clientpref-night #mp-right .mp-h2 { background-color: #082849; border-color: #a3b0bf; } | |||
/* Hover efektleri night modda */ | |||
html.skin-theme-clientpref-night .mp-column:hover { | |||
transform: translateY(-5px); | |||
box-shadow: 0 6px 16px rgba(0,0,0,0.6); | |||
} | } | ||
@media ( | /* ============================================== | ||
NIGHT MODE - OS PREFERENCES | |||
============================================== */ | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .mp-column { | |||
background-color: #111; | |||
box-shadow: 0 3px 8px rgba(0,0,0,0.4); | |||
} | |||
} | |||
html.skin-theme-clientpref-os #mp-left .mp-h2 { background-color: #104437; border-color: #2f4d41; } | |||
html.skin-theme-clientpref-os #mp-middle .mp-h2 { background-color: #882c43; border-color: #926c80; } | |||
html.skin-theme-clientpref-os #mp-right .mp-h2 { background-color: #082849; border-color: #a3b0bf; } | |||
} | |||
html.skin-theme-clientpref-os .mp-column:hover { | |||
transform: translateY(-5px); | |||
box-shadow: 0 6px 16px rgba(0,0,0,0.6); | |||
} | |||
} | } | ||
Latest revision as of 18:59, 1 February 2026
/* ==============================================
FLEX KUTULAR VE BAŞLIKLAR
============================================== */
.mp-flex {
display: flex;
gap: 1rem;
flex-wrap: wrap;
}
.mp-column {
flex: 1 1 30%;
padding: 1rem;
border-radius: 12px;
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
background-color: #fff;
transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
}
.mp-column:hover {
transform: translateY(-5px);
box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.mp-h2 {
padding: 0.5rem 1rem;
border-radius: 8px;
color: #fff;
margin-bottom: 0.5rem;
transition: background-color 0.3s;
}
/* Başlık renkleri */
#mp-left .mp-h2 { background-color: #e7033f; }
#mp-middle .mp-h2 { background-color: #0b1e1c; }
#mp-right .mp-h2 { background-color: #082849; }
/* Responsive mobil */
@media (max-width: 875px) {
.mp-column { flex: 1 1 100%; }
}
/* ==============================================
NIGHT MODE - CLIENTPREF
============================================== */
html.skin-theme-clientpref-night .mp-column {
background-color: #111;
box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}
html.skin-theme-clientpref-night #mp-left .mp-h2 { background-color: #104437; border-color: #2f4d41; }
html.skin-theme-clientpref-night #mp-middle .mp-h2 { background-color: #882c43; border-color: #926c80; }
html.skin-theme-clientpref-night #mp-right .mp-h2 { background-color: #082849; border-color: #a3b0bf; }
/* Hover efektleri night modda */
html.skin-theme-clientpref-night .mp-column:hover {
transform: translateY(-5px);
box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}
/* ==============================================
NIGHT MODE - OS PREFERENCES
============================================== */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .mp-column {
background-color: #111;
box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}
html.skin-theme-clientpref-os #mp-left .mp-h2 { background-color: #104437; border-color: #2f4d41; }
html.skin-theme-clientpref-os #mp-middle .mp-h2 { background-color: #882c43; border-color: #926c80; }
html.skin-theme-clientpref-os #mp-right .mp-h2 { background-color: #082849; border-color: #a3b0bf; }
html.skin-theme-clientpref-os .mp-column:hover {
transform: translateY(-5px);
box-shadow: 0 6px 16px rgba(0,0,0,0.6);
}
}