fix: Remodel profile card in header

This commit is contained in:
moanos [he/him] 2024-05-31 09:58:41 +02:00
parent a675531aaf
commit 6d55eba2c2

View File

@ -1,6 +1,7 @@
:root { :root {
--primary-light-one: #5daa68; --primary-light-one: #5daa68;
--primary-light-two: #4a9455; --primary-light-two: #4a9455;
--primary-semidark-one: #356c3c;
--primary-dark-one: #17311b; --primary-dark-one: #17311b;
--secondary-light-one: #faf1cf; --secondary-light-one: #faf1cf;
--secondary-light-two: #e1d7b5; --secondary-light-two: #e1d7b5;
@ -10,6 +11,7 @@
--background-four: var(--primary-dark-one); --background-four: var(--primary-dark-one);
--highlight-one: var(--primary-dark-one); --highlight-one: var(--primary-dark-one);
--highlight-one-text: var(--secondary-light-one); --highlight-one-text: var(--secondary-light-one);
--highlight-two: var(--primary-semidark-one);
--text-one: var(--secondary-light-one); --text-one: var(--secondary-light-one);
--shadow-one: var(--primary-dark-one); --shadow-one: var(--primary-dark-one);
--text-two: var(--primary-dark-one); --text-two: var(--primary-dark-one);
@ -102,7 +104,7 @@ h1, h2 {
.header-right select { .header-right select {
width: 100%; width: 100%;
padding: 8px 10px; padding: 10px;
border: none; border: none;
border-radius: 4px; border-radius: 4px;
opacity: 1; opacity: 1;
@ -112,12 +114,33 @@ h1, h2 {
.header-right select.option { .header-right select.option {
color: #000; color: #000;
background-color: var(--highlight-one); background-color: var(--highlight-one);
padding: 0 10px;
border: 1px; border: 1px;
} }
.header-right { .header-right {
float: right; float: right;
display: flex;
border-radius: 0px 0px 15px 15px;
background-color: var(--highlight-two);
color: var(--highlight-one-text);
padding: 5px 5px 0px 5px;
height: 67px;
}
.profile-card {
display: flex;
border-radius: 0px 0px 8px 8px;
background-color: var(--highlight-two);
color: var(--highlight-one-text);
button {
width: 100%;
padding: 10px;
border: none;
border-radius: 4px;
opacity: 1;
background-color: var(--secondary-light-one);
}
} }
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {