More actions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
:root { | |||
--black: #000000; | |||
--white: #FFFFFF; | |||
--maroon: #A52A2A; | |||
--light-maroon: #FF6464; | |||
--dark-maroon: #4B0000; | |||
--footer-bg: #2A2A2A; | |||
} | |||
/* General body styling */ | /* General body styling */ | ||
body { | body { | ||
background-color: | background-color: var(--black); /* Black background for the entire body */ | ||
color: | color: var(--white); /* White text color for readability */ | ||
font-family: Arial, sans-serif; /* Use a | font-family: Arial, sans-serif; /* Use a clean, sans-serif font */ | ||
line-height: 1. | line-height: 1.6; /* Improved line height for readability */ | ||
margin: 0; /* Remove default margin */ | |||
padding: 20px; /* Add padding */ | |||
} | |||
/* Headings */ | |||
h1, h2, h3, h4, h5, h6 { | |||
color: var(--maroon); /* Maroon color for headings */ | |||
margin: 1em 0 0.5em; /* Spacing above/below headings */ | |||
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */ | |||
} | |||
/* Paragraphs */ | |||
p { | |||
color: var(--dark-maroon); /* Dark maroon for paragraphs */ | |||
margin: 1em 0; /* Margins around paragraphs */ | |||
} | } | ||
/* Links */ | /* Links */ | ||
a { | a { | ||
color: | color: var(--maroon); /* Maroon for links */ | ||
transition: color 0.3s; /* | text-decoration: none; /* Remove underline from links */ | ||
transition: color 0.3s; /* Animates the color change */ | |||
} | } | ||
a:hover { | a:hover { | ||
color: | color: var(--light-maroon); /* Lighter maroon on hover */ | ||
text-decoration: underline; /* Underline on hover for emphasis */ | |||
} | } | ||
/* Input boxes and text areas | /* Input boxes and text areas */ | ||
input[type="text"], | input[type="text"], | ||
input[type="password"], | input[type="password"], | ||
| Line 26: | Line 50: | ||
input[type="search"], | input[type="search"], | ||
textarea { | textarea { | ||
background-color: | background-color: var(--white); /* White for inputs */ | ||
color: | color: var(--dark-maroon); /* Dark maroon text */ | ||
border: 2px solid | border: 2px solid var(--maroon); /* Maroon border */ | ||
padding: 10px; /* Add padding */ | padding: 10px; /* Add padding */ | ||
border-radius: 4px; /* Slightly rounded corners */ | border-radius: 4px; /* Slightly rounded corners */ | ||
font-size: | font-size: 16px; /* Comfortable font size for inputs */ | ||
transition: border-color 0.3s; /* Smooth transition for border color */ | transition: border-color 0.3s; /* Smooth transition for border color */ | ||
} | } | ||
input:focus, | |||
input | |||
textarea:focus { | textarea:focus { | ||
border-color: | border-color: var(--light-maroon); /* Lighter maroon on focus */ | ||
outline: none; /* Remove default outline */ | outline: none; /* Remove default outline */ | ||
} | } | ||
/* | /* Buttons */ | ||
button, | button, | ||
input[type="submit"], | input[type="submit"], | ||
input[type="button"] { | input[type="button"] { | ||
background-color: | background-color: var(--maroon); /* Maroon background for buttons */ | ||
color: | color: var(--white); /* White text on buttons */ | ||
border: none; /* Remove default border */ | border: none; /* Remove default border */ | ||
padding: 10px 20px; /* Add padding */ | padding: 10px 20px; /* Add padding to buttons */ | ||
border-radius: | border-radius: 5px; /* Rounded corners */ | ||
font-size: 16px; /* Consistent font size for buttons */ | |||
cursor: pointer; /* Change cursor on hover */ | cursor: pointer; /* Change cursor on hover */ | ||
transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */ | transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */ | ||
} | } | ||
| Line 63: | Line 82: | ||
input[type="submit"]:hover, | input[type="submit"]:hover, | ||
input[type="button"]:hover { | input[type="button"]:hover { | ||
background-color: | background-color: var(--light-maroon); /* Lighter maroon on hover */ | ||
transform: translateY(-2px); /* Subtle lift effect on hover */ | transform: translateY(-2px); /* Subtle lift effect on hover */ | ||
} | } | ||
/* Code blocks */ | /* Code blocks */ | ||
pre, code { | pre, code { | ||
background-color: | background-color: var(--dark-maroon); /* Dark maroon background for code blocks */ | ||
color: | color: var(--white); /* White text in code blocks */ | ||
border-radius: 5px; /* Rounded corners */ | border-radius: 5px; /* Rounded corners */ | ||
padding: 10px; /* Spacing inside code blocks */ | padding: 10px; /* Spacing inside code blocks */ | ||
overflow-x: auto; /* Allow horizontal scrolling for code */ | overflow-x: auto; /* Allow horizontal scrolling for code */ | ||
} | } | ||
/* Footer styling */ | /* Footer styling */ | ||
#mw-footer { | #mw-footer { | ||
background-color: | background-color: var(--footer-bg); /* Dark background for footer */ | ||
color: | color: var(--dark-maroon); /* Dark maroon for footer text */ | ||
font-size: 14px; /* Font size for footer text */ | font-size: 14px; /* Font size for footer text */ | ||
padding: 20px; /* Spacing in footer */ | padding: 20px; /* Spacing in footer */ | ||
| Line 97: | Line 104: | ||
} | } | ||
#mw-footer a { | #mw-footer a { | ||
color: | color: var(--maroon); /* Maroon for footer links */ | ||
} | } | ||
#mw-footer a:hover { | #mw-footer a:hover { | ||
color: | color: var(--light-maroon); /* Lighter maroon on hover for footer links */ | ||
} | } | ||
/* | /* Custom styles for specific sections */ | ||
# | #custom-section { | ||
color: | background-color: var(--dark-maroon); /* Darker maroon for custom sections */ | ||
color: var(--white); /* White text colors within the section */ | |||
padding: 20px; /* Add padding for spacing */ | |||
border-radius: 5px; /* Rounded corners */ | |||
} | } | ||
/* | /* Responsive Design */ | ||
@media (max-width: 600px) { | |||
body { | |||
} | padding: 10px; /* Reduce padding on smaller screens */ | ||
} | |||
button, input[type="submit"], input[type="button"] { | |||
width: 100%; /* Make buttons full width */ | |||
font-size: 14px; /* Slightly smaller font size for buttons */ | |||
} | |||
h1 { | |||
font-size: 1.8em; /* Adjust heading sizes for smaller screens */ | |||
} | |||
h2, h3 { | |||
font-size: 1.5em; /* Adjust heading sizes for smaller screens */ | |||
} | |||
} | } | ||
Revision as of 14:16, 20 December 2024
:root {
--black: #000000;
--white: #FFFFFF;
--maroon: #A52A2A;
--light-maroon: #FF6464;
--dark-maroon: #4B0000;
--footer-bg: #2A2A2A;
}
/* General body styling */
body {
background-color: var(--black); /* Black background for the entire body */
color: var(--white); /* White text color for readability */
font-family: Arial, sans-serif; /* Use a clean, sans-serif font */
line-height: 1.6; /* Improved line height for readability */
margin: 0; /* Remove default margin */
padding: 20px; /* Add padding */
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
color: var(--maroon); /* Maroon color for headings */
margin: 1em 0 0.5em; /* Spacing above/below headings */
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}
/* Paragraphs */
p {
color: var(--dark-maroon); /* Dark maroon for paragraphs */
margin: 1em 0; /* Margins around paragraphs */
}
/* Links */
a {
color: var(--maroon); /* Maroon for links */
text-decoration: none; /* Remove underline from links */
transition: color 0.3s; /* Animates the color change */
}
a:hover {
color: var(--light-maroon); /* Lighter maroon on hover */
text-decoration: underline; /* Underline on hover for emphasis */
}
/* Input boxes and text areas */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea {
background-color: var(--white); /* White for inputs */
color: var(--dark-maroon); /* Dark maroon text */
border: 2px solid var(--maroon); /* Maroon border */
padding: 10px; /* Add padding */
border-radius: 4px; /* Slightly rounded corners */
font-size: 16px; /* Comfortable font size for inputs */
transition: border-color 0.3s; /* Smooth transition for border color */
}
input:focus,
textarea:focus {
border-color: var(--light-maroon); /* Lighter maroon on focus */
outline: none; /* Remove default outline */
}
/* Buttons */
button,
input[type="submit"],
input[type="button"] {
background-color: var(--maroon); /* Maroon background for buttons */
color: var(--white); /* White text on buttons */
border: none; /* Remove default border */
padding: 10px 20px; /* Add padding to buttons */
border-radius: 5px; /* Rounded corners */
font-size: 16px; /* Consistent font size for buttons */
cursor: pointer; /* Change cursor on hover */
transition: background-color 0.3s, transform 0.2s; /* Smooth transitions */
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
background-color: var(--light-maroon); /* Lighter maroon on hover */
transform: translateY(-2px); /* Subtle lift effect on hover */
}
/* Code blocks */
pre, code {
background-color: var(--dark-maroon); /* Dark maroon background for code blocks */
color: var(--white); /* White text in code blocks */
border-radius: 5px; /* Rounded corners */
padding: 10px; /* Spacing inside code blocks */
overflow-x: auto; /* Allow horizontal scrolling for code */
}
/* Footer styling */
#mw-footer {
background-color: var(--footer-bg); /* Dark background for footer */
color: var(--dark-maroon); /* Dark maroon for footer text */
font-size: 14px; /* Font size for footer text */
padding: 20px; /* Spacing in footer */
text-align: center; /* Center align footer text */
}
#mw-footer a {
color: var(--maroon); /* Maroon for footer links */
}
#mw-footer a:hover {
color: var(--light-maroon); /* Lighter maroon on hover for footer links */
}
/* Custom styles for specific sections */
#custom-section {
background-color: var(--dark-maroon); /* Darker maroon for custom sections */
color: var(--white); /* White text colors within the section */
padding: 20px; /* Add padding for spacing */
border-radius: 5px; /* Rounded corners */
}
/* Responsive Design */
@media (max-width: 600px) {
body {
padding: 10px; /* Reduce padding on smaller screens */
}
button, input[type="submit"], input[type="button"] {
width: 100%; /* Make buttons full width */
font-size: 14px; /* Slightly smaller font size for buttons */
}
h1 {
font-size: 1.8em; /* Adjust heading sizes for smaller screens */
}
h2, h3 {
font-size: 1.5em; /* Adjust heading sizes for smaller screens */
}
}