summaryrefslogtreecommitdiff
path: root/centipede/css/style.css
diff options
context:
space:
mode:
authorLizzy Hunt <lizzy.hunt@usu.edu>2024-01-12 19:13:13 -0700
committerLizzy Hunt <lizzy.hunt@usu.edu>2024-01-12 19:13:13 -0700
commit07670ef8afb5a273267ea7149d5f7eef02fdf66b (patch)
tree2d0c8e64936c7fa2588786f4af199abf1bb48a60 /centipede/css/style.css
parent3ac982dfa653f0eb7fbceeb1678a3cae93b512f4 (diff)
downloadsimponic.xyz-07670ef8afb5a273267ea7149d5f7eef02fdf66b.tar.gz
simponic.xyz-07670ef8afb5a273267ea7149d5f7eef02fdf66b.zip
add subprojects
Diffstat (limited to 'centipede/css/style.css')
-rw-r--r--centipede/css/style.css63
1 files changed, 63 insertions, 0 deletions
diff --git a/centipede/css/style.css b/centipede/css/style.css
new file mode 100644
index 0000000..7142e28
--- /dev/null
+++ b/centipede/css/style.css
@@ -0,0 +1,63 @@
+body {
+ margin: 0;
+ font-family: Lucida Sans Typewriter,Lucida Console,monaco,Bitstream Vera Sans Mono,monospace;
+}
+
+.canvas-holder canvas {
+ padding: 0;
+ margin: auto;
+ display: block;
+ height: 100vh;
+ width: auto;
+ max-width: 100%;
+ background-color: black;
+}
+
+.game-hud {
+ position: absolute;
+ top: 0;
+ left: 50%;
+ transform: translate(-50%, -5px);
+ z-index: 1;
+
+ background-color: rgba(255,255,255,0.5);
+ padding-left: 10px;
+ padding-right: 10px;
+ padding-top: 3px;
+ border: 1px solid white;
+ border-radius: 5px;
+}
+
+.game-hud p {
+ margin: 0;
+ padding: 0;
+ font-size: 3vh;
+ text-align: center;
+}
+
+.menu {
+ text-align:center;
+ left: 50%;
+ top: 50%;
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+ position:absolute;
+
+ background-color: rgba(255,255,255,0.75);
+ border: 1px solid #fff;
+ border-radius: 5px;
+ padding: 12px;
+ min-width: 400px;
+}
+
+.menu-button {
+ background-color: #fff;
+ border-radius: 5px;
+ padding: 12px;
+ margin-bottom: 8px;
+ cursor: pointer;
+}
+
+.menu-button:hover {
+ background-color: #d0d0d0;
+} \ No newline at end of file