Color adjustment

This commit is contained in:
Fred Boniface 2023-10-05 15:17:30 +01:00
parent 1b04a28212
commit 9fe57fce90
9 changed files with 30 additions and 14 deletions

View File

@ -4,12 +4,12 @@
<style> <style>
.card-container { .card-container {
background-color: var(--main-text-color); background-color: var(--second-txt-color);
width: 90%; width: 90%;
height: auto; height: auto;
margin: auto; margin: auto;
padding: 10px 5px 10px 5px; padding: 10px 5px 10px 5px;
border-radius: 10px; border-radius: 0px;
margin-top: 10px; margin-top: 10px;
margin-bottom: 5px; margin-bottom: 5px;
box-shadow: 1px 1px 5px rgba(0,0,0,0.19); box-shadow: 1px 1px 5px rgba(0,0,0,0.19);

View File

@ -24,7 +24,7 @@
<style> <style>
a { a {
text-decoration: none; text-decoration: none;
color: var(--dark-text-color); color: var(--second-bg-color);
} }
.tag-container { .tag-container {

View File

@ -16,6 +16,6 @@
<style> <style>
a { a {
text-decoration: none; text-decoration: none;
color: var(--dark-text-color); color: var(--second-bg-color);
} }
</style> </style>

View File

@ -34,7 +34,7 @@
<style> <style>
.message { .message {
color: var(--light-text-color); color: var(--second-bg-color);
} }
.tag-box { .tag-box {

View File

@ -1,4 +1,4 @@
:root { /*:root {
--main-bg-color: lightslategrey; --main-bg-color: lightslategrey;
--accent-color: rgb(234, 255, 97); --accent-color: rgb(234, 255, 97);
--accent-rollover: yellow; --accent-rollover: yellow;
@ -8,6 +8,22 @@
--dark-text-color: rgb(56, 56, 7); --dark-text-color: rgb(56, 56, 7);
--link-color: cyan; --link-color: cyan;
--link-visited-color: rgb(189, 0, 189); --link-visited-color: rgb(189, 0, 189);
}*/
:root {
--accent-bg-color: #271c19;
--accent-heading-color: #fffffe;
--accent-txt-color: #fff3ec;
--accent-link-color: #9656a1;
--second-bg-color: #55423d;
--second-heading-color: #fffffe;
--second-txt-color: #fff3ec;
--second-link-color: #9656a1;
--main-bg-color: #ffc0ad;
--main-heading-color: #271c19;
--main-txt-color: #271c19;
--main-link-color: #9656a1;
} }
@font-face { @font-face {

View File

@ -19,8 +19,9 @@
padding: 0px; padding: 0px;
padding-bottom: 5px; padding-bottom: 5px;
text-align: center; text-align: center;
background-color: var(--accent-color); background-color: var(--second-bg-color);
box-shadow: 0px 3px 2px rgba(0,0,0,0.19); box-shadow: 0px 3px 2px rgba(0,0,0,0.19);
color: var(--second-txt-color);
} }
h1 { h1 {

View File

@ -39,13 +39,13 @@
height: 42px; height: 42px;
margin: 0; margin: 0;
padding: 0; padding: 0;
background-color: var(--accent-color); background-color: var(--second-bg-color);
} }
nav a { nav a {
float: left; float: left;
display: block; display: block;
color: var(--dark-text-color); color: var(--second-txt-color);
text-align: center; text-align: center;
padding: 10px 15px; padding: 10px 15px;
margin-right: 1px; margin-right: 1px;

View File

@ -9,10 +9,10 @@
<style> <style>
.tag-link { .tag-link {
text-decoration: none; text-decoration: none;
color: var(--dark-text-color); color: var(--second-txt-color);
padding: 3px 5px 3px 5px; padding: 3px 5px 3px 5px;
margin: 10px; margin: 10px;
background-color: var(--accent-color); background-color: var(--main-link-color);
border-radius: 5px; border-radius: 5px;
box-shadow: 1px 1px 2px rgba(0,0,0,0.19); box-shadow: 1px 1px 2px rgba(0,0,0,0.19);
} }

View File

@ -54,8 +54,8 @@
flex-direction: column; /* Start with column layout for mobile */ flex-direction: column; /* Start with column layout for mobile */
align-items: center; align-items: center;
width: 100%; width: 100%;
background-color: var(--main-text-color); background-color: var(--second-txt-color);
color: var(--main-bg-color); color: var(--second-bg-color);
margin: 0; /* Reset margin to ensure full width */ margin: 0; /* Reset margin to ensure full width */
padding: 0; /* Reset padding to ensure full width */ padding: 0; /* Reset padding to ensure full width */
box-sizing: border-box; /* Include padding and border in width calculation */ box-sizing: border-box; /* Include padding and border in width calculation */
@ -65,7 +65,6 @@
#header-text { #header-text {
flex: 1; flex: 1;
max-width: 100%; max-width: 100%;
color: #2b2b2b;
margin: 0; margin: 0;
text-align: center; text-align: center;
} }