Merge pull request 'main' (#68) from YasinOnm08/interstellar_ai:main into main

Reviewed-on: https://interstellardevelopment.org/code/code/React-Group/interstellar_ai/pulls/68
This commit is contained in:
Patrick 2024-09-30 11:46:41 +02:00
commit 8dbb1c9169
3 changed files with 24 additions and 16 deletions

View file

@ -7,12 +7,14 @@ header{
height: 10vh; height: 10vh;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center;
font-size: 1em; font-size: 1em;
z-index: 999; z-index: 999;
} }
.hamburger{ .hamburger{
position: absolute; position: absolute;
left: 5vw;
display: none; display: none;
flex-direction: column; flex-direction: column;
cursor: pointer; cursor: pointer;
@ -54,7 +56,7 @@ header{
font-size: 0.9em; font-size: 0.9em;
height: 50%; height: 50%;
border-radius: 5px; border-radius: 5px;
padding: 0.2em 15px; padding: 2px 15px;
font-family: var(--font-family); font-family: var(--font-family);
} }
@ -63,7 +65,6 @@ header{
} }
.header-logo{ .header-logo{
margin:auto;
width: 250px; width: 250px;
height: 5vh; height: 5vh;
background-image: url(../../public/img/logo.png); background-image: url(../../public/img/logo.png);

View file

@ -2,23 +2,24 @@
.input { .input {
grid-column: 2/3; grid-column: 2/3;
grid-row: 4/5; grid-row: 4/5;
border-radius: 20px; border-radius: 8px;
background-color: var(--input-background-color); background-color: var(--input-background-color);
padding: 1em; padding: 1em;
margin: 0 1em; padding-left: 0.5em;
margin-bottom: 1em; padding-right: 0;
margin: 0 10px;
margin-bottom: 10px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
height: auto; height: auto;
gap: 10px;
height: 10vh; height: 10vh;
} }
.input input { .input input {
flex-grow: 1; flex-grow: 1;
padding: 5px; padding: 5px;
font-size: 1.2em; font-size: 1em;
border-radius: 8px; border-radius: 8px;
border: 2px solid var(--input-button-color); border: 2px solid var(--input-button-color);
outline: none; outline: none;
@ -34,16 +35,17 @@
} }
.input button { .input button {
padding: 1em; padding: 5px;
margin: 5px; margin: 5px;
margin-left: 0;
background-color: var(--input-button-color); background-color: var(--input-button-color);
color: var(--user-message-text-color); /* Use variable for button text color */ color: var(--user-message-text-color); /* Use variable for button text color */
border: none; border: none;
border-radius: 50%; border-radius: 8px;
font-size: 1.5em; font-size: 1.5em;
cursor: pointer; cursor: pointer;
height: 50px; height: 50px;
width: 50px; width: 75px;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -53,7 +55,7 @@
} }
.input button img { .input button img {
height: 1em; height: 20px;
} }
.input button:hover { .input button:hover {

View file

@ -98,10 +98,9 @@
color: var(--user-message-text-color); /* Use variable for button text color */ color: var(--user-message-text-color); /* Use variable for button text color */
} }
.header-login-button{ .header-logo{
position: absolute; position: relative;
top: 3.5vh; margin-left: -40px;
right: 5vw;
} }
.hamburger.open{ .hamburger.open{
@ -124,17 +123,23 @@
.nav-links.active{ .nav-links.active{
display: flex; display: flex;
height: fit-content;
} }
.nav-btn{ .nav-btn{
width: 100%; width: 100%;
text-align: center; text-align: center;
padding: 10px; padding: 10px;
height: 50px;
} }
.hamburger { .hamburger {
display: flex; display: flex;
} }
.header-login-button{
right: 5vh;
}
} }
/* Responsive adjustments for the settings */ /* Responsive adjustments for the settings */