Updated a lot
This commit is contained in:
+11
-8
@@ -3,12 +3,15 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?= isset($title) ? htmlspecialchars($title) . ' — sistav.com' : 'sistav.com' ?></title>
|
||||
<title><?= isset($title) ? htmlspecialchars($title) : 'sistav.com' ?></title>
|
||||
<?php if (isset($description)): ?>
|
||||
<meta name="description" content="<?= htmlspecialchars($description) ?>">
|
||||
<?php endif; ?>
|
||||
<link rel="icon" href="/assets/favicon/favicon.ico" sizes="any">
|
||||
<link rel="apple-touch-icon" href="/assets/favicon/apple-touch-icon.png">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display&display=swap" rel="stylesheet">
|
||||
<link href="https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,600,700&display=swap" rel="stylesheet">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
@@ -21,21 +24,21 @@
|
||||
</script>
|
||||
<style>
|
||||
/* Global text softening */
|
||||
body { color: #e6dfd8 !important; background-color: #0b0a09 !important; }
|
||||
body { color: #e6dfd8 !important; background-color: #0b0a09 !important; font-family: 'Satoshi', sans-serif !important; }
|
||||
|
||||
/* Headings */
|
||||
h1 {
|
||||
font-family: 'DM Serif Display', Georgia, serif !important;
|
||||
font-family: 'ClashDisplay-Variable', sans-serif !important;
|
||||
font-weight: 400 !important;
|
||||
font-size: 2.25rem !important;
|
||||
font-size: 2rem !important;
|
||||
color: #e6dfd8;
|
||||
letter-spacing: -0.01em;
|
||||
letter-spacing: 0.05em;
|
||||
text-align: center;
|
||||
}
|
||||
article h2 {
|
||||
font-family: inherit !important;
|
||||
font-family: 'Satoshi', sans-serif !important;
|
||||
font-weight: 400 !important;
|
||||
font-size: 0.75rem !important;
|
||||
font-size: 1rem !important;
|
||||
color: #d4d4d4 !important;
|
||||
letter-spacing: 0.1em !important;
|
||||
text-transform: uppercase !important;
|
||||
|
||||
+2
-2
@@ -18,9 +18,9 @@ $_nav_pages = [
|
||||
?>
|
||||
<nav class="fixed top-0 left-0 right-0 z-50 bg-[#0a0a0a] border-b border-[#1c1c1c]">
|
||||
<div class="max-w-5xl mx-auto px-4 sm:px-6 flex items-center justify-between h-16">
|
||||
<a href="/" class="text-base font-semibold tracking-wide">sistav.com</a>
|
||||
<a href="/" style="font-family: 'Satoshi', sans-serif; font-size: 1.2rem; font-weight: 600; letter-spacing: 0.02em;">sistav.com</a>
|
||||
|
||||
<div class="hidden md:flex items-center gap-8 text-base">
|
||||
<div class="hidden md:flex items-center gap-8 text-lg">
|
||||
<?php foreach ($_nav_pages as $href => $label): ?>
|
||||
<a href="<?= $href ?>" class="<?= _nav_active($href) ? '' : 'text-neutral-400 hover:text-[#e6dfd8]' ?> transition-colors duration-150"><?= $label ?></a>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user