mirror of
https://github.com/ivabus/www
synced 2024-11-22 23:15:08 +03:00
Added bigger banner, close button
This commit is contained in:
parent
356a4826b7
commit
73fc39a1a1
3 changed files with 71 additions and 4 deletions
|
@ -1,18 +1,69 @@
|
||||||
<section class="countdown-section">
|
|
||||||
|
|
||||||
|
<section class="countdown-section" id="countdown-section">
|
||||||
|
<button onclick="hideShow()" class="hide small" type="button" name="button">CLOSE</button>
|
||||||
<div class="countdown-container">
|
<div class="countdown-container">
|
||||||
<div class="countdown-contents"><p class="text-center countdown" id="something-new">A new brew's coming in <span id="demo"></span></p></div>
|
<div class="countdown-contents">
|
||||||
|
<p class="text-center display-1" id="demo"></p>
|
||||||
|
<p class="text-center authenticate display-6">Something big's brewing in Lisbon.</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
|
@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;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hide:hover{
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: "pp-neue-machina";
|
font-family: "pp-neue-machina";
|
||||||
src: url("/fonts/PPNeueMachina-InktrapLight.woff") format("woff");
|
src: url("/fonts/PPNeueMachina-InktrapLight.woff") format("woff");
|
||||||
}
|
}
|
||||||
|
|
||||||
#demo, .authenticate, #something-new{
|
.tea-logo{
|
||||||
|
width:20%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#demo, .authenticate, #something-new, .hide{
|
||||||
font-family: "pp-neue-machina", sans-serif;
|
font-family: "pp-neue-machina", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,10 +76,11 @@
|
||||||
background-color: #1a1a1a;
|
background-color: #1a1a1a;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.countdown-container{
|
.countdown-container{
|
||||||
height: 6vh;
|
height: 28vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@ -109,6 +161,20 @@
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
<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;">
|
<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">
|
<img src="/Images/github.svg" alt="" class="github-icon mx-auto">
|
||||||
|
|
||||||
|
|
BIN
src/static/Images/tea-x.png
Normal file
BIN
src/static/Images/tea-x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 815 B |
1
src/static/Images/teal-x.svg
Normal file
1
src/static/Images/teal-x.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?><svg id="Layer_2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2.48 2.48"><defs><style>.cls-1{fill:#54baab;}</style></defs><g id="Layer_1-2"><path class="cls-1" d="M1.49,1.24l.93-.93c.07-.07,.07-.18,0-.25s-.18-.07-.25,0l-.93,.93L.3,.05C.24-.02,.12-.02,.05,.05S-.02,.24,.05,.3l.93,.93L.05,2.17c-.07,.07-.07,.18,0,.25,.03,.03,.08,.05,.13,.05s.09-.02,.13-.05l.93-.93,.93,.93s.08,.05,.13,.05,.09-.02,.13-.05c.07-.07,.07-.18,0-.25l-.93-.93Z"/></g></svg>
|
After Width: | Height: | Size: 489 B |
Loading…
Reference in a new issue