mirror of
https://github.com/AmanTahiliani/PeerNotes.git
synced 2026-08-08 04:06:18 -04:00
Merge branch 'main' into filterpage_sahej
This commit is contained in:
24
frontend/src/styles/App.css
Normal file
24
frontend/src/styles/App.css
Normal file
@@ -0,0 +1,24 @@
|
||||
nav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 1rem 2rem;
|
||||
border: 3px solid #f1f1f1;
|
||||
border-radius: 5px;
|
||||
color: black;
|
||||
background-color: white;
|
||||
}
|
||||
.App {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center; /* If you're centering the content */
|
||||
height: 100vh; /* Full height */
|
||||
margin-top: -100px; /* Move up */
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #0C2D48;
|
||||
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
|
||||
}
|
||||
|
||||
42
frontend/src/styles/Login.css
Normal file
42
frontend/src/styles/Login.css
Normal file
@@ -0,0 +1,42 @@
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
main {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
}
|
||||
h1 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.form-input {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #B1D4E0;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* shadow */;
|
||||
width: 40vh;
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
padding: 8px 16px;
|
||||
margin-top: 20px; /* Adds space above the button */
|
||||
background-color: #2E8BC0; /* Example background color */
|
||||
color: white; /* Text color */
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
|
||||
}
|
||||
63
frontend/src/styles/MainScreenWrapper.css
Normal file
63
frontend/src/styles/MainScreenWrapper.css
Normal file
@@ -0,0 +1,63 @@
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #0C2D48;
|
||||
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
|
||||
}
|
||||
|
||||
.filter-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 20px;
|
||||
background: #B1D4E0;
|
||||
gap: 15;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* shadow */
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 100px; /* Adjust this value as needed */
|
||||
width: auto; /* Keep the logo's aspect ratio */
|
||||
margin-bottom: 15px; /* Gap between logo and search box */
|
||||
}
|
||||
|
||||
.filter-item + .filter-item {
|
||||
margin-top: 20px; /* space between filter items */
|
||||
}
|
||||
|
||||
label {
|
||||
margin-bottom: 5px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.filter-item > select {
|
||||
padding: 8px;
|
||||
border: 1px solid #2E8BC0;
|
||||
border-radius: 4px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.filter-item {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
padding: 8px 16px;
|
||||
margin-top: 20px; /* Adds space above the button */
|
||||
background-color: #2E8BC0; /* Example background color */
|
||||
color: white; /* Text color */
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
|
||||
}
|
||||
|
||||
.submit-button:hover {
|
||||
background-color: #1D6A96; /* Darker shade for hover effect */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user