diff --git a/Cargo.lock b/Cargo.lock
index 2292704..6db540d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2538,7 +2538,7 @@ dependencies = [
[[package]]
name = "tesla-charge-controller"
-version = "1.2.1"
+version = "1.2.2"
dependencies = [
"chrono",
"clap 4.4.11",
diff --git a/Cargo.toml b/Cargo.toml
index 224f51e..db1bccb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "tesla-charge-controller"
-version = "1.2.1"
+version = "1.2.2"
edition = "2021"
license = "MITNFA"
description = "Controls Tesla charge rate based on solar charge data"
diff --git a/webapp/index.html b/webapp/index.html
index e772999..0516ff5 100644
--- a/webapp/index.html
+++ b/webapp/index.html
@@ -3,6 +3,7 @@
+
Tesla Charge Control
diff --git a/webapp/info/index.html b/webapp/info/index.html
index 3a624c2..8358971 100644
--- a/webapp/info/index.html
+++ b/webapp/info/index.html
@@ -3,6 +3,7 @@
+
Tesla Charge Control
diff --git a/webapp/pid/index.html b/webapp/pid/index.html
index e848e1d..fae88ce 100644
--- a/webapp/pid/index.html
+++ b/webapp/pid/index.html
@@ -3,6 +3,7 @@
+
Tesla Charge Control
diff --git a/webapp/regulator/index.html b/webapp/regulator/index.html
index d2eb43b..9ee579d 100644
--- a/webapp/regulator/index.html
+++ b/webapp/regulator/index.html
@@ -3,6 +3,7 @@
+
Tesla Charge Control
diff --git a/webapp/shutoff/index.html b/webapp/shutoff/index.html
index cb17d1c..77b66ca 100644
--- a/webapp/shutoff/index.html
+++ b/webapp/shutoff/index.html
@@ -3,6 +3,7 @@
+
Tesla Charge Control
diff --git a/webapp/style.css b/webapp/style.css
index 5882097..71cb8ba 100644
--- a/webapp/style.css
+++ b/webapp/style.css
@@ -5,9 +5,9 @@ body {
}
.container {
- max-width: 40em;
+ max-width: 40rem;
margin: auto;
- padding: 0.5em 2em;
+ padding: 0.5rem 2rem;
border-radius: 10px;
background-color: #faf9fd;
}
@@ -15,7 +15,7 @@ body {
.outlink {
display: block;
font-weight: bold;
- margin-top: 0.5em;
+ margin-top: 0.5rem;
}
a.outlink {
@@ -38,18 +38,18 @@ a.outlink:hover {
}
.selector {
- padding: 1em;
+ padding: 1rem;
background-color: gray;
color: #333;
width: max-content;
- border: 0.2em;
+ border: 0.2rem;
border-radius: 6px;
}
label {
- padding: 0.5em 1em;
- margin: 0.5em;
+ padding: 0.5rem 1rem;
+ margin: 0.5rem;
font-weight: bold;
transition: all .2s 0s ease;
border-radius: 4px;
@@ -72,9 +72,16 @@ input[type=radio]:disabled+label {
color: #666;
}
+@media (width > 600px) {
+ .container {
+ margin-top: 2rem;
+ }
+}
+
+
@media (prefers-color-scheme: dark) {
body {
- background-color: #222;
+ background-color: #191919;
}
.container {
@@ -84,7 +91,9 @@ input[type=radio]:disabled+label {
a.outlink {
text-decoration: none;
- color: rgb(94, 94, 252);
+ /* color: rgb(152, 152, 242); */
+ color: rgb(125, 125, 250);
+ /* color: rgb(94, 94, 252); */
}
a.outlink:hover {