personal-startpage/style.css

158 lines
2 KiB
CSS

@font-face {
font-family: "Hack";
src: url("./Hack-Regular.ttf");
}
html, body {
width: 100vw;
height:fit-content;
height:-moz-fit-content;
min-height: 100vh;
}
body {
margin: 0;
padding: 0;
background: #16161a;
color: #fffffe;
font-family: "Hack", 'Courier New', Courier, monospace;
overflow: hidden;
}
a {
color: #acacac;
}
a:hover {
color: white;
}
#text-box {
font-family: "Hack", 'Courier New', Courier, monospace;
background: transparent;
color: #2cb67d;
border-top: 0;
border-left: 0;
border-right: 0;
outline: 0;
width: 100%;
margin-top:10px;
}
.bg {
width: 100vw;
height: 100vh;
}
.bg img {
width: 100%;
height: 100%;
border: none !important;
opacity: 0;
object-fit: cover;
transition: opacity 0.5s;
}
.home {
margin: auto;
width: 50vw;
height: fit-content;
padding: 1vw 1vh;
background: black;
left: 50%;
top: 50%;
position: absolute;
transform: translate(-50%, -50%);
min-width: 600px;
max-width: 100%;
border-radius: 4px;
z-index: 2;
}
.home.a-bit-trans {
background: rgba(0, 0, 0, 0.875);
}
h2, p {
margin: 0;
}
h2 {
color: #7f5af0;
}
.sc,
table {
width: 100%;
}
tr,
td,
th {
text-align: center;
width:25%;
}
@keyframes cursor-blink {
from {
content: " _"
}
to {
content: ""
}
}
#tline::after {
content: "";
animation-name: cursor-blink;
animation-duration: 0.67s;
animation-iteration-count: infinite;
animation-timing-function: steps(2, jump-both)
}
.empty-cell {
width: 100%;
height: 100%;
}
#wpb {
overflow: hidden;
width: 0%;
height: 19px;
background: #7f5af0;
transition: all 0.25s;
}
.tc {
margin: 10px 0;
text-align: center;
}
.footer {
text-align: center;
font-size: small;
margin-top: 0;
}
.footer a,
.irreg-link {
color: white;
text-decoration: none;
}
.footer a:focus,
.footer a:hover,
.footer a:focus-within,
.irreg-link:focus,
.irreg-link:hover,
.irreg-link:focus-within {
text-decoration: underline;
}
.set {
margin-top: 5px;
}
.ns {
display: none;
}