fix: use proper html tag

This commit is contained in:
Nikola Ubavic 2023-08-05 15:11:04 +02:00
parent cdf3849322
commit 54d643844a
10 changed files with 19 additions and 19 deletions

View File

@ -18,7 +18,7 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
<h1>Dobrodošao!</h1> <h1>Dobrodošao!</h1>
<p> <p>
Mi smo <em>Decentrala</em> - grupa entuzijasta okupljena oko ideja decentralizacije i slobodnog širenja znanja. Mi smo <em>Decentrala</em> - grupa entuzijasta okupljena oko ideja decentralizacije i slobodnog širenja znanja.
@ -38,7 +38,7 @@
Ako želiš prvo da vidiš kako to sve izgleda u realnosti, možeš doći na neki od naših <a href="/pages/events.html">događaja</a>, i tu nas upoznati! Ako želiš prvo da vidiš kako to sve izgleda u realnosti, možeš doći na neki od naših <a href="/pages/events.html">događaja</a>, i tu nas upoznati!
</p> </p>
<img id="mesh" src="/img/mesh-light.svg"> <img id="mesh" src="/img/mesh-light.svg">
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Događaji</a> <a href="/pages/events.html">Događaji</a>

View File

@ -17,7 +17,7 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
<p> Ako ste napravili nalog na dmz.rs mozete koristi nas xmpp i email server i ostale servise koji podrzavaju LDAP login. <p> <p> Ako ste napravili nalog na dmz.rs mozete koristi nas xmpp i email server i ostale servise koji podrzavaju LDAP login. <p>
<p> Za vise o XMPP pogledajte <a href="https://wiki.dmz.rs/en/tutorial/conversations">tutorial</a>. <p> <p> Za vise o XMPP pogledajte <a href="https://wiki.dmz.rs/en/tutorial/conversations">tutorial</a>. <p>
<p> Za primer podesavanja na <a href="https://thunderbird.org">Thundebird</a> mail klijentu mozete pogledati <a href="/img/mailsettings.png">sliku</a>. <p> <p> Za primer podesavanja na <a href="https://thunderbird.org">Thundebird</a> mail klijentu mozete pogledati <a href="/img/mailsettings.png">sliku</a>. <p>
@ -27,7 +27,7 @@
<p><a href="/account/changepassword/">Promeni lozinku</a><p> <p><a href="/account/changepassword/">Promeni lozinku</a><p>
<img id="mesh" src="/img/mesh-light.svg"> <img id="mesh" src="/img/mesh-light.svg">
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Događaji</a> <a href="/pages/events.html">Događaji</a>

View File

@ -17,10 +17,10 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
Ova stranica je trenutno u izradi... Ova stranica je trenutno u izradi...
<img id="mesh" src="/img/mesh-light.svg"> <img id="mesh" src="/img/mesh-light.svg">
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Događaji</a> <a href="/pages/events.html">Događaji</a>

View File

@ -17,7 +17,7 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
<h1>Kontakt</h1> <h1>Kontakt</h1>
<p>Možeš nam poslati mail na <a href="mailto:dmz@dmz.rs">dmz@dmz.rs</a> ili se mozes pridružiti našem <a <p>Možeš nam poslati mail na <a href="mailto:dmz@dmz.rs">dmz@dmz.rs</a> ili se mozes pridružiti našem <a
href="https://forum.dmz.rs">Forumu</a>.</p> href="https://forum.dmz.rs">Forumu</a>.</p>
@ -25,7 +25,7 @@
<p style="position: relative; top: 5rem;">U slucaju da nadjete <em>bug</em> na sajtu, bili bismo jako zahvalni <p style="position: relative; top: 5rem;">U slucaju da nadjete <em>bug</em> na sajtu, bili bismo jako zahvalni
ako bi mogli da nam ga prijavite (npr. putem emaila).</p> ako bi mogli da nam ga prijavite (npr. putem emaila).</p>
<img id="mesh" src="/img/mesh-light.svg"> <img id="mesh" src="/img/mesh-light.svg">
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Događaji</a> <a href="/pages/events.html">Događaji</a>

View File

@ -17,7 +17,7 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
<h1>Događaji</h1> <h1>Događaji</h1>
<!-- dogadjaji start --> <!-- dogadjaji start -->
<table> <table>
@ -68,7 +68,7 @@
</table> </table>
<!-- dogadjaji end --> <!-- dogadjaji end -->
<img id="mesh" src="/img/mesh-light.svg"> <img id="mesh" src="/img/mesh-light.svg">
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Dogadjaji</a> <a href="/pages/events.html">Dogadjaji</a>

View File

@ -17,10 +17,10 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
Ova stranica je trenutno u izradi... Ova stranica je trenutno u izradi...
<img id="mesh" src="/img/mesh-light.svg"> <img id="mesh" src="/img/mesh-light.svg">
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Događaji</a> <a href="/pages/events.html">Događaji</a>

View File

@ -17,7 +17,7 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
<h1>Servisi</h1> <h1>Servisi</h1>
<table> <table>
<tr> <tr>
@ -76,7 +76,7 @@
registovati na svaki servis posebno, a možeš i napraviti jedinstveni <a href="/pages/account.html">nalog</a> na nasem registovati na svaki servis posebno, a možeš i napraviti jedinstveni <a href="/pages/account.html">nalog</a> na nasem
serveru i koristiti sve servise sa istim nalogom.</p> serveru i koristiti sve servise sa istim nalogom.</p>
<img id="mesh" src="/img/mesh-light.svg"> <img id="mesh" src="/img/mesh-light.svg">
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Događaji</a> <a href="/pages/events.html">Događaji</a>

View File

@ -17,11 +17,11 @@
<button id="theme-switcher"></button> <button id="theme-switcher"></button>
<a class="account" href="/pages/account.html">Nalog</a> <a class="account" href="/pages/account.html">Nalog</a>
</header> </header>
<div id="main"> <main>
<list> <list>
<li> <a href="https://tilde.zone/explore">Tilde Zone</a> </li> <li> <a href="https://tilde.zone/explore">Tilde Zone</a> </li>
</list> </list>
</div> </main>
<footer> <footer>
<div id="sections-menu"> <div id="sections-menu">
<a href="/pages/events.html">Događaji</a> <a href="/pages/events.html">Događaji</a>

View File

@ -2,7 +2,7 @@ const theme_switcher = document.getElementById("theme-switcher");
const imgs = document.getElementsByTagName("img"); const imgs = document.getElementsByTagName("img");
const sections_button = document.getElementById("sections-button"); const sections_button = document.getElementById("sections-button");
const sections_menu = document.getElementById("sections-menu"); const sections_menu = document.getElementById("sections-menu");
const main = document.getElementById("main"); const main = document.getElementsByTagName("main")[0];
let theme = window.localStorage.getItem("theme"); let theme = window.localStorage.getItem("theme");

View File

@ -59,7 +59,7 @@ footer {
border-top: 2px solid var(--border); border-top: 2px solid var(--border);
} }
#main { main {
grid-area: "main"; grid-area: "main";
padding: 3rem 3rem 3rem 3rem; padding: 3rem 3rem 3rem 3rem;
font-size: 1.3rem; font-size: 1.3rem;
@ -74,7 +74,7 @@ a:visited {
color: var(--text); color: var(--text);
} }
#main a { main a {
position: relative; position: relative;
top: 0.2rem; top: 0.2rem;
} }