TinyLifeWeb/web/style.css

300 lines
4.5 KiB
CSS
Raw Permalink Normal View History

2023-05-23 12:36:19 +02:00
html {
scroll-padding-top: 70px;
position: relative;
min-height: 100%;
2023-05-23 12:36:19 +02:00
}
body {
font-family: "Lato", sans-serif;
margin-bottom: 100px;
2023-05-23 12:36:19 +02:00
}
2023-06-06 15:09:43 +02:00
h1, h2, h3, h4, h5, h6, .nav-item {
font-family: "Cadman", "Lato", sans-serif;
}
code {
font-family: "JetBrains Mono", monospace;
2023-06-26 23:07:51 +02:00
font-variant-ligatures: none;
2023-06-06 10:30:19 +02:00
}
blockquote {
margin-left: 1em;
margin-right: 2em;
padding-left: 0.5em;
border-left: 4px solid rgba(0, 0, 0, 0.2);
}
2023-06-13 19:20:57 +02:00
pre.highlight {
padding: 10px;
}
2023-05-23 12:36:19 +02:00
.navbar-container {
2023-06-01 23:02:09 +02:00
max-width: 850px;
2023-05-23 12:36:19 +02:00
}
.top {
2023-06-13 17:24:58 +02:00
background-image: url("/media/large_background.png");
2023-05-23 12:36:19 +02:00
background-size: cover;
color: white;
}
a:link.wide-link,
a:visited.wide-link {
2023-05-23 12:36:19 +02:00
color: lightsteelblue;
}
.wide-link {
display: inline-block;
width: 150px;
}
2023-05-23 12:36:19 +02:00
.top-content {
text-align: center;
padding-top: 70px;
}
#cookieinfo {
position: fixed;
top: 80px;
left: 0;
right: 0;
max-width: 700px;
margin-left: auto;
margin-right: auto;
z-index: 500;
}
2023-05-23 12:36:19 +02:00
.section {
width: 95%;
2023-06-01 23:02:09 +02:00
max-width: 850px;
margin: 50px auto;
}
.top-margin {
margin-top: 70px;
2023-06-01 23:02:09 +02:00
}
.less-wide {
max-width: 700px;
}
.full-width-images img {
2023-06-01 23:02:09 +02:00
width: 100%;
height: auto;
2023-05-23 12:36:19 +02:00
}
.site {
padding-top: 20px;
padding-bottom: 30px;
}
.top-container {
background-color: rgba(0, 0, 0, 0.4);
border-radius: 5px;
margin-bottom: 30px;
margin-top: 120px;
padding: 20px;
}
.feature {
margin-top: 40px;
margin-bottom: 40px;
}
.feature-banner {
2023-05-23 12:36:19 +02:00
position: relative;
}
.feature ul {
margin-top: 1rem;
}
.feature-title {
margin-top: 10px;
2023-09-07 19:26:37 +02:00
margin-left: auto;
margin-right: auto;
2023-05-23 12:36:19 +02:00
padding: 10px;
color: white;
background: rgb(0, 0, 0, 0.7);
position: absolute;
text-align: center;
2023-09-07 19:26:37 +02:00
left: 0;
right: 0;
2023-05-23 12:36:19 +02:00
top: 0;
2023-09-07 19:26:37 +02:00
width: fit-content;
max-width: 75%;
2023-05-23 12:36:19 +02:00
}
.feature-title h2 {
margin-bottom: 0;
}
.footer {
text-align: center;
padding: 15px;
position: absolute;
left: 0;
right: 0;
bottom: 0;
margin-left: auto;
margin-right: auto;
2023-05-23 12:36:19 +02:00
}
.devlog {
min-width: 250px;
width: calc(50% - 2px);
2023-05-23 12:36:19 +02:00
display: inline-block;
2024-05-21 15:56:58 +02:00
vertical-align: top;
padding-right: 20px;
padding-bottom: 30px;
2023-05-23 12:36:19 +02:00
}
.devlog-title {
2023-05-23 12:36:19 +02:00
margin-bottom: 0;
}
2024-05-21 12:45:00 +02:00
.devlog-category {
margin-top: 20px;
}
.devlog-image {
width: 100%;
height: 120px;
2024-05-21 15:56:58 +02:00
object-fit: cover;
margin-bottom: 10px;
}
.devlog-more {
display: block;
margin-left: auto;
margin-right: auto;
padding: 0;
}
2023-08-12 13:30:25 +02:00
.video-embed {
2023-05-23 12:36:19 +02:00
position: relative;
width: 100%;
height: 0;
padding-bottom: 56.25%;
}
2023-08-12 13:30:25 +02:00
.video-embed iframe {
2023-05-23 12:36:19 +02:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
2023-08-12 13:51:31 +02:00
border: none;
2023-05-23 12:36:19 +02:00
}
.roadmap {
2023-06-01 23:02:09 +02:00
width: 80%;
2023-05-23 12:36:19 +02:00
min-width: 250px;
margin-left: auto;
margin-right: auto;
}
.roadmap-entry {
2023-06-01 23:02:09 +02:00
margin: 40px 20px;
2023-05-23 12:36:19 +02:00
}
.roadmap-entry-left {
text-align: left;
}
.roadmap-entry-right {
text-align: right;
}
.roadmap-entry-important {
text-align: center;
margin-top: 60px;
margin-bottom: 60px;
}
.mailing-list {
2023-06-01 23:02:09 +02:00
width: 85%;
2023-05-23 12:36:19 +02:00
margin-left: auto;
margin-right: auto;
margin-top: 40px;
padding: 20px;
border-radius: 5px;
}
.social-bottom {
display: block;
margin-top: 10px;
width: 100%;
text-align: center;
font-style: italic;
}
2024-05-17 22:10:15 +02:00
.twitter-timeline iframe {
height: 600px !important;
}
h1 .anchor-heading, h2 .anchor-heading, h3 .anchor-heading, h4 .anchor-heading, h5 .anchor-heading, h6 .anchor-heading {
visibility: hidden;
}
h1:hover .anchor-heading, h2:hover .anchor-heading, h3:hover .anchor-heading, h4:hover .anchor-heading, h5:hover .anchor-heading, h6:hover .anchor-heading {
visibility: visible;
}
2023-06-18 19:12:43 +02:00
body.dark-mode {
color: #d8d8d8;
background-color: #1b1b1b;
}
body.dark-mode .text-muted {
color: #929aa0 !important;
}
2023-06-26 12:21:14 +02:00
body.dark-mode hr {
border-top: 1px solid rgba(0, 0, 0, 0.9);
}
2023-05-23 12:36:19 +02:00
@media (max-width: 576px) {
.top-content {
max-width: 90%;
}
.top-container img {
width: 150px;
2023-05-23 12:36:19 +02:00
}
.top-container h3 {
font-size: 1.5rem;
}
.top-content {
padding-top: 40px;
}
.site {
padding-top: 10px;
padding-bottom: 10px;
}
.socials {
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.devlog {
display: block;
width: 90%;
margin-left: auto;
margin-right: auto;
}
2023-09-07 19:26:37 +02:00
.feature-title {
2023-09-07 19:26:37 +02:00
max-width: 95%;
margin-bottom: 20px;
}
2023-05-23 12:36:19 +02:00
}