127 lines
3.4 KiB
CSS
127 lines
3.4 KiB
CSS
|
|
/* Change to a monospaced font and update colors for the retro look */
|
|
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;700&display=swap');
|
|
|
|
/* Reset some default styles */
|
|
body, h1, h2, h3, h4, h5, h6, p, ul, li, a, button, input, textarea, table {
|
|
margin: 0;
|
|
padding: 0;
|
|
text-decoration: none;
|
|
font-family: 'Source Code Pro', monospace;
|
|
color: #33ff33; /* Classic green text color */
|
|
background-color: black; /* Black background */
|
|
border: none;
|
|
}
|
|
|
|
/* Specific container or section styles can go here */
|
|
.container, .section {
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Navigation Styles */
|
|
nav {
|
|
background: #1a1a1a; /* Dark background for nav */
|
|
box-shadow: none; /* No shadow for a flat look */
|
|
}
|
|
|
|
nav ul {
|
|
list-style-type: none;
|
|
text-align: center; /* Center the navigation items */
|
|
}
|
|
|
|
nav li {
|
|
display: inline-block;
|
|
margin: 0 15px; /* Spacing between items */
|
|
}
|
|
|
|
nav a {
|
|
padding: 10px 20px;
|
|
border-radius: 0; /* No rounded edges for a flat look */
|
|
transition: background-color 0.3s, color 0.3s; /* Transition for color changes */
|
|
}
|
|
|
|
/* Button Styles */
|
|
button, input[type="submit"], input[type="button"], .button {
|
|
background-color: #262626; /* Darker background for buttons */
|
|
color: #33ff33;
|
|
padding: 10px 15px;
|
|
border: 1px solid #33ff33; /* Green border */
|
|
transition: background-color 0.3s, color 0.3s;
|
|
}
|
|
|
|
button:hover, input[type="submit"]:hover, input[type="button"]:hover, .button:hover {
|
|
background-color: #33ff33; /* Green background on hover */
|
|
color: black; /* Text color changes on hover */
|
|
}
|
|
|
|
/* Table Styles */
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th, td {
|
|
padding: 10px;
|
|
border: 1px solid #33ff33; /* Green border for cells */
|
|
}
|
|
|
|
th {
|
|
background-color: #1a1a1a; /* Dark background for table headers */
|
|
}
|
|
|
|
td {
|
|
background-color: #000; /* Black background for table cells */
|
|
}
|
|
|
|
/* Scrollbars */
|
|
/* Add custom scrollbar styles if needed */
|
|
|
|
/* Media Queries for responsiveness */
|
|
/* Custom media queries can go here */
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
/* Fonts */
|
|
body, h1, h2, h3, h4, h5, h6, p, ul, li, a, button, input, textarea {
|
|
font-size: 90%; /* Slightly smaller fonts for mobile */
|
|
}
|
|
|
|
/* Navigation menu adjustments */
|
|
nav ul {
|
|
padding: 0;
|
|
display: block; /* Stack the navigation items */
|
|
text-align: left; /* Align text to the left on small screens */
|
|
}
|
|
|
|
nav li {
|
|
display: block; /* Each nav item takes the full width */
|
|
margin: 5px 0; /* Reduced margin for small screens */
|
|
}
|
|
|
|
nav a {
|
|
display: block; /* Block level links for easier touch access */
|
|
padding: 10px; /* Larger padding for easier touch */
|
|
}
|
|
|
|
/* Button adjustments */
|
|
button, input[type="submit"], input[type="button"], .button {
|
|
padding: 12px 18px; /* Larger padding for easier touch */
|
|
font-size: 100%; /* Keep button text readable */
|
|
}
|
|
|
|
/* Table adjustments */
|
|
table {
|
|
width: 100%;
|
|
display: block; /* Allow table to be scrollable horizontally */
|
|
overflow-x: auto; /* Scrollable if content is wider than the screen */
|
|
}
|
|
|
|
th, td {
|
|
padding: 8px; /* Adjust padding in table cells */
|
|
}
|
|
}
|
|
|
|
/* Larger screens */
|
|
@media only screen and (min-width: 769px) {
|
|
/* Any specific styles for larger screens can go here */
|
|
}
|