aboutsummaryrefslogtreecommitdiff
path: root/client/public/css/style.css
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-07-19 20:38:24 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-07-19 20:38:24 -0700
commit0fd9fb097552686f2257c1aa689d797e80057bd1 (patch)
treeb8d0367bf7b62c049af60ace301ce1cffc08d821 /client/public/css/style.css
downloadjumpstorm-0fd9fb097552686f2257c1aa689d797e80057bd1.tar.gz
jumpstorm-0fd9fb097552686f2257c1aa689d797e80057bd1.zip
initial commit
Diffstat (limited to 'client/public/css/style.css')
-rw-r--r--client/public/css/style.css95
1 files changed, 95 insertions, 0 deletions
diff --git a/client/public/css/style.css b/client/public/css/style.css
new file mode 100644
index 0000000..cdfef76
--- /dev/null
+++ b/client/public/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;
+}