Skip to content

Commit

Permalink
Register Now Button Text Disappears in Dark Mode or Themed View Priya…
Browse files Browse the repository at this point in the history
  • Loading branch information
thedarkking01 committed Oct 19, 2024
1 parent 1dfa80b commit 09d5ec7
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 6 deletions.
6 changes: 4 additions & 2 deletions assets/css/darkmode.css
Original file line number Diff line number Diff line change
Expand Up @@ -1474,14 +1474,16 @@ textarea {
button {
margin: auto;
padding: 10px;
background-color: #007bff;
font-weight: bold;
font-size:large;
background-color: #eaecee;
color: var(--black);
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
background-color: #b7c0ca;
}
@media (max-width: 992px) {
.footer-logo-text {
Expand Down
39 changes: 39 additions & 0 deletions assets/css/registor_btn.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.register-b {
display: inline-block;
border-radius: 4px;
background-color: #3d405b;
border: none;
color: #FFFFFF;
text-align: center;
font-size: 17px;
padding: 16px;
width: 130px;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
}

.register-b span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}

.register-b span:after {
content: '»';
position: absolute;
opacity: 0;
top: 0;
right: -15px;
transition: 0.5s;
}

.register-b:hover span {
padding-right: 15px;
}

.register-b:hover span:after {
opacity: 1;
right: 0;
}
8 changes: 5 additions & 3 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1838,15 +1838,17 @@ textarea {
}
button {
padding: 15px;
background-color: #007bff;
color: white;
background-color: #eef1f4;
font-weight: bold;
font-size: large;
color: rgb(39, 37, 37);
border: none;
border-radius: 5px;
cursor: pointer;
}

button:hover {
background-color: #0056b3;
background-color: #dbdfe4;
}

@media (max-width: 1037px) {
Expand Down
25 changes: 24 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

<!-- Animation on Scroll -->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link rel="stylesheet" href="registor_btn.css" />

<body>

Expand Down Expand Up @@ -836,11 +837,33 @@ <h2 class="" id="cta-label" data-aos="zoom-in">
Education Is About Creating Leaders For Tomorrow
</h2>

<a href="signin.html" class="cta-btn" data-aos="fade-left">Register Today</a>

<!-- <a href="signin.html" class="register-button" data-aos="fade-left">Register Today</a> -->

<!-- <div class="c1-button">
<button onclick="window.location.href='signin.html'">
Register Today
</button>
</div> -->

<button class="register-b">
<span onclick="window.location.href='signin.html'">Register Today</span>
</button>
</div>
</section>


<!-- <section class="cta-section" aria-labelledby="cta-heading">
<div class="cta-wrapper">
<h2 class="cta-title" id="cta-heading" data-aos="zoom-in">
Education Is About Creating Leaders For Tomorrow
</h2>
<a href="signin.html" class="cta-button" data-aos="fade-left">Register Today</a>
</div>
</section> -->



<!-- Live Counting -->

<div class="container livecounting">
Expand Down

0 comments on commit 09d5ec7

Please sign in to comment.