Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

footer changed on toggle #207

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<body>

<nav class="navbar navbar-default navbar-expand-lg bg-white thinner">
<nav class="navbar navbar-default navbar-expand-lg bg-white thinner navcol">
<div class="container-fluid">
<div class="maintitle">
<img src="./img/logo.gif"
Expand Down Expand Up @@ -150,9 +150,9 @@ <h3><span id="d1"></span></h3>

<!-- FOOTER -->
<footer>
<div class="container-fluid my-class">
<div class="container-fluid my-class foot">
<div class="container">
<p class="textfooter">Made with 💝 by Avinash</p>
<p class="textfooter" style="margin-top: 2rem;">Made with 💝 by Avinash</p>

<div>
<ul style="color: white" class="social-links">
Expand Down
6 changes: 6 additions & 0 deletions jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ function setLightTheme() {
$('body').css({ "background": "linear-gradient(to right, #191654, #43C6AC)" })
$('.digit').css({ "color": "white" })
$('#light').prop("checked", false);
$('.foot').css({ "background": "white" });


}

function setDarkTheme() {
Expand All @@ -14,6 +17,9 @@ function setDarkTheme() {
$('.digit').css({ "color": "rgb(216 137 31)" });
$('.buttons').css({ "border-color": "white" });
$('#light').prop("checked", true);
$('.foot').css({ "background": "#a7a7a7 " });


}

var prefersDarkThemeMql = window.matchMedia("(prefers-color-scheme: dark)");
Expand Down
2 changes: 2 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,5 @@ setInterval(() => {
$id('d1').innerHTML = date;
}, 1000);



1 change: 1 addition & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ footer {
align-items: center;
text-decoration-color: white;
text-emphasis-style: bold;

}

.social-links {
Expand Down