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">
<main>
<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>
<br>
<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>
<br><br>
<div class="title">Donate</div>
<h1>Donate</h1>
<label for="bitcoin">
<small>Bitcoin</small>

View File

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

View File

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

View File

@ -17,7 +17,7 @@
<main>
<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>
<br>
@ -37,7 +37,7 @@
</div>
<div class="section container">
<div class="title">Projects</div>
<h1>Projects</h1>
<hr>
<img src="/assets/icons/popup-timer.ico" class="pixelated icon" alt="Popup Timer"><b>Popup Timer</b>