MediaWiki:Common.css: Difference between revisions

From Noe's Woes
Jump to: navigation, search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
@font-face {
/* Dark mode styles for the page when the 'dark-mode' class is applied */
font-family: "Nasalization";
body.dark-mode {
src: url(noelle.df1.dev/assets/fonts/nasalization-rg.woff2) format("woff2"),
background-color: #2f3136;
url(noelle.df1.dev/assets/fonts/nasalization-rg.otf) format("opentype");
color: #e0e0e0;
}


body.dark-mode a {
body {
font-family: 'Nasalization';
color: #7289da; /* Links in dark mode (Discord-like blue) */
}
}


.mw-editsection-like {
body.dark-mode a:hover {
font-family: 'Nasalization';
color: #99aab5; /* Hover color for links */
}
}


.mw-body {
body.dark-mode #content {
// h1's can exist outside of `.mw-body-content` so some heading styles
background-color: #2f3136;
// therefore need to be defined in `.mw-body` as well.
color: #e0e0e0;
h1,
}
.mw-heading1,

&-content h1,
body.dark-mode #p-navigation {
&-content .mw-heading1,
background-color: #202225;
&-content h2,
color: #e0e0e0;
&-content .mw-heading2 {
}
font-family: 'Nasalization';

body.dark-mode #footer {
background-color: #202225;
color: #e0e0e0;
}

/* Button styling in dark mode */
body.dark-mode button,
body.dark-mode input[type="button"],
body.dark-mode input[type="submit"] {
background-color: #4e5156;
color: #ffffff;
}

body.dark-mode button:hover,
body.dark-mode input[type="button"]:hover,
body.dark-mode input[type="submit"]:hover {
background-color: #7289da; /* Blue hover effect */
}

Latest revision as of 07:14, 19 Mayıs 2025

@font-face {
  font-family: "Nasalization";
  src: url(noelle.df1.dev/assets/fonts/nasalization-rg.woff2) format("woff2"),
    url(noelle.df1.dev/assets/fonts/nasalization-rg.otf) format("opentype");

body { 
font-family: 'Nasalization'; 
}

.mw-editsection-like {
font-family: 'Nasalization';
}

.mw-body {
// h1's can exist outside of `.mw-body-content` so some heading styles
// therefore need to be defined in `.mw-body` as well.
h1,
.mw-heading1,
&-content h1,
&-content .mw-heading1,
&-content h2,
&-content .mw-heading2 {
font-family: 'Nasalization';