style: Clean up and improve styling
This commit is contained in:
parent
58f7f09fbd
commit
6c23b77056
@ -4,6 +4,9 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>LMS Prototype</title>
|
<title>LMS Prototype</title>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
|
||||||
<link rel="stylesheet" href="/src/style.css">
|
<link rel="stylesheet" href="/src/style.css">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -12,40 +12,41 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-family: sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.login-container {
|
.login-container {
|
||||||
background-image: url('./assets/images.jpg'); /* Replace with your logo path */
|
background-image: url('./assets/images.jpg');
|
||||||
|
/* Replace with your logo path */
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: center top; /* Center the logo at the top */
|
background-position: center top;
|
||||||
background-size: 80x 80px; /* Adjust the size of the logo */
|
/* Center the logo at the top */
|
||||||
padding-top: 60px; /* Add padding to create space for the logo */
|
background-size: 80x 80px;
|
||||||
text-align: center; /* Center text and form elements */
|
/* Adjust the size of the logo */
|
||||||
|
padding-top: 60px;
|
||||||
|
/* Add padding to create space for the logo */
|
||||||
|
text-align: center;
|
||||||
|
/* Center text and form elements */
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
width: 80px; /* Set the width of the logo */
|
width: 80px;
|
||||||
height: 80px; /* Set the height of the logo */
|
/* Set the width of the logo */
|
||||||
border-radius: 50%; /* Make the logo circular */
|
height: 80px;
|
||||||
background-image: url('./assets/images.jpg'); /* Replace with your logo path */
|
/* Set the height of the logo */
|
||||||
background-size: cover; /* Cover the entire area */
|
border-radius: 50%;
|
||||||
margin: 0 auto 20px; /* Center the logo and add space below */
|
/* Make the logo circular */
|
||||||
}
|
background-image: url('./assets/images.jpg');
|
||||||
|
/* Replace with your logo path */
|
||||||
.widget-header {
|
background-size: cover;
|
||||||
|
/* Cover the entire area */
|
||||||
text-align: center; /* Center the text */
|
margin: 0 auto 20px;
|
||||||
margin-top: 20px; /* Space between logo and header */
|
/* Center the logo and add space below */
|
||||||
font-size: 24px; /* Adjust font size as needed */
|
|
||||||
font-weight: bold; /* Make the text bold if desired */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.mb-3 {
|
.mb-3 {
|
||||||
margin-bottom: 15px; /* Space between form groups */
|
margin-bottom: 15px;
|
||||||
}
|
/* Space between form groups */
|
||||||
|
|
||||||
.btn {
|
|
||||||
margin-top: 10px; /* Space above the button */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.scrolling-background {
|
.scrolling-background {
|
||||||
@ -60,16 +61,20 @@ body {
|
|||||||
animation: scroll-bg 30s linear infinite;
|
animation: scroll-bg 30s linear infinite;
|
||||||
z-index: -2;
|
z-index: -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0 auto 20px; /* Center the logo and add space below */
|
margin: 0 auto 20px;
|
||||||
max-width: 100px; /* Adjust the size as needed */
|
/* Center the logo and add space below */
|
||||||
|
max-width: 100px;
|
||||||
|
/* Adjust the size as needed */
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes scroll-bg {
|
@keyframes scroll-bg {
|
||||||
from {
|
from {
|
||||||
background-position: 0 0;
|
background-position: 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
to {
|
to {
|
||||||
background-position: -100% 0;
|
background-position: -100% 0;
|
||||||
}
|
}
|
||||||
@ -94,6 +99,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.widget-header {
|
.widget-header {
|
||||||
|
font-size: 18px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,7 +7,7 @@ export class RegisterWidget extends Widget {
|
|||||||
|
|
||||||
constructor(message?: string) {
|
constructor(message?: string) {
|
||||||
super();
|
super();
|
||||||
this.message = message || "Please register first.. ";
|
this.message = message || "";
|
||||||
}
|
}
|
||||||
|
|
||||||
render(): HTMLElement {
|
render(): HTMLElement {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user