summaryrefslogtreecommitdiff
path: root/src/webserver/dist/style.css
diff options
context:
space:
mode:
authordavidovski <david@sendula.com>2022-11-30 10:06:56 +0000
committerdavidovski <david@sendula.com>2022-11-30 10:06:56 +0000
commit290c68795d8100cc97b8b53d80f331e536fc71b1 (patch)
treebf0068c4c9121406df9bc90f5c159fd93de8a61e /src/webserver/dist/style.css
Added files to repositoryHEADmain
Diffstat (limited to 'src/webserver/dist/style.css')
-rw-r--r--src/webserver/dist/style.css138
1 files changed, 138 insertions, 0 deletions
diff --git a/src/webserver/dist/style.css b/src/webserver/dist/style.css
new file mode 100644
index 0000000..1ba596d
--- /dev/null
+++ b/src/webserver/dist/style.css
@@ -0,0 +1,138 @@
+#worldmap {
+ width: 50%;
+}
+
+body {
+ font-family: sans-serif;
+ background-color: #191919;
+ color: #f0c674;
+ width:auto;
+}
+
+.main {
+ padding: 0;
+ margin-left: 10%;
+ margin-right: 10%;
+ width: 80%;
+ font-size: 2rem;
+}
+
+#worldmap {
+ width: 50%;
+}
+
+@media (orientation : portrait) {
+ .main {
+ padding: 0;
+ margin: 0;
+ width: 100%;
+ font-size: 1.5rem;
+ }
+
+ #worldmap {
+ width: 100%;
+ }
+}
+
+
+.main {
+ display: inline-block;
+ text-align: center;
+
+}
+
+.box-item {
+ margin-top: 1rem;
+ margin-bottom: 1rem;
+}
+
+
+button,select,input[type=number] {
+ font-size: inherit;
+ background-color: #191919;
+ color: #f0c674;
+ border-radius: 0.5em;
+ text-decoration: none;
+ padding: 0.5rem;
+ border: 0.05rem solid #373b41;
+ box-shadow: 0 0.2em #373b41;
+}
+
+#number {
+ width: 3rem;
+}
+img {
+ width: 2rem;
+}
+
+button:active {
+ background-color: #373b41;
+ box-shadow: 0 0.1em #373b41;
+ transform: translateY(0.1em);
+}
+
+
+.box {
+ margin-top: 10%;
+ padding: 1%;
+ text-align: center;
+ display: inline-block;
+ box-sizing: border-box;
+ margin-left:15%;
+ width: 70%;
+ height: 50%;
+
+ background: transparent;
+ border: 0;
+ outline: 0;
+ border-bottom: 0.25rem solid #0f7d7b;
+ color: #e8922a;
+ font-size: 100%;
+ outline: none !important;
+
+}
+input:focus, textarea {
+ outline: none !important;
+}
+button:focus, textarea {
+ outline: none !important;
+}
+
+
+input[type=checkbox]{
+ position:absolute;
+ opacity: 0;
+ z-index: -9999;
+}
+
+input[type=checkbox] + .indicator {
+ width: 1.5rem;
+ height: 1.5rem;
+ margin-left: 0.5rem;
+ position: absolute;
+
+
+ font-size: inherit;
+ background-color: #191919;
+ color: #191919;
+ border-radius: 0.5em;
+ text-decoration: none;
+ padding: 0.5rem;
+ border: 0.05rem solid #373b41;
+ box-shadow: 0 0.2em #373b41;
+
+ content: "";
+}
+
+input[type=checkbox]:checked + .indicator {
+ background-color: #373b41;
+ box-shadow: 0 0.1em #373b41;
+ transform: translateY(0.1em);
+}
+
+input[type=checkbox]+ .indicator::after {
+ content: "";
+}
+input[type=checkbox]:checked + .indicator::after {
+ content: "X";
+}