Add title font
This commit is contained in:
parent
a18f4ef57f
commit
df4978fe34
BIN
frontend/fonts/PoetsenOne-Regular.ttf
Normal file
BIN
frontend/fonts/PoetsenOne-Regular.ttf
Normal file
Binary file not shown.
@ -3,26 +3,26 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>Temperature Alarm</title>
|
<title>Temperature Alarm</title>
|
||||||
<link rel="stylesheet" href="/styles/frontpage.css">
|
<link rel="stylesheet" href="/styles/frontpage.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<div id="title">
|
<div id="title">
|
||||||
<h1>
|
<h1>
|
||||||
<img id="logo" src="/img/logo.webp" alt="Logo">
|
<img id="logo" src="/img/logo.webp" alt="Logo">
|
||||||
Temperature Alarm
|
Temperature Alarm
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div id="buttons-wrapper">
|
<div id="buttons-wrapper">
|
||||||
<a href="/login">
|
<a href="/login">
|
||||||
<button class="secondary">Login</button>
|
<button class="secondary">Login</button>
|
||||||
</a>
|
</a>
|
||||||
<a href="/register">
|
<a href="/register">
|
||||||
<button class="primary">Sign up</button>
|
<button class="primary">Sign up</button>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "Poetsen One";
|
||||||
|
src: url("/fonts/PoetsenOne-Regular.ttf");
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
@ -14,16 +19,18 @@ main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#logo {
|
#logo {
|
||||||
height: 1em;
|
height: 1em;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.4));
|
filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.4));
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 4rem;
|
font-size: 4rem;
|
||||||
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
|
text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
|
||||||
|
font-family: "Poetsen One";
|
||||||
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#title {
|
#title {
|
||||||
|
Loading…
Reference in New Issue
Block a user