Author SHA1 Message Date
SquadleDude b928b85dad no image 2026-08-03 19:35:30 +03:00
SquadleDude 84b99a8921 Merge pull request #16 from nexiumfit/squadledude-patch-8
no image
2026-08-03 19:34:12 +03:00
SquadleDude b46d48bd32 no image 2026-08-03 19:33:58 +03:00
SquadleDude 557a429115 Merge pull request #15 from nexiumfit/squadledude-patch-8
Delete app/static/img/LoginImage2.png
2026-08-03 17:01:26 +03:00
SquadleDude c63446831b Delete app/static/img/LoginImage2.png 2026-08-03 17:01:15 +03:00
SquadleDude 57e0a2c324 Merge pull request #14 from nexiumfit/squadledude-patch-7
meow
2026-08-03 16:53:32 +03:00
SquadleDude 426bf294d9 meow 2026-08-03 16:53:09 +03:00
SquadleDude 5973b3b921 Merge pull request #13 from nexiumfit/squadledude-patch-6
uh
2026-08-03 16:48:36 +03:00
SquadleDude c26891cd41 uh 2026-08-03 16:48:23 +03:00
SquadleDude 9c8d90174f Merge pull request #12 from nexiumfit/squadledude-patch-5
uh
2026-08-03 16:44:47 +03:00
SquadleDude 554c614da9 uh 2026-08-03 16:44:36 +03:00
SquadleDude e9cc231f48 Merge pull request #11 from nexiumfit/squadledude-patch-4
uh
2026-08-03 16:42:09 +03:00
SquadleDude 131414c35b Refactor signup page layout and logo positioninguh 2026-08-03 16:41:56 +03:00
SquadleDude 0b2cbf4d24 Merge pull request #10 from nexiumfit/squadledude-patch-3
uh
2026-08-03 16:41:26 +03:00
4 changed files with 149 additions and 7 deletions
-1
View File
@@ -37,7 +37,6 @@
<p>Don't have an account? <a href="/signup">Signup</a>
</div>
</div>
<img style="aspect-ratio: 7/4;min-height: 317px;max-height: 390px;" class="d-lg-block d-none" src="/static/img/LoginImage2.png" alt="Login Image">
</div>
</div>
{% endblock %}
+10 -3
View File
@@ -6,10 +6,14 @@
{% endblock %}
{% block content %}
<div id="main">
<div class="signup-wrapper" style="position:relative;">
<!-- logo moved outside the signup card so it can overlap/escape the container -->
<img src="/static/img/LoginLogo.png" alt="NEXIUM" class="logo-outside d-none d-lg-block" />
<div class="signup-row">
<div class="signup-card">
<div class="signup-container d-flex align-items-center justify-content-center">
<div style="padding: 10px;min-width:300px;" class="ps-md-4 pe-md-4">
<h1>Nexium</h1>
<p>2018+ with freedom.</p>
<p class="signup-subtitle">2016+ with freedom.</p>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div>
@@ -41,7 +45,10 @@
<p>Already have an account? <a href="/login">Login</a>
</div>
</div>
<img style="aspect-ratio: 7/4;min-height: 400px;max-height: 550px;" class="d-lg-block d-none" src="/static/img/LoginImage2.png" alt="Signup Image">
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
+136
View File
@@ -11,6 +11,124 @@ body {
min-height: 100vh;
}
.signup-wrapper img {
min-width: 600px:
}
.signup-container {
min-width: 330px;
display: inline-block;
background-color: rgba(25,25,25, 1);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}
/* only align h1 tags */
.signup-container h1 {
text-align: center;
margin-bottom: 0;
font-size: 3.5rem;
font-weight: 700;
}
.signup-container p {
text-align: center;
padding: 0;
margin-bottom: 15px;
font-size: small;
}
.signup-container button {
width: 100%;
font-weight: 600;
font-size: larger;
padding: 3px;
margin-bottom: 0 !important;
color: #fff;
}
.signup-container a {
font-size: small;
font-weight: 400 !important;
}
.col {
padding: 0 !important;
}
#password {
min-width: 300px;
margin-top: 10px;
margin-bottom: 10px;
}
.messagealerts {
background: rgba(255, 0, 0, 0.2);
color: rgb(226, 226, 226);
word-wrap: break-word;
}
.form-text {
/* wrap the text*/
word-wrap: break-word;
}
a {
text-decoration: none !important;
color: rgb(32, 147, 255) !important;
font-weight: 500 !important;
transition: 0.2s;
}
a:hover {
text-decoration: none !important;
color: rgb(3, 133, 255) !important;
transition: 0.2s;
}
/* Logo outside the signup card so it can overlap/escape the container */
.signup-wrapper { position: relative; }
.logo-outside {
position: absolute;
right: -40px; /* push beyond the card -- adjust to taste */
top: 50%;
transform: translateY(-50%);
max-width: 320px;
width: auto;
height: auto;
z-index: 0; /* behind the card; use higher if you want it above */
pointer-events: none;
}
.signup-container { position: relative; z-index: 1; }
.signup-subtitle { text-align: center; margin-bottom: 12px; color: rgba(230,238,248,0.9); font-size: small; }
/* Two-column layout for signup: left card + right visual */
.signup-row {
display: flex;
align-items: stretch;
gap: 0;
background: transparent;
box-shadow: none;
}
.signup-card { flex: 0 0 330px; }
.signup-visual { flex: 1 1 0; }
.signup-visual img { display:block; width:100%; height:100%; object-fit:cover; }
@media (max-width: 992px) {
.signup-row { display: block; }
.signup-card { width: 100%; }
.signup-visual { display: none; }
}body {
background: radial-gradient(circle, #333 10%, transparent 11%),radial-gradient(circle at bottom left, #333 5%, transparent 6%),radial-gradient(circle at bottom right, #333 5%, transparent 6%),radial-gradient(circle at top left, #333 5%, transparent 6%),radial-gradient(circle at top right, #333 5%, transparent 6%);
background-size: 3em 3em;
background-color: rgb(20,20,20);
}
#main {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.signup-container {
min-width: 330px;
display: inline-block;
@@ -100,3 +218,21 @@ a:hover {
.logo-outside { display: none; }
.signup-container { min-width: 320px; }
}
/* Two-column layout for signup: left card + right visual */
.signup-row {
display: flex;
align-items: stretch;
gap: 0;
background: transparent;
box-shadow: none;
}
.signup-card { flex: 0 0 330px; }
.signup-visual { flex: 1 1 0; }
.signup-visual img { display:block; width:100%; height:100%; object-fit:cover; }
@media (max-width: 992px) {
.signup-row { display: block; }
.signup-card { width: 100%; }
.signup-visual { display: none; }
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 KiB