Web/style/style.css

298 lines
4.4 KiB
CSS
Raw Normal View History

2019-10-09 15:51:43 +02:00
html {
2023-02-12 12:18:45 +01:00
scroll-padding-top: 136px;
2019-10-09 15:51:43 +02:00
position: relative;
min-height: 100%;
}
2018-07-24 22:45:53 +02:00
body {
margin-top: 106px;
2023-06-25 17:33:51 +02:00
font-family: "Roboto", sans-serif;
background-color: #e1e1e1;
2019-10-09 15:51:43 +02:00
margin-bottom: 100px;
2018-07-24 22:45:53 +02:00
}
2023-06-25 17:33:51 +02:00
code {
font-family: "JetBrains Mono", monospace;
2023-06-26 23:09:07 +02:00
font-variant-ligatures: none;
2023-06-25 17:33:51 +02:00
}
h1, h2, h3, h4, h5, h6, .nav-item {
font-family: "Roboto Slab", serif;
}
2018-07-24 22:45:53 +02:00
.main {
margin-top: 20px;
margin-bottom: 40px;
2018-07-24 22:45:53 +02:00
}
.list-display {
2023-06-22 22:17:25 +02:00
max-width: 850px;
2018-07-24 22:45:53 +02:00
display: block;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
2023-06-02 13:43:25 +02:00
padding: 50px 60px;
background-color: white;
}
2022-07-17 15:26:14 +02:00
.alert {
2023-06-22 22:17:25 +02:00
max-width: 850px;
2022-07-17 15:26:14 +02:00
display: block;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
}
.project {
margin-top: 50px;
}
.jumbotron {
2023-06-22 22:17:25 +02:00
max-width: 850px;
2023-06-02 13:43:25 +02:00
margin: 40px auto 0;
2020-11-28 00:15:51 +01:00
background-color: white;
2018-07-24 22:45:53 +02:00
}
.project-image {
position: absolute;
right: -30px;
top: -30px;
width: 80px;
height: auto;
}
2018-07-25 01:54:04 +02:00
.project-status {
2023-06-22 23:19:38 +02:00
float: right;
margin-right: calc(60px - 1.25rem);
margin-left: 10px;
margin-bottom: 10px;
2018-07-25 01:54:04 +02:00
}
.blog-meta {
text-align: right;
2023-06-22 22:17:25 +02:00
float: right;
margin-left: 10px;
margin-bottom: 10px;
2021-03-17 03:07:12 +01:00
}
2018-07-24 22:45:53 +02:00
.social-button {
2023-06-22 22:17:25 +02:00
width: 175px;
2018-07-24 22:45:53 +02:00
margin: 10px;
line-height: 40px;
}
.social-image {
width: 40px;
height: 40px;
float: left;
}
2019-06-28 13:26:03 +02:00
#social-list {
margin-bottom: 20px;
}
2018-07-24 22:45:53 +02:00
#social-list {
text-align: center;
}
2021-03-17 03:07:12 +01:00
.blog-cat-button {
2023-06-02 13:43:25 +02:00
padding: 0;
margin-right: 15px;
2021-03-17 03:07:12 +01:00
}
2020-09-30 00:24:37 +02:00
#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 {
2021-03-24 19:54:14 +01:00
color: black;
text-decoration: none;
}
.title-button:hover,
.title-button:active {
2021-03-24 19:54:14 +01:00
color: rgb(73, 73, 73);
text-decoration: none;
}
.blog-entry {
margin-top: 20px;
}
2019-02-17 13:07:19 +01:00
.blog-discuss {
2019-02-17 13:17:11 +01:00
margin-top: 15px;
2019-02-17 13:07:19 +01:00
}
2021-03-21 20:20:15 +01:00
.navbar {
margin-left: auto;
margin-right: auto;
2023-06-22 22:17:25 +02:00
max-width: 1000px;
2021-03-21 20:20:15 +01:00
}
2018-07-24 22:45:53 +02:00
.footer {
2019-10-09 15:51:43 +02:00
position: absolute;
left: 0;
right: 0;
2018-07-24 22:45:53 +02:00
bottom: 0;
2021-03-21 20:20:15 +01:00
margin-left: auto;
margin-right: auto;
2023-06-22 22:17:25 +02:00
max-width: 1000px;
2020-11-28 00:15:51 +01:00
background-color: #f8f9fa;
2019-10-09 15:51:43 +02:00
padding-left: 15px;
padding-right: 15px;
2018-08-06 23:09:38 +02:00
overflow: auto;
2019-10-09 15:51:43 +02:00
height: 60px;
line-height: 60px;
2018-07-24 22:45:53 +02:00
}
2018-08-06 23:09:38 +02:00
.quote {
float: right;
2018-08-06 23:09:38 +02:00
}
#quote-text {
margin-right: 10px;
2018-08-06 23:09:38 +02:00
}
#blobheart {
width: 30px;
height: 30px;
2018-07-27 20:05:00 +02:00
}
.card-link {
2023-06-02 13:43:25 +02:00
margin-left: 0 !important;
2018-11-08 00:17:53 +01:00
margin-right: 10px;
margin-bottom: 10px;
2018-11-08 00:15:15 +01:00
}
#discord-widget {
display: block;
margin: auto;
}
2023-06-28 19:30:24 +02:00
.discord-landing {
display: block;
margin-top: 10px;
width: 100%;
text-align: center;
font-style: italic;
}
2019-10-09 15:51:43 +02:00
.blog-isolated {
position: relative;
}
.blog-isolated-status {
bottom: 0 !important;
right: 0 !important;
}
.reading-mode {
position: absolute;
right: 20px;
top: 15px;
}
2019-10-10 19:56:37 +02:00
blockquote {
margin-left: 1em;
2019-10-10 19:56:37 +02:00
margin-right: 2em;
2022-09-10 21:53:38 +02:00
padding-left: 0.5em;
border-left: 4px solid rgba(0, 0, 0, 0.2);
2022-09-10 21:53:38 +02:00
}
hr {
border-top: 2px solid rgba(0, 0, 0, 0.2);
2019-10-10 19:56:37 +02:00
}
2021-03-21 20:20:15 +01:00
#banner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
margin-left: auto;
margin-right: auto;
2023-06-22 22:17:25 +02:00
max-width: 1000px;
2021-03-21 20:20:15 +01:00
height: 40px;
line-height: 40px;
text-align: center;
background-size: contain;
2021-03-24 19:36:12 +01:00
color: white;
text-shadow: -1px -1px 5px black, 1px -1px 5px black, -1px 1px 5px black, 1px 1px 5px black;
overflow: auto;
2018-12-16 23:45:50 +01:00
}
2021-11-11 03:05:33 +01:00
.highlight {
border-radius: 10px;
}
pre.highlight {
padding: 15px;
}
2022-03-05 14:24:45 +01:00
.support-entry {
margin-top: 20px;
}
2022-09-10 17:47:57 +02:00
.post-content img {
width: 100%;
height: auto;
}
.footnotes::before {
2023-06-02 13:43:25 +02:00
content: "";
display: block;
margin-top: 1rem;
margin-bottom: 1rem;
border-top: 2px solid rgba(0, 0, 0, 0.2);
}
2018-07-27 20:05:00 +02:00
@media (max-width: 768px) {
.container {
max-width: none;
}
2018-12-16 23:39:35 +01:00
.list-display,
2022-07-17 15:26:14 +02:00
.jumbotron,
.alert {
2018-07-27 20:05:00 +02:00
width: auto;
padding-left: 20px;
padding-right: 20px;
}
2019-10-09 15:51:43 +02:00
.reading-mode {
position: relative;
right: auto;
top: auto;
}
2018-07-27 20:05:00 +02:00
}
@media (max-width: 510px) {
.social-button {
2023-01-11 11:20:30 +01:00
width: fit-content;
2018-07-27 20:05:00 +02:00
overflow: hidden;
text-indent: -99999px;
margin: 5px;
}
2018-12-16 23:39:35 +01:00
2018-07-27 20:05:00 +02:00
.project-image {
right: -18px;
top: -18px;
width: 50px;
}
2023-06-22 23:19:38 +02:00
.project-status {
float: right;
margin-right: calc(35px - 1.25rem);
}
2022-07-17 15:26:14 +02:00
}