From 0ce185966de7d12e46c98ea7b35c5e3de054b7d6 Mon Sep 17 00:00:00 2001 From: Liam Swayne Date: Sat, 9 Mar 2024 16:38:13 -0500 Subject: [PATCH] split styles --- site/calculator.html | 34 +--------------------------------- site/styles.css | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 33 deletions(-) create mode 100644 site/styles.css diff --git a/site/calculator.html b/site/calculator.html index 11f14c9..a0fc4a2 100644 --- a/site/calculator.html +++ b/site/calculator.html @@ -4,39 +4,7 @@ CO2 Emissions Calculator - +

CO2 Emissions Calculator

diff --git a/site/styles.css b/site/styles.css new file mode 100644 index 0000000..4dc9708 --- /dev/null +++ b/site/styles.css @@ -0,0 +1,31 @@ +body { + font-family: Arial, sans-serif; + margin: 20px; +} + +input, output { + margin-bottom: 15px; +} + +.tree-slider { + margin-bottom: 30px; + background-color: #aaaaaa; +} + +.result-section, .input-section { + display: flex; + justify-content: flex-start; + align-items: baseline; + margin-bottom: 10px; +} + +input[type=number]::-webkit-inner-spin-button, +input[type=number]::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +input[type=number] { + -moz-appearance: textfield; + appearance: textfield; +} \ No newline at end of file