kernel_panic_web/kernelpanic.lol/assets/static/style.css

189 lines
3.1 KiB
CSS
Raw Normal View History

2023-06-21 17:30:48 +00:00
2024-08-14 21:24:36 +00:00
::-webkit-scrollbar {
display: none;
}
@font-face {
font-family: "Quicksand";
src:
local("Quicksand"),
url("/static/terminal-grotesque_open.otf");
font-style: normal;
}
body, html, canvas {
height: 100%;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-left: 0%;
margin-right: 0%;
width: 100vw;
scrollbar-width: none; /* For Firefox */
-ms-overflow-style: none;
background-size: 20px 20px;
{% block bgstuff %}
2025-04-16 18:41:23 +00:00
background-color: black;
color: green;
2024-08-14 21:24:36 +00:00
{% endblock %}
font-family: 'Quicksand', sans-serif;
2025-04-16 18:41:23 +00:00
cursor: crosshair;
}
body a {
color:color-mix(in hsl shorter hue, color percentage, color percentage)
2024-08-14 21:24:36 +00:00
}
canvas {
display:block;
z-index=-3;
}
#topbar {
width: 100%;
text-align: center;
border-bottom: 1px solid black;
position: sticky;
top:0;
animation: slideDown 3s backwards;
}
@keyframes slideDown {
0% {
left:0vw;
}
100% {
left:50vw;
}
}
.button {
display: inline-block;
padding: 10px;
border-right: 1px solid black;
transition: background-color 0.5s;
font-size: large;
}
2023-06-21 17:30:48 +00:00
a {
2024-08-14 21:24:36 +00:00
font-size: large;
2025-04-16 18:41:23 +00:00
color: red;
2024-08-14 21:24:36 +00:00
}
.button:hover {
background-color: #888;
}
.content {
padding-left: 10%;
padding-right: 10%;
text-align: justify;
overflow:scroll;
width:80vw;
font-size:large;
}
h1 {
text-align: center;
font-size: ;
}
#footer {
color:inherit;
width: 100vw;
font-size: small;
-webkit-filter: invert(100%);
filter: invert(100%);
width: 100%;
text-align: center;
padding-left: 10px;
padding-right: 10px;
position: absolute;
display: block;
bottom: -75px;
background-color: inherit;
border-top: 1px solid #e7e7e7;
}
#footer a {
font-size: small;
-webkit-filter: invert(100%);
filter: invert(100%);
2023-06-21 17:30:48 +00:00
}
2024-08-14 21:24:36 +00:00
.content img {
max-width: 800px;
display: inline;
}
.content {
text-align: justify;
width: 80%;
2023-06-21 17:30:48 +00:00
}
2024-08-14 21:24:36 +00:00
2023-06-21 17:30:48 +00:00
header, footer, div.page {
width: 760px;
margin: 0 auto;
background: #daeef3;
padding: 20px 30px;
}
header h1 {
color: #169bbd;
margin: 0;
font-weight: normal;
font-size: 42px;
}
header nav ul {
list-style: none;
margin: 0;
padding: 0;
}
header nav ul li {
display: inline;
margin: 0 8px 0 0;
padding: 0;
}
div.page {
background: #f1fbfe;
}
2025-04-16 18:41:23 +00:00
#grid-canvas,
#particle-canvas {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
pointer-events: none;
}
2024-08-14 21:24:36 +00:00
2025-04-16 18:41:23 +00:00
#grid-canvas {
z-index: -20; /* bottom layer */
}
2024-08-14 21:24:36 +00:00
2025-04-16 18:41:23 +00:00
#particle-canvas {
background-color: rgba(0, 0, 0, 0);
z-index: 10002; /* above grid, below everything else */
}
2024-08-14 21:24:36 +00:00
2025-04-16 18:41:23 +00:00
#coords {
position: fixed;
bottom: 10px;
right: 10px;
background: rgba(0, 0, 0, 0.6);
color: #0f0;
padding: 6px 10px;
border-radius: 5px;
font-family: monospace;
z-index: 1001;
transition: all 0.2s ease;
cursor: crosshair;
user-select: none;
}
#coords.decrypted {
background: rgba(0, 0, 0, 0.85);
color: #fff;
}