Setting up base style for page.

This commit is contained in:
ybouane 2024-10-09 14:26:42 -04:00
parent 2b4f959525
commit da80392711
3 changed files with 58 additions and 4 deletions

View file

@ -2,16 +2,27 @@
<html>
<head>
<title>Pulse — Server Status</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet" />
<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=Fira+Sans+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/liquidjs/dist/liquid.browser.min.js"></script>
<script src="client.js" type="text/javascript"></script>
</head>
<body>
<h1>Pulse</h1>
<div id="sites"></div>
<template id="site">
<div class="site">
</div>
</template>
</head>
<body>
<header>
<h1>Pulse</h1>
</header>
<main></main>
<footer>
Powered by <a href="https://github.com/ybouane/pulse">Pulse</a> — Made with 🤍 by <a href="https://x.com/ybouane">@ybouane</a>
</footer>
</body>
</html>

1
static/status.json Normal file
View file

@ -0,0 +1 @@
{}

View file

@ -0,0 +1,42 @@
* {
box-sizing:border-box;
margin:0px;
padding:0px;
}
html {
min-height:100%;
overflow-x:hidden;
}
body {
display:flex;
flex-flow:column nowrap;
align-items: center;
background-color: #212429;
color:#e4e4e4;
gap:15px;
font-family: "Fira Sans Condensed", sans-serif;
padding:20px;
&>h1 {
}
}
a {
color:inherit;
text-decoration-style: dotted;
&:hover {
text-decoration-style:solid;
}
}
header {
}
main {
}
footer {
}