/*
Basic CSS Reset to help with cross-browser consistency
Learn more: https://meyerweb.com/eric/tools/css/reset/
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
font-family: sans-serif; /* A good default sans-serif font */
background-color: #f4f4f4; /* Light gray background */
color: #333; /* Dark gray text */
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* Basic Styling */
body {
font-size: 16px;
line-height: 1.5;
}
header {
background-color: #333;
color: #fff;
padding: 1em 0;
}
nav ul {
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 1em;
}
nav a {
color: #fff;
text-decoration: none;
}
main {
padding: 20px;
max-width: 960px; /* A common maximum width for content */
margin: 0 auto; /* Center the content */
}
h1, h2, h3 {
margin-bottom: 0.5em;
color: #555;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 1em 0;
position: fixed; /* Stick to the bottom */
bottom: 0;
width: 100%;
}
/* You can add more global styles here */
Disclaimer: The code on this website is provided "as is" and comes with no warranty. The author of this website does not accept any responsibility for issues arising from the use of code on this website. Before making any significant changes, ensure you take a backup of all files and do not work directly on a live/production website without thoughly testing your changes first.