Add a dark mode
This commit is contained in:
parent
282281db82
commit
04cce1956b
10 changed files with 278 additions and 87 deletions
59
resume.html
59
resume.html
|
|
@ -13,21 +13,32 @@
|
|||
<link rel="icon" href="favicon.ico">
|
||||
|
||||
<!-- theme colors -->
|
||||
<meta name="theme-color" content="#3f51b5"> <!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="msapplication-navbutton-color" content="#3f51b5"> <!-- Windows Phone -->
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <!-- iOS -->
|
||||
<meta name="theme-color" content="#3f51b5">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="msapplication-navbutton-color" content="#3f51b5">
|
||||
<!-- Windows Phone -->
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<!-- iOS -->
|
||||
|
||||
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- Bootstrap -->
|
||||
<link href="font-awesome/css/font-awesome.css" rel="stylesheet"> <!-- font awesome -->
|
||||
<link href="css/main.css" rel="stylesheet"> <!-- Custom styles for this site -->
|
||||
<link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- Bootstrap -->
|
||||
|
||||
<!-- font awesome -->
|
||||
<script defer src="/lib/fontawesome/svg-with-js/js/fa-brands.js"></script>
|
||||
<script defer src="/lib/fontawesome/svg-with-js/js/fa-regular.js"></script>
|
||||
<script defer src="/lib/fontawesome/svg-with-js/js/fa-solid.js"></script>
|
||||
<script src="/lib/fontawesome/svg-with-js/js/fontawesome.js"></script>
|
||||
|
||||
<link href="css/main.css" rel="stylesheet">
|
||||
<!-- Custom styles for this site -->
|
||||
|
||||
<!-- Google Analytics -->
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push(arguments)
|
||||
}, i[r].l = 1 * new Date(); a = s.createElement(o),
|
||||
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
|
||||
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push(arguments)
|
||||
}, i[r].l = 1 * new Date(); a = s.createElement(o),
|
||||
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
|
||||
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
|
||||
|
||||
ga('create', 'UA-105178749-1', 'auto');
|
||||
|
|
@ -38,14 +49,6 @@
|
|||
|
||||
<body>
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="js/jquery-3.2.1.js"></script>
|
||||
<script src="js/popper.js"></script>
|
||||
<script src="bootstrap/js/bootstrap.min.js"></script>
|
||||
|
||||
|
||||
<!-- Fixed navbar -->
|
||||
<nav id="topnav" class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
||||
<div class="container">
|
||||
|
|
@ -68,11 +71,18 @@
|
|||
<li class="nav-item" id="contactlnk">
|
||||
<a class="nav-link" href="contact.html">Contact</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="navbar-nav">
|
||||
<li class="nav-item" id="githublnk">
|
||||
<a class="nav-link" href="https://github.com/NeilBrommer" target="_blank">
|
||||
GitHub <span class="fa fa-external-link"></span>
|
||||
<a class="nav-link" href="https://github.com/NeilBrommer" target="_blank" title="GitHub">
|
||||
<span class="fab fa-github-alt"></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item ml-md-2">
|
||||
<button id="btnTheme" type="button" class="btn btn-dark" aria-pressed="false" autocomplete="off">
|
||||
<span id="themeText" class="fas fa-moon"></span>
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -167,6 +177,15 @@
|
|||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Bootstrap core JavaScript
|
||||
================================================== -->
|
||||
<!-- Placed at the end of the document so the pages load faster -->
|
||||
<script src="lib/jquery/jquery-3.2.1.js"></script>
|
||||
<script src="lib/popper/popper.js"></script>
|
||||
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="js/main.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue