Nice login

This commit is contained in:
2025-07-09 12:00:03 -05:00
parent 3d55565a45
commit c9a5b79c3c
25 changed files with 172 additions and 237 deletions
+1
View File
@@ -0,0 +1 @@
<svg class="border shadow-md dark:border-slate-700" viewBox="0 0 1382.968888888889 777.92" style="width: 1382.97px; height: 777.92px;" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><rect class="bg" id="bg" x="0" y="0" width="1382.968888888889" height="777.92" fill="#000000"/><g transform="rotate(45 691.4844444444445 388.96)"><path d="M -691.48 607.92 S -355.74 500.92&#xA; 0.00 607.92 204.48 497.92&#xA; 691.48 607.92 1027.23 592.92&#xA; 1382.97 607.92 1718.71 547.92&#xA; 2074.45 607.92 h 110 V 1377.92 H -691.48 Z" fill="#e92560"/><path d="M -691.48 195.00 S -355.74 107.50&#xA; 0.00 195.00 69.48 107.50&#xA; 691.48 195.00 1027.23 40.00&#xA; 1382.97 195.00 1718.71 107.50&#xA; 2074.45 195.00 h 110 V -600 H -691.48 Z" fill="#681a92"/></g></svg>

After

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 264 KiB

+79
View File
@@ -0,0 +1,79 @@
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-BoldItalic.ttf') format('truetype');
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Roboto Condensed';
src: url('assets/font/Roboto_Condensed-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'Roboto Condensed';
src: url('assets/font/Roboto_Condensed-ExtraLightItalic.ttf') format('truetype');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-SemiBoldItalic.ttf') format('truetype');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
}
@font-face {
font-family: 'Roboto';
src: url('assets/font/Roboto-ExtraBoldItalic.ttf') format('truetype');
font-weight: 800;
font-style: italic;
}
body {
font-family: 'Roboto', 'Roboto Condensed', sans-serif;
font-weight: normal;
font-style: normal;
color: #ffffff;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-20
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 23 KiB

+50 -89
View File
@@ -1,107 +1,68 @@
/* App-wide styling */
body {
background-color: #0f1116;
color: #ffffff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 20px;
}
#hero {
margin: 0;
#login_wrapper {
position: relative;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
}
#links {
width: 400px;
text-align: left;
font-size: x-large;
#background_img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
#login_container {
background-color: rgba(138, 138, 138, 0.143);
border-radius: 20px;
backdrop-filter: blur(20px);
padding: 38px;
margin: auto;
width: max-content;
height: max-content;
z-index: 1;
}
.field {
background-color: rgba(138, 138, 138, 0.353);
border: none;
border-radius: 10px;
height: 40px;
width: 350px;
color: white;
display: flex;
flex-direction: column;
padding-left: 10px;
padding-right: 10px;
}
#links a {
color: white;
text-decoration: none;
margin-top: 20px;
margin: 10px 0px;
border: white 1px solid;
border-radius: 5px;
padding: 10px;
.field:focus {
border: none;
outline: 1px solid white;
}
#links a:hover {
background-color: #1f1f1f;
cursor: pointer;
body {
margin: 0;
padding: 0;
}
#header {
max-width: 1200px;
}
/* Navbar */
#navbar {
display: flex;
flex-direction: row;
}
#navbar a {
color: #ffffff;
margin-right: 20px;
text-decoration: none;
transition: color 0.2s ease;
}
#navbar a:hover {
cursor: pointer;
color: #91a4d2;
}
/* Blog page */
#blog {
margin-top: 50px;
}
#blog a {
color: #ffffff;
margin-top: 50px;
}
/* Echo */
#echo {
width: 360px;
h1 {
width: max-content;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
background-color: #1e222d;
padding: 20px;
border-radius: 10px;
}
#echo>h4 {
margin: 0px 0px 15px 0px;
}
#echo>input {
border: none;
border-bottom: 1px white solid;
background-color: transparent;
color: #ffffff;
transition: border-bottom-color 0.2s ease;
outline: none;
button {
display: block;
padding: 0px 0px 5px 0px;
width: 100%;
}
#echo>input:focus {
border-bottom-color: #6d85c6;
}
#echo>p {
margin: 20px 0px 0px auto;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
width: max-content;
padding: 8px;
padding-left: 18px;
padding-right: 18px;
}
View File