Skip to content

Commit

Permalink
added back button for login and register pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
msv6264 committed Jan 12, 2025
1 parent cb62e02 commit 6b02915
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
10 changes: 10 additions & 0 deletions login.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@
--login-link-color: aqua;
}

.back-button{
position: absolute;
background-color: transparent;
border: none;
font-size: 30px;
margin-right: 90%;
margin-bottom: 40%;
color: var(--login-link-color);
cursor: pointer;
}

.theme-converter{
position: absolute;
Expand Down
5 changes: 5 additions & 0 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@

</head>
<body>

<button class="back-button" onclick="window.history.back();">
<i class="fas fa-arrow-left"></i>
</button>

<div class="container">
<div class="theme-converter">
<li><label class="theme-switch">
Expand Down
11 changes: 11 additions & 0 deletions register.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,17 @@ min-height: 100vh;
background-color: var(--body-bg);
}

.back-button{
position: absolute;
background-color: transparent;
border: none;
font-size: 30px;
margin-right: 90%;
margin-bottom: 40%;
color: var(--login-link-color);
cursor: pointer;
}

.theme-converter{
margin-left: 83%;
margin-top: -2%;
Expand Down
3 changes: 3 additions & 0 deletions register.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@
</style>

<body>
<button class="back-button" onclick="window.history.back();">
<i class="fas fa-arrow-left"></i>
</button>

<div class="theme-converter">
<li><label class="theme-switch">
Expand Down

0 comments on commit 6b02915

Please sign in to comment.