This commit is contained in:
Filip Rojek 2023-03-05 14:35:00 +01:00
parent 83bde93db5
commit f56d502854
5 changed files with 14 additions and 13 deletions

View File

@ -1,18 +1,11 @@
.content {
margin-block: auto;
}
.home { .home {
font-family: 'Source Code Pro', monospace;
background: black;
color: white;
font-size: 1.2rem; font-size: 1.2rem;
height: 100vh height: 100;
max-height: -webkit-fill-available;
max-width: 100vw;
overflow: hidden;
} }
.home section { .home section {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
text-align: center; text-align: center;
} }
.home a { .home a {

View File

@ -8,6 +8,10 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100vh; min-height: 100vh;
font-family: 'Source Code Pro', monospace;
background: black;
color: white;
border: 1px solid purple;
} }
.nav { .nav {
@ -24,7 +28,10 @@ body {
footer { footer {
display: flex; display: flex;
width: 100vw;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
align-self: flex-end; align-self: flex-end;
border: 1px solid cyan;
margin-top: auto;
} }

BIN
v4/img/fr.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -58,12 +58,12 @@ if($prod) { ?>
<?php } ?> <?php } ?>
<title><?= $title ?></title> <title><?= $title ?></title>
<link rel="icon" type="image/x-icon" href="/img/fr.ico" />
<link rel="canonical" href="<?= $canonical ?>" /> <link rel="canonical" href="<?= $canonical ?>" />
<link rel="stylesheet" href="/css/style.css"> <link rel="stylesheet" href="/css/style.css">
</head> </head>
<body> <body>
<?php <?php
require_once("./components/header.php"); require_once("./components/header.php");
?> ?>
<section class="content"> <section class="content">

View File

@ -1,5 +1,5 @@
<link rel="stylesheet" href="./css/home.css" >
<section class="home"> <section class="home">
<link href="./css/home.css" rel="stylesheet">
<section> <section>
<p>Filip Rojek &ltfilip(at)filiprojek.cz&gt</p> <p>Filip Rojek &ltfilip(at)filiprojek.cz&gt</p>
<br> <br>
@ -31,3 +31,4 @@
pgpmobile.addEventListener("click", e => pgpcp) pgpmobile.addEventListener("click", e => pgpcp)
</script> </script>
</section> </section>