From 56d9568c22c1bcbe8f8ea0c0f64866205be7465d Mon Sep 17 00:00:00 2001 From: Kushagra J <> Date: Tue, 7 Nov 2023 23:11:54 +0530 Subject: [PATCH] cleaned out --- css/main.css | 22 ++++------------------ index.html | 1 - 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/css/main.css b/css/main.css index 8f98080..d682821 100644 --- a/css/main.css +++ b/css/main.css @@ -8,26 +8,14 @@ } body { - display: flex; - flex-direction: column; - gap: 4vh; background: var(--main-bg-color); color: var(--main-text-color); font-family: 'Fira Code'; + padding: 1vh; } header { - display: flex; - flex-wrap: wrap; - justify-content: space-around; - align-items: center; -} - -h1 { - padding: 3vmin; - background: var(--button-bg-color);; - border: solid var(--main-text-color); - border-radius: 20px; + padding: 4vh; } h3 { @@ -42,10 +30,8 @@ main { .calculator { display: flex; flex-direction: column; - align-content: center; gap: 4vmin; - color: #262626; - background: #d6d6d6; + background: var(--main-text-color); border-radius: 20px; padding: 4vmin; } @@ -58,7 +44,7 @@ main { border-radius: 20px; color: var(--main-text-color);; text-align: right; - padding: 5%; + padding: 6%; box-sizing: border-box; font-size: x-large; margin-top: 2vmin; diff --git a/index.html b/index.html index 34fdbc1..80f2a89 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,6 @@
-

Calculator

A simple calculator implemented in javascript