Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
SapiensAnatis committed Jun 7, 2024
1 parent 07e32b4 commit c2c2cf5
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions MaintenanceWorker/src/web/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,21 @@
<title>Dawnshard</title>
<style>
h1 {
font-family: sans-serif;
font-weight: 500;
font-size: 2rem;
font-weight: bolder;
font-size: 3rem;
}

h2 {
font-family: sans-serif;
font-weight: 400;
font-size: 1.5rem;
font-weight: bold;
font-size: 2rem;
}

p {
font-family: sans-serif;
font-weight: 300;
font-size: 1rem;
font-size: 1.25rem;
margin: 0;
}

.end-time {
text-align: center;
height: 300px;
}

Expand All @@ -47,11 +42,13 @@
}

body {
font-family: sans-serif;
color: whitesmoke;
background-color: #1a264c;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

br {
Expand Down Expand Up @@ -83,7 +80,7 @@
const dateObj = new Date(timestamp * 1000);
document.getElementById("date").textContent = dateObj.toLocaleString(undefined, {
dateStyle: "medium",
timeStyle: "medium"
timeStyle: "short"
});
}
</script>
Expand Down

0 comments on commit c2c2cf5

Please sign in to comment.