MediaWiki:Common.css: Difference between revisions

From Noe's Woes
Jump to: navigation, search
No edit summary
Tag: Reverted
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
@font-face {
/* Set general background color to dark grey */
font-family: "Nasalization";
body {
src: url(noelle.df1.dev/assets/fonts/nasalization-rg.woff2) format("woff2"),
background-color: #2f3136; /* Dark grey, like Discord's background */
url(noelle.df1.dev/assets/fonts/nasalization-rg.otf) format("opentype");
color: #e0e0e0; /* Light text color for contrast */
}


body {
/* Set the background color of the content area */
font-family: 'Nasalization';
#content {
background-color: #2f3136;
color: #e0e0e0;
}
}


.mw-editsection-like {
/* Adjust the navigation bar */
font-family: 'Nasalization';
#p-navigation {
background-color: #202225; /* Darker grey for the navigation bar */
color: #e0e0e0;
}
}


.mw-body {
#p-navigation a {
// h1's can exist outside of `.mw-body-content` so some heading styles
color: #e0e0e0;
// therefore need to be defined in `.mw-body` as well.
}
h1,

.mw-heading1,
#p-navigation a:hover {
&-content h1,
color: #7289da; /* Blue color for hovered links (similar to Discord's link color) */
&-content .mw-heading1,
}
&-content h2,

&-content .mw-heading2 {
/* Adjust footer background */
font-family: 'Nasalization';
#footer {
background-color: #202225; /* Dark grey for footer */
color: #e0e0e0;
}

/* Links (modify for better contrast) */
a {
color: #7289da; /* Blue links like Discord */
}

a:visited {
color: #9b9b9b; /* Slightly lighter color for visited links */
}

/* Button styling */
button, input[type="button"], input[type="submit"] {
background-color: #4e5156; /* Dark button background */
color: #ffffff; /* White text */
border: none;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover {
background-color: #7289da; /* Hover effect: blue button (like Discord) */
}

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';