From a95f13943f32c0f5580ff80301f69a2ab549bf7b Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Mon, 14 Oct 2024 17:15:08 +0200 Subject: [PATCH] CSS formatted --- sass/about.scss | 5 ++--- sass/content.scss | 34 +++++++++++++++++----------------- sass/project_list.scss | 1 + sass/style.scss | 18 +++++------------- sass/vars.scss | 1 + 5 files changed, 26 insertions(+), 33 deletions(-) diff --git a/sass/about.scss b/sass/about.scss index b5f2380..6899d01 100644 --- a/sass/about.scss +++ b/sass/about.scss @@ -7,10 +7,9 @@ margin-top: .5rem; margin-bottom: .5rem; } - + p { text-align: justify; } - - } + diff --git a/sass/content.scss b/sass/content.scss index 4bbf9a2..15fbcba 100644 --- a/sass/content.scss +++ b/sass/content.scss @@ -19,24 +19,24 @@ } } - code { - font-size: 1rem; +code { + font-size: 1rem; +} + +ul { + list-style: none; + padding-left: 0; + + li { + position: relative; + padding-left: 1rem; } - ul { - list-style: none; - padding-left: 0; - - li { - position: relative; - padding-left: 1rem; - } - - li::before { - content: '•'; - position: absolute; - left: 0; - color:white; - } + li::before { + content: '•'; + position: absolute; + left: 0; + color:white; } +} diff --git a/sass/project_list.scss b/sass/project_list.scss index 070ed50..e198192 100644 --- a/sass/project_list.scss +++ b/sass/project_list.scss @@ -26,3 +26,4 @@ color: var(--color); } } + diff --git a/sass/style.scss b/sass/style.scss index 52f15e3..a477254 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -56,15 +56,12 @@ nav { } } +a { + color: lightblue; + cursor: pointer; + text-decoration: underline; +} - a { - color: lightblue; - cursor: pointer; - text-decoration: underline; - } - -//a { color: var(--color); } -//a:visited { color: var(--color); } a:hover { color: var(--a-hover); } @media (min-width: 400px) { @@ -74,11 +71,6 @@ a:hover { color: var(--a-hover); } } } -/* -.content { - padding: 2rem 1rem; -} -*/ footer { display: flex; width: 100vw; diff --git a/sass/vars.scss b/sass/vars.scss index 973b2d0..f21b59f 100644 --- a/sass/vars.scss +++ b/sass/vars.scss @@ -12,3 +12,4 @@ --color: var(--c-white); --background: var(--c-gray); } +