Web/main/style/style.css

291 lines
4.1 KiB
CSS
Raw Normal View History

2019-10-09 15:51:43 +02:00
html {
position: relative;
min-height: 100%;
}
2018-07-24 22:45:53 +02:00
body {
margin-top: 106px;
2021-03-19 04:23:04 +01:00
font-family: Roboto, sans-serif;
font-display: swap;
background-color: #404142;
2019-10-09 15:51:43 +02:00
margin-bottom: 100px;
2018-07-24 22:45:53 +02:00
}
sup {
scroll-margin-top: 70px;
}
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 {
2018-12-16 23:39:35 +01:00
width: 85%;
2018-07-24 22:45:53 +02:00
display: block;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
padding-top: 50px;
padding-bottom: 50px;
padding-left: 60px;
padding-right: 60px;
background-color: white;
}
.project {
margin-top: 50px;
}
.jumbotron {
2020-11-28 00:15:51 +01:00
width: 85%;
margin-bottom: 0;
2019-10-09 15:51:43 +02:00
margin-top: 40px;
2020-11-28 00:15:51 +01:00
margin-left: auto;
margin-right: auto;
background-color: white;
2018-07-24 22:45:53 +02:00
}
.project-image {
position: absolute;
right: -30px;
top: -30px;
width: 80px;
height: auto;
align-self: left;
}
2018-07-25 01:54:04 +02:00
.project-status {
position: absolute;
right: 20px;
bottom: 15px;
}
2021-03-17 03:07:12 +01:00
.blog-cat {
position: absolute;
right: 20px;
top: 15px;
}
2018-07-24 22:45:53 +02:00
.social-button {
width: 200px;
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 {
padding: 0px;
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;
}
.anchor {
2021-07-09 03:52:53 +02:00
display: block;
position: relative;
top: -46px;
visibility: hidden;
}
.blog-button:link,
.blog-button:visited {
2021-03-24 19:54:14 +01:00
color: black;
text-decoration: none;
}
.blog-button:hover,
.blog-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-17 03:07:12 +01:00
.blog-summary,
.blog-title {
2019-10-10 20:01:56 +02:00
width: 85%;
2019-10-03 13:29:55 +02:00
}
2021-03-21 20:20:15 +01:00
.navbar {
margin-left: auto;
margin-right: auto;
max-width: 1200px;
}
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;
max-width: 1200px;
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 {
margin-left: 0px !important;
2018-11-08 00:17:53 +01:00
margin-right: 10px;
margin-bottom: 10px;
2018-11-08 00:15:15 +01:00
}
2018-12-30 16:38:14 +01:00
.alert {
margin-top: 1rem;
}
#discord-widget {
display: block;
margin: auto;
}
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: 2em;
margin-right: 2em;
font-style: italic;
}
2021-03-21 20:20:15 +01:00
#banner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
margin-left: auto;
margin-right: auto;
max-width: 1200px;
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;
}
@media(max-width: 1199px) {
.blog-title {
margin-top: 15px;
}
.blog-summary {
margin-bottom: 10px;
}
}
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 {
width: auto;
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;
}
2018-12-16 23:39:35 +01:00
2018-07-27 20:05:00 +02:00
.project-status {
position: absolute;
right: 10px;
bottom: 5px;
}
2021-03-17 03:07:12 +01:00
.blog-cat {
position: absolute;
right: 10px;
top: 5px;
}
2018-07-24 22:45:53 +02:00
}