Compare commits

..

No commits in common. "b9443bc9a139e0c2fee9df3df125a742cde55c60" and "ab6ff76d96b0fb4d1d1da2af7bb3b154d9483efb" have entirely different histories.

2 changed files with 27 additions and 25 deletions

View file

@ -25,6 +25,7 @@ body {
font-family: serif; font-family: serif;
} }
/*noinspection CssUnknownTarget*/
body::before { body::before {
content: ""; content: "";
position: fixed; position: fixed;
@ -85,6 +86,8 @@ div.page-container > div {
padding: 10px; padding: 10px;
border: var(--border); border: var(--border);
margin-bottom: 20px; margin-bottom: 20px;
/* temporary */
/* height: 600px; */
} }
div.page-container > div:last-child { div.page-container > div:last-child {
@ -97,7 +100,6 @@ div#header {
grid-template-rows: 1fr; grid-template-rows: 1fr;
grid-column-gap: 15px; grid-column-gap: 15px;
grid-row-gap: 0px; grid-row-gap: 0px;
align-items: center;
} }
div#header img { div#header img {
@ -139,6 +141,24 @@ div#footer div:last-child {
text-align: right; text-align: right;
} }
/* -------------------------------------------------------------------------- */
table.almanac td:nth-child(odd) {
font-weight: bold;
}
table.almanac td {
padding: 0 10px;
}
table.almanac td:nth-child(even) {
padding: 0 15px;
}
table.almanac {
min-width: 100%;
}
table.mx-datatable { table.mx-datatable {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
@ -161,24 +181,6 @@ table.mx-datatable tr td:nth-child(2) {
padding-right: 40px; padding-right: 40px;
} }
/* --------------------------------- Now (/) -------------------------------- */
table.almanac td:nth-child(odd) {
font-weight: bold;
}
table.almanac td {
padding: 0 10px;
}
table.almanac td:nth-child(even) {
padding: 0 15px;
}
table.almanac {
min-width: 100%;
}
table.current-conditions tr td:nth-child(odd) { table.current-conditions tr td:nth-child(odd) {
font-weight: bold; font-weight: bold;
} }

View file

@ -4,13 +4,13 @@
<head> <head>
<?php include("./includes/head.inc.php"); ?> <?php include("./includes/head.inc.php"); ?>
<script> <script>
window.onload = () => { window.onload = () => {
$('#moonImg').attr('src', '/images/moon.png?' + Date.now());
// update the moon image every 20 minutes if the page is left open
setInterval(() => {
$('#moonImg').attr('src', '/images/moon.png?' + Date.now()); $('#moonImg').attr('src', '/images/moon.png?' + Date.now());
// update the moon image every 20 minutes if the page is left open }, 1200000);
setInterval(() => { };
$('#moonImg').attr('src', '/images/moon.png?' + Date.now());
}, 1200000);
};
</script> </script>
</head> </head>