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

146 lines
2.4 KiB
CSS
Raw Normal View History

2024-08-14 21:24:36 +00:00
::-webkit-scrollbar {
display: none;
}
@font-face {
font-family: "Quicksand";
src:
local("Quicksand"),
url("/static/quicksand.light-regular.otf");
font-style: normal;
}
body, html {
height: 100%;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-left: 10%;
margin-right: 10%;
width: 80vw;
scrollbar-width: none; /* For Firefox */
-ms-overflow-style: none;
{% block bgstuff %}
background-color: white;
{% endblock %}
font-family: 'Quicksand', sans-serif;
}
#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;
}
a {
font-size: large;
color: black;
}
.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: left;
}
#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%);
}
.content img {
max-width: 800px;
display: inline;
}
.content {
text-align: justify;
width: 80%;
}
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;
}
#grid {
position: absolute;
width: 100%;
height: 100%;
background: radial-gradient(circle closest-side, transparent 98%, #000 100%) 50% 50% / 10% 10%;
background-repeat: no-repeat;
}