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 {
font-family: 'Source Code Pro', monospace;
background: black;
color: white;
font-size: 1.2rem;
height: 100vh
max-height: -webkit-fill-available;
max-width: 100vw;
overflow: hidden;
height: 100;
}
.home section {
position: absolute;
top: 50%;
left: 50%;
transform: translateX(-50%) translateY(-50%);
text-align: center;
}
.home a {

View File

@ -8,6 +8,10 @@ body {
display: flex;
flex-direction: column;
min-height: 100vh;
font-family: 'Source Code Pro', monospace;
background: black;
color: white;
border: 1px solid purple;
}
.nav {
@ -24,7 +28,10 @@ body {
footer {
display: flex;
width: 100vw;
justify-content: center;
align-items: center;
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 } ?>
<title><?= $title ?></title>
<link rel="icon" type="image/x-icon" href="/img/fr.ico" />
<link rel="canonical" href="<?= $canonical ?>" />
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<?php
require_once("./components/header.php");
?>
<section class="content">

View File

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