@charset "UTF-8"; body { background-color: #4b3d44; color: #e6d0c4; transition: 1.5s; } body.light { background-color: #ddcf99; color: #202020; } a { background-color: #bd97a9; color: #4b3d44; transition: 1.5s; } a.light { background-color: #4e5463; color: #ddcf99; } a.footer-nav-item.active { color: #4b4361; transition: 1.5s; } a.footer-nav-item.active.light { color: #f1866c; } footer { background-color: #bd97a9; color: #4b3d44; transition: 1.5s; } footer.light { background-color: #4e5463; color: #ddcf99; } footer a { color: #4b3d44; background-color: #bd97a9; transition: 1.5s; } footer a.light { color: #ddcf99; background-color: #4e5463; } .togglelabel { background-color: #4b3d44; transition: 1.5s; } .togglelabel.light { background-color: #ddcf99; } .togglelabel.light::after { background-color: #202020; color: #ddcf99; } .togglelabel::after { background-color: #e6d0c4; color: #4b3d44; transition: 1.5s; } html, body { height: 100%; flex: auto; } footer { height: 10%; min-height: 24pt; position: sticky; display: flex; align-items: center; justify-content: center; bottom: 0; } #content { min-height: 90%; right: auto; } #footer-left { margin-left: 24pt; justify-self: left; margin-right: auto; } #footer-right { margin-left: auto; justify-self: right; margin-right: 24pt; align-content: center; } #footer-center { margin-left: auto; margin-right: auto; justify-content: center; justify-self: center; } * { padding: 0; margin: 0; } #footer-right * { display: flex; } @font-face { font-family: CaskaydiaCove; src: url(/font/CaskaydiaCove.ttf); } @font-face { font-family: CaskaydiaCoveMono; src: url(/font/CaskaydiaCoveMono.ttf); } * { font-family: CaskaydiaCove; font-size: 12pt; } h1 { font-size: 42pt; } a { text-decoration: none; } footer * { font-size: 20pt; } label::after { font-family: CaskaydiaCoveMono; } input[type="checkbox"] { cursor: pointer; } .toggleinput { visibility: hidden; } .togglelabel { width: 42pt; height: 24pt; border-radius: 24pt; cursor: pointer; } .togglelabel::after { left: calc(100% - 66pt); content: ""; position: absolute; height: 24pt; width: 24pt; border-radius: 100pt; transition: 0.3s; display: inline-block; vertical-align: middle; text-align: center; } input:checked + label:after { left: calc(100% - 48pt); } .togglelabel::after { content: "滛"; } input:checked + label::after { content: ""; }