diff --git a/css/main.css b/css/main.css index dbcebe3..6708fcf 100644 --- a/css/main.css +++ b/css/main.css @@ -9,7 +9,8 @@ body { display: flex; flex-direction: column; - gap: 5vh; + gap: 4vh; + padding: 1vw; background: var(--main-bg-color); color: var(--main-text-color); font-family: 'Fira Code'; @@ -24,12 +25,13 @@ header { h1 { padding: 3vmin; - background: #141414; + background: var(--button-bg-color);; + border: solid var(--main-text-color); border-radius: 20px; font-family: 'Comfortaa'; } -h2 { +h3 { text-align: center; } @@ -50,19 +52,15 @@ main { } #view { - align-self: center; height: 15vh; width: 30vw; - background: black; + background: var(--button-bg-color);; border-radius: 20px; - color: white; + color: var(--main-text-color);; text-align: right; padding: 5%; box-sizing: border-box; font-size: x-large; - display: flex; - justify-content: center; - align-items: center; } #pad { diff --git a/index.html b/index.html index 99a1c69..c3d6f9e 100644 --- a/index.html +++ b/index.html @@ -18,6 +18,28 @@

A simple calculator implemented in javascript

+
+
+ + + + + + + + + + + + +
+
+ + + + +
+