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"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<title>The App</title> <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> </head>
<body> <body>

View file

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

View file

@ -5,9 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<title>The App - download page</title> <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> </head>
<body> <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"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<title>The App</title> <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> </head>
<body> <body>
<div class="main_container"> <div class="main_container">
<div class="head"> <div class="head">

View file

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

View file

@ -5,15 +5,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../style.css"> <link rel="stylesheet" href="../style.css">
<title>The App</title> <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> </head>
<body> <body>
<div class="page_container"> <div class="page_container">
<div class="nav_box"> <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> <h2>News</h2>
<!-- burger menu --> <!-- burger menu -->

View file

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