summaryrefslogtreecommitdiff
path: root/src/css/style.css
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-01 16:31:27 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-01 16:31:27 -0700
commit5148ee2063846d37f9152a9dfa64fcd40cc0454b (patch)
treeba19032f6296c97e9dd8ce91253886bf24d5b441 /src/css/style.css
parent17e95224a083ccd9e522f8712bb10846a2dada8a (diff)
downloadthe-abstraction-engine-5148ee2063846d37f9152a9dfa64fcd40cc0454b.tar.gz
the-abstraction-engine-5148ee2063846d37f9152a9dfa64fcd40cc0454b.zip
get something on the screen
Diffstat (limited to 'src/css/style.css')
-rw-r--r--src/css/style.css95
1 files changed, 95 insertions, 0 deletions
diff --git a/src/css/style.css b/src/css/style.css
new file mode 100644
index 0000000..cdfef76
--- /dev/null
+++ b/src/css/style.css
@@ -0,0 +1,95 @@
+@import url("./theme.css");
+@import url("./tf.css");
+
+@font-face {
+ font-family: "scientifica";
+ src: url("/fonts/scientifica.ttf");
+}
+
+* {
+ padding: 0;
+ margin: 0;
+ font-family: "scientifica", monospace;
+ transition: background 0.2s ease-in-out;
+ font-smooth: never;
+}
+
+html,
+body {
+ margin: 0;
+ width: 100%;
+ height: 100%;
+}
+
+body {
+ background-color: var(--bg);
+ color: var(--text);
+}
+
+a {
+ color: var(--blue);
+}
+a:visited {
+ color: var(--blue);
+}
+
+.main {
+ min-height: 100vh;
+ display: grid;
+ grid-template-rows: auto 1fr auto;
+ min-width: 600px;
+ width: 45%;
+ margin-left: auto;
+ margin-right: auto;
+ padding: 0;
+}
+
+.header {
+ display: flex;
+ justify-content: space-around;
+ padding-top: 1rem;
+ padding-bottom: 1rem;
+}
+
+.content {
+ border-top: 1px solid var(--yellow);
+ border-bottom: 1px solid var(--yellow);
+ max-height: 90vh;
+}
+
+.footer {
+ padding-top: 1rem;
+ padding-bottom: 1rem;
+}
+
+.nav {
+ display: flex;
+}
+
+.title {
+ text-decoration: none;
+}
+.title:hover {
+ text-decoration: underline;
+ cursor: pointer;
+}
+
+.centered-game {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding-bottom: 1rem;
+ height: 100%;
+ flex-direction: column;
+ gap: 1rem;
+}
+
+.centered-game canvas {
+ display: block;
+ max-height: 90%;
+ width: auto;
+ max-width: 100%;
+ border: 1px solid var(--yellow);
+ border-radius: 0.5rem;
+ margin: 0;
+}