local font

This commit is contained in:
Nikita 2024-11-19 18:22:05 +02:00
parent e432efc401
commit 4922152e69
8 changed files with 13 additions and 31 deletions

View file

@ -5,9 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>The App</title>
<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=Geist+Mono:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>

View file

@ -5,9 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>The App</title>
<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=Geist+Mono:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>

View file

@ -5,9 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>The App - download page</title>
<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=Geist+Mono:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>

BIN
font/GeistMono.ttf Normal file

Binary file not shown.

View file

@ -5,10 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>The App</title>
<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=Geist+Mono:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>
<div class="main_container">
<div class="head">

View file

@ -5,9 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>The App</title>
<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=Geist+Mono:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>

View file

@ -5,15 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../style.css">
<title>The App</title>
<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=Geist+Mono:wght@100..900&display=swap" rel="stylesheet">
</head>
<body>
<div class="page_container">
<div class="nav_box">
<a href="index.html" class="logo_home"><img src="../logo.svg" class="logo" alt="logo"></a>
<a href="../index.html" class="logo_home"><img src="../logo.svg" class="logo" alt="logo"></a>
<h2>News</h2>
<!-- burger menu -->

View file

@ -7,29 +7,28 @@ body{
html {
font-size: 100%;
}
.geist-mono-all{
font-family: "Geist Mono", monospace;
font-optical-sizing: auto;
font-weight: 100;
font-style: normal;
@font-face {
font-family: 'GeistMono';
src: url('font/geistmono.ttf') format('truetype');
}
h1{
font-family: "Geist mono";
font-weight: 700;
font-family: "GeistMono";
font-size: 2.5rem;
font-weight: 700;
}
h2{
font-family: "Geist mono";
font-weight: 700;
font-family: "GeistMono";
font-size: 2rem;
font-weight: 700;
}
h3{
font-family: "Geist mono";
font-weight: 700;
font-family: "GeistMono";
font-size: 1.5rem;
font-weight: 700;
}
p, a, ul, li, body{
font-family: "Geist mono";
font-family: "GeistMono";
font-weight: 200;
font-size: 1rem;
}