summaryrefslogtreecommitdiff
path: root/src/styles.css
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-03-09 21:31:52 +0100
committerYuval Adam <_@yuv.al>2025-03-09 21:31:52 +0100
commit161516ffad6999dc24db7e5ed8e1ebd815ff1ec1 (patch)
treeac1318859f40ee8daed0c3a97a8b78100b829d9a /src/styles.css
parent1623358daf03c03b1142a696cd2c9b5d27129b25 (diff)
Add embed pages
Diffstat (limited to 'src/styles.css')
-rw-r--r--src/styles.css39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/styles.css b/src/styles.css
index 1a84f4d..e590bba 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -1127,6 +1127,7 @@ body.game-active #startScreen {
border: 1px solid var(--card-border);
backdrop-filter: blur(10px);
animation: fadeIn 0.5s ease-out;
+ text-align: left;
}
.chart-section h2 {
@@ -1634,6 +1635,44 @@ body.game-active #startScreen {
box-shadow: var(--shadow-sm);
}
+/* Embed styles */
+.embed-container {
+ max-width: 100%;
+ padding: 10px;
+ margin: 0 auto;
+ box-sizing: border-box;
+}
+
+.embed-title {
+ font-size: 1.5rem;
+ text-align: center;
+ margin-bottom: 1rem;
+}
+
+/* Responsive adjustments for embedded views */
+@media (max-width: 480px) {
+ .embed-container .morse-grid {
+ grid-template-columns: repeat(3, 1fr);
+ }
+
+ .embed-container .chart-section {
+ margin-bottom: 1rem;
+ }
+
+ .embed-container .chart-section h2 {
+ font-size: 1.2rem;
+ margin-bottom: 0.5rem;
+ }
+
+ .embed-container .game-container {
+ padding: 10px;
+ }
+
+ .embed-container .options {
+ grid-template-columns: repeat(2, 1fr);
+ }
+}
+
@media (max-width: 768px) {
.morse-grid {
grid-template-columns: repeat(3, 1fr);