90 lines
1.4 KiB
CSS
90 lines
1.4 KiB
CSS
|
|
/* Header */
|
|
.header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0.5rem 1rem;
|
|
background: linear-gradient(15deg, rgba(10, 114, 40, 1) 55%, rgba(101, 101, 184, 1) 100%);
|
|
}
|
|
|
|
.header-text {
|
|
flex: 1;
|
|
}
|
|
|
|
/* Desktop header text */
|
|
.desktop-text {
|
|
color: white;
|
|
}
|
|
|
|
.mobile-text {
|
|
color: white;
|
|
display: none;
|
|
}
|
|
|
|
/* Movable scrolling text - desktop only */
|
|
.desktop-scroll-text {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.desktop-scroll-text span {
|
|
display: inline-block;
|
|
padding-left: 100%;
|
|
animation: scroll-left 60s linear infinite;
|
|
font-weight: bold;
|
|
color: #004d99;
|
|
}
|
|
|
|
@keyframes scroll-left {
|
|
0% { transform: translateX(0%); }
|
|
100% { transform: translateX(-100%); }
|
|
}
|
|
|
|
/* Main Login Section */
|
|
.login-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 75vh;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.login-image {
|
|
flex: 1 1 400px;
|
|
min-width: 300px;
|
|
height: 400px;
|
|
margin: 1rem;
|
|
}
|
|
|
|
.login-card {
|
|
flex: 1 1 300px;
|
|
min-width: 280px;
|
|
margin: 1rem;
|
|
}
|
|
|
|
/* Responsive - Mobile */
|
|
@media (max-width: 768px) {
|
|
.desktop-text { display: none; }
|
|
.mobile-text { display: block; }
|
|
|
|
.desktop-scroll-text { display: none; }
|
|
|
|
.login-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.login-image {
|
|
height: 250px;
|
|
margin: 0.5rem 0;
|
|
}
|
|
}
|