diff --git a/src/snek/static/base.css b/src/snek/static/base.css
index 479d36b..ffe8c1d 100644
--- a/src/snek/static/base.css
+++ b/src/snek/static/base.css
@@ -412,8 +412,8 @@ a {
display: block;
width: 100%;
}
-
- }
+ }
+
/*
body {
justify-content: flex-start;
@@ -429,3 +429,89 @@ a {
position:sticky;
}*/
}
+
+dialog {
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+
+ border: none;
+ border-radius: 12px;
+ padding: 24px;
+ background-color: #000; /* Deep black */
+ color: #f1f1f1;
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
+ width: 90%;
+ max-width: 400px;
+
+ animation: dialogFadeIn 0.3s ease-out, dialogScaleIn 0.3s ease-out;
+ z-index: 1000;
+}
+
+/* Backdrop styling */
+dialog::backdrop {
+ background: rgba(0, 0, 0, 0.7);
+ backdrop-filter: blur(4px);
+}
+
+/* Title and content */
+dialog .dialog-title {
+ font-size: 1.5rem;
+ font-weight: bold;
+ margin-bottom: 16px;
+ color: #fff;
+}
+
+dialog .dialog-content {
+ font-size: 1rem;
+ color: #ccc;
+ margin-bottom: 20px;
+}
+
+/* Button layout */
+dialog .dialog-actions {
+ display: flex;
+ justify-content: flex-end;
+ gap: 10px;
+}
+
+dialog .dialog-button {
+ padding: 8px 16px;
+ font-size: 0.95rem;
+ border-radius: 8px;
+ border: none;
+ cursor: pointer;
+ transition: background 0.2s ease;
+}
+
+
+@keyframes dialogFadeIn {
+ from { opacity: 0; }
+ to { opacity: 1; }
+}
+
+@keyframes dialogScaleIn {
+ from { transform: scale(0.95) translate(-50%, -50%); opacity: 0; }
+ to { transform: scale(1) translate(-50%, -50%); opacity: 1; }
+}
+
+dialog .dialog-button.primary {
+ background-color: #f05a28;
+ color: white;
+}
+
+dialog .dialog-button.primary:hover {
+ background-color: #f05a28;
+}
+
+dialog .dialog-button.secondary {
+ background-color: #f0a328;
+ color: #eee;
+}
+
+dialog .dialog-button.secondary:hover {
+ background-color: #f0b84c;
+}
+
+
diff --git a/src/snek/templates/dialog_help.html b/src/snek/templates/dialog_help.html
new file mode 100644
index 0000000..dae5f81
--- /dev/null
+++ b/src/snek/templates/dialog_help.html
@@ -0,0 +1,61 @@
+
+
+
+
diff --git a/src/snek/templates/dialog_online.html b/src/snek/templates/dialog_online.html
new file mode 100644
index 0000000..3fc1c08
--- /dev/null
+++ b/src/snek/templates/dialog_online.html
@@ -0,0 +1,28 @@
+
+
+
+
diff --git a/src/snek/templates/online.html b/src/snek/templates/online.html
deleted file mode 100644
index a241662..0000000
--- a/src/snek/templates/online.html
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/snek/templates/web.html b/src/snek/templates/web.html
index 113b77d..db91188 100644
--- a/src/snek/templates/web.html
+++ b/src/snek/templates/web.html
@@ -21,7 +21,8 @@
-{% include "online.html" %}
+{% include "dialog_help.html" %}
+{% include "dialog_online.html" %}