Aktualizace souboru hlavni.html

This commit is contained in:
archos 2025-05-21 20:41:26 +02:00
parent c964272a4d
commit 488166613e

View File

@ -7,17 +7,38 @@
<style> <style>
html, body { html, body {
margin: 0; margin: 0;
padding: 0;
height: 100%; height: 100%;
font-family: sans-serif;
background: #f4f4f4;
}
h1 {
text-align: center;
padding: 1rem;
margin: 0;
background: #2d89ef;
color: white;
font-size: 1.5rem;
} }
iframe { iframe {
border: none; border: none;
width: 100%; width: 100%;
height: 100vh; height: calc(100vh - 64px); /* výška okna mínus nadpis */
display: block;
}
noscript {
padding: 1rem;
text-align: center;
color: red;
} }
</style> </style>
</head> </head>
<body> <body>
<h1>💬 Místnost #vhsky</h1>
<iframe src="https://mx.vhsky.cz/#/room/#vhsky:mxchat.cz"></iframe> <iframe src="https://mx.vhsky.cz/#/room/#vhsky:mxchat.cz"></iframe>
<noscript>
Pro zobrazení chatu je potřeba mít zapnutý JavaScript.
</noscript>
</body> </body>
</html> </html>