summaryrefslogtreecommitdiff
path: root/assets/charsheet/charsheet.css
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-02-17 05:21:03 -0500
committerLLLL Colonq <llll@colonq>2026-02-17 05:21:03 -0500
commitc45a68362c2f64781458f74309a235af8393255a (patch)
treef946a84f20c69e59a118121ff2eb7827d3cc6645 /assets/charsheet/charsheet.css
parente16ce1e5dbc6f0b1534abbbc774f4709c9804997 (diff)
Update
Diffstat (limited to 'assets/charsheet/charsheet.css')
-rw-r--r--assets/charsheet/charsheet.css163
1 files changed, 163 insertions, 0 deletions
diff --git a/assets/charsheet/charsheet.css b/assets/charsheet/charsheet.css
new file mode 100644
index 0000000..571f2f2
--- /dev/null
+++ b/assets/charsheet/charsheet.css
@@ -0,0 +1,163 @@
+@font-face {
+ font-family: "Iosevka Comfy";
+ src: url("../iosevka-comfy-regular.ttf") format("truetype");
+}
+
+@media (max-width: 768px) {
+ #contents {
+ left: 0px !important;
+ top: 0px !important;
+ padding: 0px !important;
+ margin: 0.5rem !important;
+ width: calc(100vw - 1rem) !important;
+ height: calc(100vh - 1rem) !important;
+ overflow: scroll !important;
+ grid-template-columns: 1fr !important;
+ grid-auto-rows: 60vh !important;
+ }
+ #name {
+ grid-column: 1 !important;
+ }
+ #visualization {
+ grid-column: 1 !important;
+ }
+ #infobox1 {
+ grid-column: 1 !important;
+ min-width: 80vw !important;
+ }
+ #infobox2 {
+ grid-column: 1 !important;
+ min-width: 80vw !important;
+ }
+}
+
+html {
+ font-family: "Iosevka Comfy";
+ font-size: 16pt;
+}
+
+body {
+ overflow: hidden;
+ margin: 0 !important;
+ padding: 0 !important;
+ height: 100%;
+ width: 100%;
+ background-color: white;
+ background-image: radial-gradient(lightgrey 1px, transparent 0);
+ background-size: 1rem 1rem;
+}
+
+.invisible {
+ visibility: hidden !important;
+}
+
+.opaque {
+ opacity: 1.0 !important;
+}
+
+#contents {
+ border: 1px solid lightgrey;
+ background-color: white;
+ position: fixed;
+ left: 10vw;
+ top: 10vh;
+ width: 80vw;
+ height: 80vh;
+ padding: 0.5rem;
+ display: grid;
+ grid-auto-columns: 0;
+ grid-auto-flow: row;
+ grid-template-columns: repeat(4, 1fr);
+ grid-template-rows: repeat(2, 1fr);
+ gap: 0.5rem;
+ overflow: hidden;
+}
+.contents-anim-unfold {
+ animation-duration: 0.5s;
+ animation-name: contents-unfold;
+}
+@keyframes contents-unfold {
+ from {
+ left: 50vw;
+ width: 0vw;
+ }
+ to {
+ left: 10vw;
+ width: 80vw;
+ }
+}
+#contents > div {
+ opacity: 0.0;
+ transition: opacity 2s;
+}
+#name {
+ position: relative;
+ min-height: 10rem;
+ grid-column-end: span 2;
+}
+#name > h1 {
+ position: absolute;
+ transform: translateZ(0);
+ backface-visibility: hidden;
+ transform-origin: 0px 0px;
+ margin: 0px;
+ font-size: 100rem;
+}
+#visualization {
+ position: relative;
+ grid-column-end: span 2;
+ grid-row-end: span 2;
+}
+#visualization-overlay {
+ position: absolute;
+ z-index: 5;
+ top: 0px;
+ left: 0px;
+ width: 100%;
+ height: 100%;
+ display: grid;
+ grid-template-rows: 0.5fr 0.5fr 2fr 1fr;
+ grid-template-columns: 2.5fr 0.3fr 0.7fr 1fr;
+}
+#visualization-grabber {
+ grid-column: 2 / span 2;
+ grid-row: 3;
+ border: 1px solid black;
+ border-left: 0px;
+}
+#visualization-line {
+ grid-column: 2 / span 2;
+ grid-row: 2;
+ border-right: 1px solid black;
+}
+#visualization-label {
+ grid-column: 3 / span 2;
+ grid-row: 1;
+ align-content: center;
+ font-variant: small-caps;
+}
+#visualization > canvas {
+ width: 100%;
+ height: 100%;
+}
+#badges {
+ position: absolute;
+ bottom: 0.5rem;
+ right: 0.5rem;
+}
+
+.infobox {
+ padding-left: 1rem;
+}
+.infobox-title {
+ font-variant: small-caps;
+ margin-bottom: 0.5rem;
+}
+
+table {
+ width: 80%;
+ margin-bottom: 0.5rem;
+}
+table tr td:first-child {
+ font-weight: bold;
+}