Web/style/style.css

281 lines
4.1 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;
}
2018-07-24 22:45:53 +02:00
body {
2023-06-25 17:33:51 +02:00
font-family: "Roboto", sans-serif;
background-color: #e1e1e1;
display: flex;
flex-direction: column;
min-height: 100vh;
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: 66px;
margin-bottom: 40px;
flex: 1;
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;
}
.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 {
2021-03-21 20:20:15 +01:00
margin-left: auto;
margin-right: auto;
width: 100%;
2023-06-22 22:17:25 +02:00
max-width: 1000px;
2020-11-28 00:15:51 +01:00
background-color: #f8f9fa;
padding: 0.5em 15px;
display: flex;
flex-direction: row;
2018-08-06 23:09:38 +02:00
}
.footer-section {
margin-top: 0.5em;
margin-bottom: 0.5em;
flex: 1;
align-self: center;
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-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);
}
#cookieinfo {
position: fixed;
top: 86px;
left: 0;
right: 0;
max-width: 650px;
margin-left: auto;
margin-right: auto;
z-index: 500;
}
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,
.jumbotron {
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);
}
.footer {
flex-direction: column;
}
.footer-section {
width: 100%;
}
2022-07-17 15:26:14 +02:00
}