diff --git a/css/wah.css b/css/wah.css
index 8de105d..950fc1a 100644
--- a/css/wah.css
+++ b/css/wah.css
@@ -94,6 +94,20 @@ div.page-container > div:last-child {
margin-bottom: 0;
}
+div#header {
+ display: grid;
+ grid-template-columns: 66px 1fr;
+ grid-template-rows: 1fr;
+ grid-column-gap: 15px;
+ grid-row-gap: 0px;
+}
+
+div#header img {
+ filter: drop-shadow(2px 2px hsl(0, 0%, 66%));
+ margin-right: 10px;
+ image-rendering: pixelated;
+}
+
div#header h1 {
margin: 0;
font-style: italic;
@@ -118,8 +132,8 @@ div#footer {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: 1fr;
- grid-column-gap: 0px;
- grid-row-gap: 0px;
+ grid-column-gap: 0;
+ grid-row-gap: 0;
align-items: center;
}
@@ -127,14 +141,6 @@ div#footer div:last-child {
text-align: right;
}
-div#footer div:last-child img {
- image-rendering: pixelated;
- margin: 0;
- padding: 0;
- width: 88px;
- height: 31px;
-}
-
/* -------------------------------------------------------------------------- */
table.almanac td:nth-child(odd) {
@@ -153,32 +159,33 @@ table.almanac {
min-width: 100%;
}
-table.conditions-now {
+table.mx-datatable {
+ width: 100%;
border-collapse: collapse;
border: var(--border);
filter: var(--shadow-small);
background-color: var(--background);
}
-table.conditions-now th {
+table.mx-datatable th {
text-align: left;
background-color: var(--background-dim);
border-top: var(--border);
}
-table.conditions-now tr td,
-table.conditions-now tr th {
+table.mx-datatable tr td,
+table.mx-datatable tr th {
padding: 5px 10px 5px 5px;
}
-table.conditions-now tr td:nth-child(2) {
+table.mx-datatable tr td:nth-child(2) {
padding-right: 40px;
}
-table.conditions-now tr td:nth-child(odd) {
+table.current-conditions tr td:nth-child(odd) {
font-weight: bold;
}
-table.conditions-now tr:last-child td:nth-child(3) {
+table.current-conditions tr:last-child td:nth-child(3) {
font-weight: normal;
font-style: italic;
}
diff --git a/images/logo.png b/images/logo.png
new file mode 100644
index 0000000..bbd099b
Binary files /dev/null and b/images/logo.png differ
diff --git a/includes/footer.inc.php b/includes/footer.inc.php
new file mode 100644
index 0000000..18d9835
--- /dev/null
+++ b/includes/footer.inc.php
@@ -0,0 +1,12 @@
+
\ No newline at end of file
diff --git a/includes/head.inc.php b/includes/head.inc.php
new file mode 100644
index 0000000..a2b1f32
--- /dev/null
+++ b/includes/head.inc.php
@@ -0,0 +1,14 @@
+
+
+
+
+Cumulus MX
+
+
+
+
+
+
+
+
+
diff --git a/includes/header.inc.php b/includes/header.inc.php
new file mode 100644
index 0000000..c7787f9
--- /dev/null
+++ b/includes/header.inc.php
@@ -0,0 +1,19 @@
+
diff --git a/index.php b/index.php
index f62fb4f..3ce658a 100644
--- a/index.php
+++ b/index.php
@@ -2,198 +2,164 @@
-
-
-
-
- Cumulus MX
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
-
Almanac
-
-
-
- Dawn: |
- |
- Sun Rise: |
- |
- Moon Rise: |
- |
- Visible %
- |
-
-
- Dusk: |
- |
- Sun Set: |
- |
- Moon Set: |
- |
-
-
- Daylight: |
- |
- Day Length: |
- |
- Moon Phase: |
- |
-
-
-
-
-
Conditions at local time
-
-
- Temperature and Humidity |
-
-
- Temperature |
-
- |
- Dew Point |
-
- |
-
-
- Windchill |
-
- |
- Humidity |
- % |
-
-
- Heat Index |
- |
- Feels
- Like |
-
- |
-
-
- Temp change last hour |
- |
- |
- |
-
-
- Rainfall |
-
-
- Rainfall Today |
-
- |
- Rainfall Rate |
- /hr
- |
-
-
- Rainfall This Month |
-
- |
- Rainfall This Year |
-
- |
-
-
- Rainfall Last Hour |
-
- |
- Last rainfall |
- |
-
-
- Rainfall Since Midnight |
- |
- Rainfall Last 24 Hours |
-
- |
-
-
- Wind |
-
-
- Wind Speed (gust) |
-
- |
- Wind Speed (avg) |
-
- |
-
-
- Wind Bearing |
- °
- |
- Beaufort |
- |
-
-
- Wind Variation (last 10 minutes) |
- From ° to ° |
-
-
- Pressure (sea
- level) |
-
-
- Barometer |
-
- |
- |
- /hr |
-
-
-
-
-
+
+
+
+
Almanac
+
+
+
+ Dawn: |
+ |
+ Sun Rise: |
+ |
+ Moon Rise: |
+ |
+ Visible
+ %
+ |
+
+
+ Dusk: |
+ |
+ Sun Set: |
+ |
+ Moon Set: |
+ |
+
+
+ Daylight: |
+ |
+ Day Length: |
+ |
+ Moon Phase: |
+ |
+
+
+
+
+
Conditions at local time
+
+
+ Temperature and Humidity |
+
+
+ Temperature |
+
+ |
+ Dew Point |
+
+ |
+
+
+ Windchill |
+
+ |
+ Humidity |
+ % |
+
+
+ Heat Index |
+ |
+ Feels
+ Like |
+
+ |
+
+
+ Temp change last hour |
+
+ |
+ |
+ |
+
+
+ Rainfall |
+
+
+ Rainfall Today |
+
+ |
+ Rainfall Rate |
+ /hr
+ |
+
+
+ Rainfall This Month |
+
+ |
+ Rainfall This Year |
+
+ |
+
+
+ Rainfall Last Hour |
+
+ |
+ Last rainfall |
+ |
+
+
+ Rainfall Since Midnight |
+ |
+ Rainfall Last 24 Hours |
+
+ |
+
+
+ Wind |
+
+
+ Wind Speed (gust) |
+
+ |
+ Wind Speed (avg) |
+
+ |
+
+
+ Wind Bearing |
+ °
+ |
+ Beaufort |
+ |
+
+
+ Wind Variation (last 10 minutes) |
+ From ° to ° |
+
+
+ Pressure (sea
+ level) |
+
+
+ Barometer |
+
+ |
+ |
+ /hr
+ |
+
+
+
Page data updated
+
+
+
-
+