willy.club/views/templates/blog/header.php

65 lines
1.5 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog</title>
</head>
<body>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
color: #fff;
background: #181818;
margin: 0;
line-height: 1.5;
}
a {
color: #457de6;
}
.container {
max-width: 50rem;
margin: auto;
padding-left: 1rem;
padding-right: 1rem;
}
main {
animation: enter .3s;
}
@keyframes enter {
from { opacity: 0; }
to { opacity: 1; }
}
</style>
<header style="
padding-top: 1rem;
padding-bottom: 1rem;
background: #181818;
">
<nav class="container">
<a href="./">MY FUCKING BLOG</a>
</nav>
</header>
<div style="
background: #000;
padding-top: 2rem;
padding-bottom: 2rem;
">
<div class="container">
<h1 style="
color: transparent;
background: linear-gradient(90deg, rgba(119,119,255,1) 0%, rgba(44,170,255,1) 65%, rgba(119,119,255,1) 100%);
background-clip: text;
-webkit-background-clip: text;
font-size: 3rem;
max-width: max-content;
">MY FUCKING BLOG</h1>
<p>Wasting your limited time by reading this</p>
</div>
</div>
<main class="container">