diskfloppy.me/public/css/master.css

131 lines
2.2 KiB
CSS
Raw Permalink Normal View History

2024-11-04 23:12:59 +00:00
:root {
--pattern: hsl(280, 63%, 81%);
--links: hsl(280, 50%, 57%);
--background: hsl(280, 20%, 88%);
--border: 1px solid hsl(0, 0%, 20%);
--foreground: hsl(0, 0%, 0%);
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
body {
2024-11-04 23:12:59 +00:00
background-image: url("/images/background.svg");
background-color: var(--pattern);
background-size: 150px;
margin: 0;
font-family: "Gill Sans", sans-serif;
2024-07-12 20:49:58 +00:00
}
2024-08-08 01:00:44 +00:00
h1,
h2,
h3,
h4,
2024-11-04 23:12:59 +00:00
p,
2024-08-08 01:00:44 +00:00
ul,
2024-11-04 23:12:59 +00:00
ol {
2024-08-08 01:00:44 +00:00
margin: 0;
2023-06-13 22:07:20 +00:00
}
2024-07-12 20:49:58 +00:00
a {
color: var(--links);
text-decoration: underline dotted;
2023-07-28 22:44:35 +00:00
}
2024-07-12 20:49:58 +00:00
a:hover {
2024-11-04 23:12:59 +00:00
opacity: 80%;
text-decoration: underline solid;
}
2024-11-04 23:12:59 +00:00
a.button,
a.button:hover {
text-decoration: none;
2024-07-12 20:49:58 +00:00
}
2024-11-04 23:12:59 +00:00
a.button:hover img {
opacity: 80%;
2023-07-25 23:08:58 +00:00
}
2024-11-04 23:12:59 +00:00
img.pixel {
image-rendering: pixelated;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container {
2024-08-08 01:00:44 +00:00
color: var(--foreground);
2024-11-04 23:12:59 +00:00
height: calc(100vh - 20px);
width: calc(100vw - 20px);
display: grid;
grid-template-columns: minmax(auto, 400px) minmax(50vw, auto);
grid-template-rows: 1fr;
grid-column-gap: 1vw;
grid-row-gap: 0px;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container > div:first-child > div:first-child {
margin-top: 0;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container > div:first-child > div:last-child {
margin-bottom: 0;
2024-07-12 20:49:58 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container {
margin: 10px;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container > div:first-child > div {
margin: 10px 0;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container > div:nth-child(2),
div.page-container > div:first-child > div,
div.page-container > div:last-child {
padding: 10px;
height: auto;
background-color: var(--background);
border: var(--border);
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container > div:first-child {
height: fit-content;
height: auto;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container > div:first-child,
div.page-container > div:nth-child(2) {
overflow: scroll;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.page-container > div.footer {
grid-area: 2 / 1 / 3 / 3;
margin-top: 10px;
2024-07-12 20:49:58 +00:00
display: grid;
2024-11-04 23:12:59 +00:00
grid-template-columns: repeat(2, 1fr);
2024-07-12 20:49:58 +00:00
grid-template-rows: 1fr;
grid-column-gap: 0;
grid-row-gap: 0;
2023-06-13 22:07:20 +00:00
}
2024-11-04 23:12:59 +00:00
div.footer > div:first-child {
margin-left: 5px;
}
2024-11-04 23:12:59 +00:00
div.footer > div:last-child {
text-align: right;
}
2024-11-04 23:12:59 +00:00
div.footer > div {
vertical-align: middle;
height: fit-content;
width: 100%;
margin: auto;
}
2024-11-04 23:12:59 +00:00
div.pa .navlinks {
padding-left: 10px;
}
2024-08-08 01:00:44 +00:00
.navbar-icon {
margin-right: 0.25em;
}
2024-08-08 01:00:44 +00:00
.online-status {
display: inline;
}