website/static/index.css

67 lines
1.3 KiB
CSS
Raw Normal View History

2024-05-29 12:37:29 -07:00
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
body {
2024-06-02 07:51:41 -07:00
background-color: #121212; /* Very dark gray */
color: #E0E0E0; /* Light gray */
2024-05-29 12:37:29 -07:00
max-width: 800px;
margin: auto;
padding: 20px;
box-sizing: border-box;
font-family: "Source Code Pro", monospace;
font-weight: 350;
}
2024-06-02 07:51:41 -07:00
/* Headings */
2024-05-29 12:37:29 -07:00
h1 {
2024-06-02 07:51:41 -07:00
color: #BB86FC; /* Soft purple */
}
h2, h3, h4, h5, h6 {
color: #E0E0E0; /* Light gray */
2024-05-29 12:37:29 -07:00
}
2024-06-02 07:51:41 -07:00
/* Paragraph */
p, footer a {
color: #E0E0E0; /* Light gray */
2024-05-29 12:37:29 -07:00
}
2024-06-02 07:51:41 -07:00
.social {
2024-05-29 12:37:29 -07:00
display: flex;
justify-content: center;
margin-top: 10px;
margin-bottom: 10px;
}
2024-06-02 07:51:41 -07:00
.social a {
2024-05-29 12:37:29 -07:00
text-decoration: none;
font-size: 1.2rem;
padding: 10px;
2024-06-02 07:51:41 -07:00
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Shadow for the nav */
2024-05-29 12:37:29 -07:00
}
2024-06-02 07:51:41 -07:00
/* Links */
2024-05-29 12:37:29 -07:00
a {
2024-06-02 07:51:41 -07:00
color: #03DAC6; /* Cyan */
text-decoration: none; /* Remove underline for a cleaner look */
2024-05-29 12:37:29 -07:00
}
a:hover {
2024-06-02 07:51:41 -07:00
color: #BB86FC; /* Soft purple */
2024-05-29 12:37:29 -07:00
}
2024-06-02 07:51:41 -07:00
.image-container {
width: 100%;
max-width: 400px; /* Example max width */
border: 1px solid #ccc;
overflow: hidden; /* Ensures no overflow */
}
.image-container img {
width: 100%;
height: auto;
display: block; /* Removes bottom space caused by inline-block images */
}