Feat: start to work on badge

This commit is contained in:
Dorian Zedler 2023-09-10 12:07:08 +02:00
parent 7ad9a85dc1
commit f4b5f3529a
Signed by: dorian
GPG key ID: 989DE36109AFA354
4 changed files with 36 additions and 0 deletions

4
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,4 @@
{
"editor.formatOnSave": false,
"editor.formatOnPaste": false
}

BIN
blueRockBadge.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View file

@ -322,3 +322,28 @@ div.footer {
display: hidden;
color: gray;
}
#bluerock {
margin: 1rem;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
max-width: 20rem;
width: 100%;
text-align: center;
box-shadow: 0px 0px .5rem #888888;
border-radius: 1rem;
padding: .8rem;
text-decoration: none;
color: black;
font-weight: bold;
}
#bluerock:hover {
background-color: #EEE
}
#bluerock img {
width: 90%;
}

View file

@ -10,6 +10,11 @@
</head>
<body>
<div id="table"></div>
<a id="bluerock">
Um diese Ergebnisse in der
<img src="blueRockBadge.png" />
-App zu öffnen, tippen Sie hier.
</a>
<div id="footer" style="display: none; font-size: 90%"></div>
<script type="text/javascript">
var widget;
@ -56,6 +61,8 @@
if (!document.location.href.match(/beamer=1/)) {
showFooterByCat("div#footer");
}
jQuery("#bluerock").attr("href", "https://l.bluerock.dev/" + (location.search || location.hash.replace(/^#!?/, "?")))
});
if (document.location.href.match(/beamer=1/)) load_css("beamer.css");