Web/style/style.css
Ell 2586c7755e
All checks were successful
/ web (push) Successful in 31s
made the background brighter in light mode
2024-07-24 13:17:54 +02:00

297 lines
4.4 KiB
CSS

html {
scroll-padding-top: 136px;
position: relative;
min-height: 100%;
}
body {
margin-top: 106px;
font-family: "Roboto", sans-serif;
background-color: #e1e1e1;
margin-bottom: 100px;
}
code {
font-family: "JetBrains Mono", monospace;
font-variant-ligatures: none;
}
h1, h2, h3, h4, h5, h6, .nav-item {
font-family: "Roboto Slab", serif;
}
.main {
margin-top: 20px;
margin-bottom: 40px;
}
.list-display {
max-width: 850px;
display: block;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
padding: 50px 60px;
background-color: white;
}
.alert {
max-width: 850px;
display: block;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
}
.project {
margin-top: 50px;
}
.jumbotron {
max-width: 850px;
margin: 40px auto 0;
background-color: white;
}
.project-image {
position: absolute;
right: -30px;
top: -30px;
width: 80px;
height: auto;
}
.project-status {
float: right;
margin-right: calc(60px - 1.25rem);
margin-left: 10px;
margin-bottom: 10px;
}
.blog-meta {
text-align: right;
float: right;
margin-left: 10px;
margin-bottom: 10px;
}
.social-button {
width: 175px;
margin: 10px;
line-height: 40px;
}
.social-image {
width: 40px;
height: 40px;
float: left;
}
#social-list {
margin-bottom: 20px;
}
#social-list {
text-align: center;
}
.blog-cat-button {
padding: 0;
margin-right: 15px;
}
#blog-archive-button {
display: block;
position: relative;
margin-top: 20px;
margin-left: auto;
margin-right: 0;
padding: 0;
}
#blog-archive {
display: none;
}
.title-button:link,
.title-button:visited {
color: black;
text-decoration: none;
}
.title-button:hover,
.title-button:active {
color: rgb(73, 73, 73);
text-decoration: none;
}
.blog-entry {
margin-top: 20px;
}
.blog-discuss {
margin-top: 15px;
}
.navbar {
margin-left: auto;
margin-right: auto;
max-width: 1000px;
}
.footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
margin-left: auto;
margin-right: auto;
max-width: 1000px;
background-color: #f8f9fa;
padding-left: 15px;
padding-right: 15px;
overflow: auto;
height: 60px;
line-height: 60px;
}
.quote {
float: right;
}
#quote-text {
margin-right: 10px;
}
#blobheart {
width: 30px;
height: 30px;
}
.card-link {
margin-left: 0 !important;
margin-right: 10px;
margin-bottom: 10px;
}
#discord-widget {
display: block;
margin: auto;
}
.discord-landing {
display: block;
margin-top: 10px;
width: 100%;
text-align: center;
font-style: italic;
}
.blog-isolated {
position: relative;
}
.blog-isolated-status {
bottom: 0 !important;
right: 0 !important;
}
.reading-mode {
position: absolute;
right: 20px;
top: 15px;
}
blockquote {
margin-left: 1em;
margin-right: 2em;
padding-left: 0.5em;
border-left: 4px solid rgba(0, 0, 0, 0.2);
}
hr {
border-top: 2px solid rgba(0, 0, 0, 0.2);
}
#banner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
margin-left: auto;
margin-right: auto;
max-width: 1000px;
height: 40px;
line-height: 40px;
text-align: center;
background-size: contain;
color: white;
text-shadow: -1px -1px 5px black, 1px -1px 5px black, -1px 1px 5px black, 1px 1px 5px black;
overflow: auto;
}
.highlight {
border-radius: 10px;
}
pre.highlight {
padding: 15px;
}
.support-entry {
margin-top: 20px;
}
.post-content img {
width: 100%;
height: auto;
}
.footnotes::before {
content: "";
display: block;
margin-top: 1rem;
margin-bottom: 1rem;
border-top: 2px solid rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
.container {
max-width: none;
}
.list-display,
.jumbotron,
.alert {
width: auto;
padding-left: 20px;
padding-right: 20px;
}
.reading-mode {
position: relative;
right: auto;
top: auto;
}
}
@media (max-width: 510px) {
.social-button {
width: fit-content;
overflow: hidden;
text-indent: -99999px;
margin: 5px;
}
.project-image {
right: -18px;
top: -18px;
width: 50px;
}
.project-status {
float: right;
margin-right: calc(35px - 1.25rem);
}
}