pow-site/static/styles.css

78 lines
1.8 KiB
CSS
Raw Normal View History

2024-10-22 14:05:39 +00:00
body {
font-family: 'Courier New', Courier, monospace;
background-color: #1e1e1e; /* Dark background for a circuit board feel */
color: #c9c9c9; /* Light text color */
margin: 0;
padding: 20px;
}
.container {
background: #2e2e2e; /* Darker box background */
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
max-width: 600px; /* Limit width for better appearance */
margin: auto; /* Center the container */
}
h1, h2 {
color: #4CAF50; /* Green text for headers */
}
h1 {
border-bottom: 2px solid #4CAF50; /* Underline for h1 */
padding-bottom: 10px;
}
h2 {
margin-top: 20px;
}
form {
margin-top: 20px;
}
input[type="text"] {
padding: 10px;
margin-top: 10px;
width: 100%; /* Full width for input */
border: 1px solid #4CAF50; /* Green border */
border-radius: 4px;
background-color: #333; /* Darker input field */
color: #c9c9c9; /* Light text color */
}
button {
padding: 10px 15px;
background-color: #4CAF50; /* Green button */
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s; /* Smooth hover transition */
}
button:hover {
background-color: #45a049; /* Darker green on hover */
}
a {
display: inline-block;
margin-top: 20px;
text-decoration: none;
color: #4CAF50; /* Green for links */
}
a:hover {
text-decoration: underline; /* Underline links on hover */
}
.code-box {
background-color: #2e2e2e; /* Dark background for code boxes */
border: 1px solid #4CAF50; /* Green border for code boxes */
border-radius: 5px;
padding: 10px;
overflow-x: auto; /* Allow horizontal scrolling */
font-family: 'Courier New', Courier, monospace; /* Monospace font for code */
}