www/src/layouts/partials/header.html

183 lines
4.1 KiB
HTML
Raw Normal View History

2022-10-28 00:38:59 +03:00
<section class="countdown-section" id="countdown-section">
<button onclick="hideShow()" class="hide small" type="button" name="button">CLOSE</button>
2022-10-27 01:28:50 +03:00
<div class="countdown-container">
2022-10-28 01:23:48 +03:00
<div class="countdown-contents p-4">
2022-10-28 00:38:59 +03:00
<p class="text-center display-1" id="demo"></p>
<p class="text-center authenticate display-6">Something new is brewing in <a class="teal" href="/lisbon/" style="text-decoration:none;">Lisbon</a>.</p>
2022-10-28 00:38:59 +03:00
</div>
2022-10-27 01:28:50 +03:00
</div>
</section>
<style>
2022-10-27 01:28:50 +03:00
2022-10-28 00:38:59 +03:00
@media screen and (max-width: 576px) {
.hide{
position: absolute;
background-color:#1a1a1a !important;
border:none !important;
right: 5px;
top: 5px;
text-transform: uppercase;
color: #00ffd0;
z-index: 100;
opacity: 0.3;
}
.hide:hover{
opacity: 1;
}
}
@media screen and (min-width: 576px) {
.hide{
position: absolute;
background-color:#1a1a1a !important;
border:none !important;
right: 20px;
top: 20px;
text-transform: uppercase;
color: #00ffd0;
z-index: 100;
opacity: 0.3;
2022-10-28 00:48:42 +03:00
transition: 0.2s ease-in-out;
2022-10-28 00:38:59 +03:00
}
.hide:hover{
opacity: 1;
}
}
2022-10-27 01:28:50 +03:00
@font-face {
font-family: "pp-neue-machina";
src: url("/fonts/PPNeueMachina-InktrapLight.woff") format("woff");
}
2022-10-28 00:38:59 +03:00
.tea-logo{
width:20%;
}
#demo, .authenticate, #something-new, .hide{
2022-10-27 01:28:50 +03:00
font-family: "pp-neue-machina", sans-serif;
}
#demo,
.authenticate a{
color: #00ffd0;
}
.countdown-section{
background-color: #1a1a1a;
position: relative;
z-index: 100;
2022-10-28 00:38:59 +03:00
display: block;
2022-10-27 01:28:50 +03:00
}
.countdown-container{
2022-10-28 00:38:59 +03:00
height: 28vh;
2022-10-27 01:28:50 +03:00
position: relative;
width: 100%;
}
.countdown-contents{
width: 100%;
display: block;
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.countdown{
margin-bottom: 0px !important;
}
/* Floating GitHub Icon */
.gf-container {
width: 80px;
height: 80px;
border-radius: 60px;
display: flex;
flex-direction: column;
position: fixed;
right: 15px;
bottom: 15px;
cursor: pointer;
box-shadow: 0 0 0 rgba(204, 169, 44, 0.4);
animation: pulse 2s infinite;
z-index: 200;
}
.gf-container:hover {
animation: none;
}
@-webkit-keyframes pulse {
0% {
-webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.4);
}
70% {
-webkit-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
}
100% {
-webkit-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
}
}
@keyframes pulse {
0% {
-moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.4);
box-shadow: 0 0 0 0 rgba(204, 169, 44, 0.4);
}
70% {
-moz-box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
box-shadow: 0 0 0 10px rgba(204, 169, 44, 0);
}
100% {
-moz-box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
}
}
.github-icon {
width: 60%;
margin-top: auto;
margin-bottom: auto;
}
2022-10-27 01:28:50 +03:00
</style>
2022-10-28 00:38:59 +03:00
<script type="text/javascript">
function hideShow() {
var x = document.getElementById("countdown-section");
if (x.style.display === "none") {
x.style.display = "block";
} else {
x.style.display = "none";
}
}
</script>
<a href="https://github.com/login/oauth/authorize?client_id=9d1f1a72f1300b6991df&state=teaxyz" class="gf-container" style="background-color:#8EC7BF;">
<img src="/Images/github.svg" alt="" class="github-icon mx-auto">
</a>