Style improvements.

This commit is contained in:
Trygve 2021-03-17 09:08:34 +01:00
parent 3585325fad
commit 5c3ba05736
2 changed files with 13 additions and 3 deletions

View File

@ -102,11 +102,21 @@ header{
.service-list li a { .service-list li a {
font-size: 1.5rem;
color: var(--text-color);
text-decoration: none;
display: block; display: block;
width: 100%; width: 100%;
height: 100%; height: 100%;
text-align: center; text-align: center;
vertical-align:middle; vertical-align:middle;
display: flex;
align-items: center;
justify-content: center;
}
.service-list li a div {
vertical-align: middle;
} }
#li-nextcloud { background-image: url(./icons/Nextcloud_Logo.svg); } #li-nextcloud { background-image: url(./icons/Nextcloud_Logo.svg); }

View File

@ -18,9 +18,9 @@
<h1>Velkommen til Trygves side!</h1> <h1>Velkommen til Trygves side!</h1>
<h2>Mine prosjekter:</h2> <h2>Mine prosjekter:</h2>
<ul class="service-list"> <ul class="service-list">
<li><a href="/liveresultater/">Liveresultater</a></li> <li><a href="/liveresultater/"><div>Liveresultater</div></a></li>
<li><a href="/fuglekasse/">Fuglekasse</a></li> <li><a href="/fuglekasse/"><div>Fuglekasse</div></a></li>
<li><a href="/filopplasting/">Filopplasting</a></li> <li><a href="/filopplasting/"><div>Filopplasting</div></a></li>
</ul> </ul>
<h2>Tjenester:</h2> <h2>Tjenester:</h2>