Use h1, h2 instead of CSS

This commit is contained in:
ReimarPB 2022-07-10 11:26:31 +02:00
parent 3bf720d233
commit 32940562b5
4 changed files with 7 additions and 10 deletions

View File

@ -13,13 +13,13 @@
<div id="main" class="inline-block"> <div id="main" class="inline-block">
<main> <main>
<div class="section container"> <div class="section container">
<div class="title">Contact</div> <h1>Contact</h1>
<span>Discord: &#82;&#101;&#105;&#109;&#97;&#114;&#80;&#66;&#35;&#53;&#55;&#51;&#54;</span> <span>Discord: &#82;&#101;&#105;&#109;&#97;&#114;&#80;&#66;&#35;&#53;&#55;&#51;&#54;</span>
<br> <br>
<span>XMPP:</span> <span>XMPP:</span>
<a href="xmpp://%72%65%69%6D%61%72%40%72%65%69%6D%61%72%70%62%2E%63%6F%6D">&#114;&#101;&#105;&#109;&#97;&#114;&#64;&#114;&#101;&#105;&#109;&#97;&#114;&#112;&#98;&#46;&#99;&#111;&#109;</a> <a href="xmpp://%72%65%69%6D%61%72%40%72%65%69%6D%61%72%70%62%2E%63%6F%6D">&#114;&#101;&#105;&#109;&#97;&#114;&#64;&#114;&#101;&#105;&#109;&#97;&#114;&#112;&#98;&#46;&#99;&#111;&#109;</a>
<br><br> <br><br>
<div class="title">Donate</div> <h1>Donate</h1>
<label for="bitcoin"> <label for="bitcoin">
<small>Bitcoin</small> <small>Bitcoin</small>

View File

@ -120,10 +120,8 @@ a:hover {
line-height: 1.5; line-height: 1.5;
} }
/* Like H1 but without the extra line breaks */ h1, h2 {
.title { margin: 0;
font-size: 2em;
font-weight: bold;
} }
/* Sections */ /* Sections */

View File

@ -2,8 +2,7 @@
<div id="sidebar" class="inline-block"> <div id="sidebar" class="inline-block">
<aside> <aside>
<div class="container" style="font-size: 14px;"> <div class="container" style="font-size: 14px;">
<b style="font-size: 20px;">Theme</b> <h2>Theme</h2>
<br>
<?php <?php
// List of themes and a condition to test if it's deselected (!) // List of themes and a condition to test if it's deselected (!)
$themes = [ $themes = [

View File

@ -17,7 +17,7 @@
<main> <main>
<div class="section container"> <div class="section container">
<div class="title">Welcome</div> <h1>Welcome</h1>
<span>I'm <?= $age == 18 ? "an" : "a" ?> <?= $age ?> year old programmer from Denmark</span> <span>I'm <?= $age == 18 ? "an" : "a" ?> <?= $age ?> year old programmer from Denmark</span>
<br> <br>
@ -37,7 +37,7 @@
</div> </div>
<div class="section container"> <div class="section container">
<div class="title">Projects</div> <h1>Projects</h1>
<hr> <hr>
<img src="/assets/icons/popup-timer.ico" class="pixelated icon" alt="Popup Timer"><b>Popup Timer</b> <img src="/assets/icons/popup-timer.ico" class="pixelated icon" alt="Popup Timer"><b>Popup Timer</b>