MediaWiki:Common.css: Difference between revisions
From Noe's Woes
Noelle Jade (talk | contribs) No edit summary |
Noelle Jade (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
@font-face { |
|||
/* Dark Mode Global Styles */ |
|||
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 { |
|||
/* General Body Styles */ |
|||
font-family: 'Nasalization'; |
|||
body { |
|||
background-color: #121212; /* Very dark background */ |
|||
color: #e0e0e0; /* Light gray text */ |
|||
} |
} |
||
.mw-editsection-like { |
|||
/* Links - Brighter Blue */ |
|||
font-family: 'Nasalization'; |
|||
a { |
|||
color: #66b3ff; /* Brighter blue for links */ |
|||
} |
} |
||
.mw-body { |
|||
a:visited { |
|||
// h1's can exist outside of `.mw-body-content` so some heading styles |
|||
color: #99c2ff; /* Lighter color for visited links */ |
|||
// therefore need to be defined in `.mw-body` as well. |
|||
} |
|||
h1, |
|||
.mw-heading1, |
|||
a:hover { |
|||
&-content h1, |
|||
color: #1e90ff; /* Blue when hovering over links */ |
|||
&-content .mw-heading1, |
|||
} |
|||
&-content h2, |
|||
&-content .mw-heading2 { |
|||
/* Red Links for Non-Existent Pages */ |
|||
font-family: 'Nasalization'; |
|||
a.new { |
|||
color: #ff4d4d; /* Red color for non-existent (red) links */ |
|||
} |
|||
a.new:visited { |
|||
color: #ff4d4d; /* Keep red color for visited non-existent links */ |
|||
} |
|||
a.new:hover { |
|||
color: #ff3333; /* Darker red for hover effect on non-existent links */ |
|||
} |
|||
/* Top Navigation Bar (Header) */ |
|||
#p-personal { |
|||
background-color: #202020; /* Dark background for the personal nav */ |
|||
color: #e0e0e0; /* Light text */ |
|||
} |
|||
#p-personal a { |
|||
color: #66b3ff; /* Brighter blue links */ |
|||
} |
|||
#p-personal a:hover { |
|||
color: #1e90ff; /* Brighter blue hover effect */ |
|||
} |
|||
/* Navigation Bar (Top Menu) */ |
|||
#p-navigation { |
|||
background-color: #2e2e2e; /* Slightly lighter background for navigation bar */ |
|||
color: #e0e0e0; /* Light text in the navigation */ |
|||
} |
|||
#p-navigation a { |
|||
color: #66b3ff; /* Brighter blue links in nav */ |
|||
} |
|||
#p-navigation a:hover { |
|||
color: #1e90ff; /* Blue hover effect for navigation links */ |
|||
} |
|||
/* Sidebar */ |
|||
#p-sidebar { |
|||
background-color: #202020; /* Same dark background for sidebar */ |
|||
color: #e0e0e0; /* Light text in the sidebar */ |
|||
} |
|||
/* Footer */ |
|||
#footer { |
|||
background-color: #202020; /* Dark background for footer */ |
|||
color: #e0e0e0; /* Light text in the footer */ |
|||
} |
|||
/* Content Section */ |
|||
#content { |
|||
background-color: #181818; /* Dark background for content */ |
|||
color: #e0e0e0; /* Light text color */ |
|||
} |
|||
/* Article Links */ |
|||
#content a { |
|||
color: #66b3ff; /* Brighter blue links in content */ |
|||
} |
|||
#content a:hover { |
|||
color: #1e90ff; /* Lighter blue hover effect for links */ |
|||
} |
|||
/* Tables */ |
|||
table { |
|||
background-color: #202020; /* Dark background for tables */ |
|||
color: #e0e0e0; /* Light text in table rows */ |
|||
} |
|||
table th, |
|||
table td { |
|||
border: 1px solid #444; /* Dark border for table cells */ |
|||
padding: 8px; |
|||
} |
|||
/* Buttons and Inputs */ |
|||
button, input[type="button"], input[type="submit"] { |
|||
background-color: #333333; /* Dark button background */ |
|||
color: #ffffff; /* White text on buttons */ |
|||
border: 1px solid #444444; /* Dark border */ |
|||
} |
|||
button:hover, input[type="button"]:hover, input[type="submit"]:hover { |
|||
background-color: #555555; /* Lighter button background on hover */ |
|||
} |
|||
/* Form Inputs */ |
|||
input[type="text"], input[type="password"], input[type="email"], textarea { |
|||
background-color: #333333; /* Dark background for inputs */ |
|||
color: #e0e0e0; /* Light text */ |
|||
border: 1px solid #444444; /* Dark borders around input fields */ |
|||
} |
|||
/* Search Box */ |
|||
#searchInput { |
|||
background-color: #333333; /* Dark search box */ |
|||
color: #e0e0e0; /* Light text */ |
|||
border: 1px solid #444444; /* Dark borders */ |
|||
} |
|||
/* Footer Links */ |
|||
#footer a { |
|||
color: #66b3ff; /* Brighter blue for footer links */ |
|||
} |
|||
#footer a:hover { |
|||
color: #1e90ff; /* Hover effect for footer links */ |
|||
} |
|||
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';