Merge remote-tracking branch

This commit is contained in:
Anton Kupriianov 2025-05-07 13:10:14 -07:00
commit dd9b9c4ad6
7 changed files with 320 additions and 135 deletions

View file

@ -1,7 +1,11 @@
.assignment-page {
max-width: 600px;
margin: auto;
max-width: 100%;
padding: 20px;
margin-top: 70rem;
overflow-x: hidden;
overflow-y: auto;
min-height: 100vh;
box-sizing: border-box;
form {
margin-bottom: 20px;
@ -44,32 +48,97 @@
}
}
.project-list {
margin-top: 2rem;
// .project-list {
// display: grid;
// grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
// gap: 1.5rem;
// margin-top: 2rem;
// padding-bottom: 3rem;
// .project-item {
// background: #ffffff;
// border: 1px solid #e0e0e0;
// border-radius: 12px;
// padding: 1.5rem;
// box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
// transition: transform 0.2s ease, box-shadow 0.2s ease;
// .project-meta {
// margin-bottom: 0.75rem;
// strong {
// color: #34495e;
// }
// }
// h4 {
// margin: 0.5rem 0;
// font-size: 1.2rem;
// color: #2d3436;
// }
// p {
// margin: 0.25rem 0;
// color: #555;
// line-height: 1.4;
// strong {
// color: #2d3436;
// }
// }
// .action-buttons {
// display: flex;
// gap: 0.5rem;
// margin-top: 0.75rem;
// button {
// background-color: #f4f4f4;
// border: 1px solid #ddd;
// border-radius: 6px;
// padding: 0.4rem 0.8rem;
// cursor: pointer;
// font-size: 0.9rem;
// &:hover {
// background-color: #e9ecef;
// }
// &:nth-child(1) {
// color: #2c3e50;
// }
// &:nth-child(2) {
// color: #c0392b;
// }
// &:nth-child(3) {
// color: #16a085;
// }
// }
// }
// }
// }
h3 {
color: #4a90e2;
}
.project-list {
display: grid;
grid-template-columns: repeat(3, 1fr); // exactly 2 columns
gap: 1.5rem;
margin-top: 2rem;
padding-bottom: 3rem;
.project-item {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease, box-shadow 0.2s ease;
// &:hover {
// transform: translateY(-2px);
// box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
// }
overflow-wrap: break-word;
box-shadow: rgb(211, 0, 197) 0px 0px 15px, rgb(255, 42, 109) 0px 0px 25px;
.project-meta {
justify-content: space-between;
align-items: center;
margin-bottom: 0.75rem;
flex-wrap: wrap;
strong {
color: #34495e;
@ -104,7 +173,6 @@
padding: 0.4rem 0.8rem;
cursor: pointer;
font-size: 0.9rem;
transition: background-color 0.2s ease;
&:hover {
background-color: #e9ecef;
@ -126,6 +194,7 @@
}
}
.modal-overlay {
position: fixed;
@ -138,6 +207,7 @@
align-items: center;
justify-content: center;
z-index: 1000;
overflow: hidden;
}
.modal {
@ -148,6 +218,7 @@
width: 100%;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
animation: fadeIn 0.3s ease;
overflow: auto;
}
.modal h3 {
@ -235,4 +306,104 @@
transform: translateY(0);
}
}
}
}
.assignment-header-box {
background: #0f0f1a;
border: 2px solid #00bfff;
border-radius: 12px;
padding: 50px;
text-align: center;
margin-bottom: 2rem;
// box-shadow: 0 0 20px #00bfff;
box-shadow: rgb(211, 0, 197) 0px 0px 15px, rgb(255, 42, 109) 0px 0px 25px;
border: 1px solid rgb(211, 0, 197);
animation: pulseNeonBlue 2s infinite alternate;
h2 {
color: #00bfff;
margin-bottom: 1rem;
font-weight: bold;
// text-shadow: rgb(5, 217, 232) 0px 0px 5px;
}
button {
background-color: #000;
border: 2px solid #00bfff;
color: #00bfff;
padding: 10px 20px;
border-radius: 8px;
cursor: pointer;
font-size: 1rem;
font-weight: bold;
transition: all 0.3s ease;
&:hover {
background-color: #00bfff;
color: #000;
}
}
}
// @keyframes pulseNeonBlue {
// from {
// box-shadow: 0 0 10px #00bfff, 0 0 20px #00bfff;
// }
// to {
// box-shadow: 0 0 25px #00bfff, 0 0 40px #00bfff;
// }
// }
@keyframes pulseNeonHybrid {
from {
box-shadow:
0 0 10px rgba(211, 0, 197, 0.7),
0 0 20px rgba(255, 42, 109, 0.7),
0 0 10px rgba(0, 191, 255, 0.7);
}
to {
box-shadow:
0 0 25px rgba(211, 0, 197, 0.9),
0 0 40px rgba(255, 42, 109, 0.9),
0 0 30px rgba(0, 191, 255, 0.9);
}
}
.assignment-list-box {
margin-top: 40px;
h3 {
font-size: 1.5rem;
margin-bottom: 20px;
}
.assignment-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.assignment-card {
background: #f5f5f5;
padding: 20px;
border-radius: 12px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
transition: all 0.3s ease;
p {
margin: 6px 0;
}
a {
color: #2c7be5;
text-decoration: underline;
word-break: break-word;
}
&:hover {
transform: translateY(-4px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
}
}