Skip to content

Commit

Permalink
Merge pull request #3983 from Irtesaam/fix-login-page-navbar
Browse files Browse the repository at this point in the history
fixed misalignment in navbar in login page
  • Loading branch information
atmajaa authored Oct 25, 2024
2 parents 662931b + 114a294 commit b41e2b2
Show file tree
Hide file tree
Showing 3 changed files with 477 additions and 484 deletions.
60 changes: 30 additions & 30 deletions assets/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ body {
position: relative;
}


p {

font-size: 15px;
color: #6231ff;

}

.navbar {
width: 100%;
background-color: #000000;
Expand All @@ -71,7 +71,7 @@ p {
.navbar-link {
text-decoration: none;
background-color: none;

}
.navbar-list a{
width: 100%;
Expand All @@ -80,7 +80,7 @@ p {
position: relative;
font-size: 1.55rem;
color: var(--charcoal);
padding: 8px 12px;
padding: 8px 6px;
line-height: 2;
transition: var(--transition-1);
}
Expand Down Expand Up @@ -153,7 +153,7 @@ p {
.message {
color: red;
} */

.form {

display: flex;
Expand All @@ -162,9 +162,9 @@ p {
padding: 35px;
padding-bottom: 0px;
margin-top: -16px;

}

#login-form{
display: flex;
flex-direction: column;
Expand All @@ -186,9 +186,9 @@ p {
text-align: center;
font-family: var(--ff-philosopher);
}

.note h2 {

font-size: 2rem;
/* font-weight: bold;*/
color: #67a5eb;
Expand All @@ -198,7 +198,7 @@ p {
margin-bottom: 15px;

}

.note div {
padding-top: 0.1rem;
font-size: 2.5rem;
Expand Down Expand Up @@ -256,7 +256,7 @@ p {
.light-mode label{
color: black;
}

label {

color: white;
Expand All @@ -269,7 +269,7 @@ label {
text-align: center;

}

input[type="password"]::-webkit-textfield-decoration-container {
display: none;
}
Expand Down Expand Up @@ -359,7 +359,7 @@ input[type="password"]::-ms-reveal {
margin-left: 120px;
/* margin-left: 132px; */
z-index: 1;

overflow: hidden;
}

Expand All @@ -384,7 +384,7 @@ input[type="password"]::-ms-reveal {

#google-sign-in::before,
#google-sign-in::after {

content: "";
position: absolute;
z-index: -1;
Expand Down Expand Up @@ -442,7 +442,7 @@ input[type="password"]::-ms-reveal {
background-color: var(--old-rose);
}


.register label {

color: #3434cc;
Expand All @@ -451,13 +451,13 @@ input[type="password"]::-ms-reveal {
margin-top: -1px;

}

.register label:hover {

color: #000000;

}

#chk:checked ~ .register {
transform: translateY(-60%);
}
Expand Down Expand Up @@ -657,7 +657,7 @@ input[type="password"]::-ms-reveal {
width: 25px;

}

.progress {
height: 3px !important;
}
Expand Down Expand Up @@ -730,18 +730,18 @@ input[type="password"]::-ms-reveal {
z-index: 1000;
transition: top 0.3s;
}

/* Hide the navbar */
.header.hidden {
top: -93px; /* Adjust according to your header height */
}

/* Navbar styling when scrolled */
.header.scrolled {
background-color: #222; /* Change to a darker color when scrolled */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */
}


/**
* Dark Mode
Expand Down Expand Up @@ -821,7 +821,7 @@ body.dark-mode {
color: rgb(208, 153, 160);

}

.light-mode .input{
background: #e6e6e6;
color: rgb(143, 55, 84);
Expand Down Expand Up @@ -882,7 +882,7 @@ body.dark-mode {
.form button
{

color: #fbf7f7;
color: #fbf7f7;
background: rgb(103 165 235);
box-shadow: 0 0 10px rgba(143, 55, 84, 0.5);

Expand Down Expand Up @@ -1104,7 +1104,7 @@ background: transparent !important;
color: rgb(201, 168, 168);

}

.foot-middle ul {
padding: 0;
margin: 0;
Expand All @@ -1131,7 +1131,7 @@ background: transparent !important;

.nav-links ul li {
margin-bottom: 10px;

/* Add some spacing between list items */
}

Expand Down Expand Up @@ -1236,7 +1236,7 @@ input[type="news"] {
input[type="news"]:focus {
border: 2px solid #c27a7e;
}

input[type="submit"] {

width: 100%;
Expand All @@ -1257,7 +1257,7 @@ input[type="submit"] {
cursor: pointer;

}

input[type="submit"]:hover {
background: linear-gradient(to right, #000 50%, #36363b 50%);
background-size: 200% 100%;
Expand Down Expand Up @@ -1396,7 +1396,7 @@ input[type="submit"]:hover {
color:grey;
margin-bottom: 10px;
text-align: center; /* center the text */
width: 100%;
width: 100%;
display: inline-block;
font-weight: bold;
font-family: var(--ff-philosopher)
Expand Down Expand Up @@ -1454,7 +1454,7 @@ input[type="submit"]:hover {
.navbar-item{
/* margin-right: 40px; */
left: auto;

}
.navbar-list{
position: relative;
Expand Down Expand Up @@ -1488,4 +1488,4 @@ input[type="submit"]:hover {
top: -9px;
left: 50px;
}
}
}
Loading

0 comments on commit b41e2b2

Please sign in to comment.