Aufschlag

This commit is contained in:
Alexander Müller 2024-12-08 08:58:41 +01:00
parent 0f8b92c061
commit c0b2e9c5ab
17 changed files with 1094 additions and 2 deletions

View file

@ -1,3 +1,3 @@
# Startodon-Instances
# Startodon-Hub
Eine Startseite, auf der sich Instanzen mit Startodon-Seite gemeinsam vorstellen können.
Ein Hub, auf dem sich Instanzen mit Startodon-Seite gemeinsam vorstellen.

192
code.js Normal file
View file

@ -0,0 +1,192 @@
const instanceColor = getComputedStyle(document.documentElement).getPropertyValue('--instance-color').trim() || '#ff6347';
const backgroundColor = getComputedStyle(document.documentElement).getPropertyValue('--background-color').trim() || '#ff6347';
document.addEventListener('DOMContentLoaded', function() {
const accountsContainer = document.querySelector('#account-list');
let accounts = Array.from(document.querySelectorAll('.account'));
// Separate Favoriten und gemischte Accounts
const favoriteAccounts = accounts.filter(account => account.dataset.favorite === "true");
const otherAccounts = accounts.filter(account => !account.dataset.favorite);
// Mische übrige Accounts
const seed = Date.now();
const shuffledOtherAccounts = seededShuffle(otherAccounts, seed);
const sortedAccounts = [...favoriteAccounts, ...shuffledOtherAccounts];
accountsContainer.innerHTML = '';
sortedAccounts.forEach(account => accountsContainer.appendChild(account));
sortedAccounts.forEach(function(account) {
try {
const url = new URL(account.getAttribute('href'));
const pathParts = url.pathname.split('/');
if (pathParts.length > 1 && pathParts[1].startsWith('@')) {
const handle = pathParts[1].substring(1);
const instance = url.hostname;
const lookupUrl = `https://${config.homeInstance}/api/v1/accounts/lookup?acct=${handle}@${instance}`;
fetch(lookupUrl)
.then(response => response.json())
.then(data => {
const link = document.createElement('a');
link.classList.add('account-card-link');
link.href = account.href;
link.target = '_blank';
const card = document.createElement('div');
card.classList.add('account-card');
const avatarImage = document.createElement('img');
avatarImage.classList.add('account-avatar');
avatarImage.alt = data.avatar ? `Profilbild von ${data.username}` : 'Profilbild nicht verfügbar';
avatarImage.src = data.avatar || '';
const infoContainer = document.createElement('div');
infoContainer.classList.add('account-info');
const displayNameElement = document.createElement('p');
displayNameElement.classList.add('display-name');
displayNameElement.textContent = data.display_name || handle;
const handleElement = document.createElement('p');
handleElement.classList.add('handle');
const serverHandleElement = document.createElement('span');
serverHandleElement.classList.add('server-handle');
serverHandleElement.textContent = `@${instance}`;
if (instance === config.homeInstance) {
serverHandleElement.style.backgroundColor = instanceColor;
}
handleElement.innerHTML = `@${data.username}`;
handleElement.appendChild(serverHandleElement);
// QR-Code Button
const qrButton = document.createElement('button');
qrButton.classList.add('qr-code-button');
qrButton.innerHTML = `
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="16" height="16" fill="${backgroundColor}">
<path d="M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48L0 80zM64 96l0 64 64 0 0-64L64 96zM0 336c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96zm64 16l0 64 64 0 0-64-64 0zM304 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm80 64l-64 0 0 64 64 0 0-64zM256 304c0-8.8 7.2-16 16-16l64 0c8.8 0 16 7.2 16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s7.2-16 16-16s16 7.2 16 16l0 96c0 8.8-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s-7.2-16-16-16s-16 7.2-16 16l0 64c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-160zM368 480a16 16 0 1 1 0-32 16 16 0 1 1 0 32zm64 0a16 16 0 1 1 0-32 16 16 0 1 1 0 32z"/>
</svg>
`;
qrButton.addEventListener('click', function(event) {
event.preventDefault();
showQrPopup(link.href);
});
infoContainer.appendChild(displayNameElement);
infoContainer.appendChild(handleElement);
card.appendChild(avatarImage);
card.appendChild(infoContainer);
card.appendChild(qrButton);
link.appendChild(card);
account.replaceWith(link);
})
.catch(error => {
console.error('Fehler beim Abrufen des Profils:', error);
});
} else {
console.error('Ungültiger Benutzer-Handle in URL:', url.href);
}
} catch (error) {
console.error('Fehler bei der Verarbeitung der URL:', error);
}
});
});
// QR-Code anzeigen
function showQrPopup(profileUrl) {
// QR-Overlay für Abdunkelung
const overlay = document.createElement('div');
overlay.classList.add('qr-overlay');
// Popup-Container
const popup = document.createElement('div');
popup.classList.add('qr-popup');
// Schließen-Button
const closeButton = document.createElement('button');
closeButton.classList.add('close-popup');
closeButton.textContent = 'x';
closeButton.innerHTML = `
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" width="13" height="13" fill="${backgroundColor}"><!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"/></svg>
`;
closeButton.addEventListener('click', function () {
overlay.remove();
});
// Event-Listener für das Overlay (schließt Popup bei Klick auf Hintergrund)
overlay.addEventListener('click', function (event) {
if (event.target === overlay) { // Nur schließen, wenn außerhalb des Popups geklickt wurde
overlay.remove();
}
});
// QR-Code-Container
const qrContainer = document.createElement('div');
qrContainer.classList.add('qr-code-container');
// QR-Code mit kjua generieren
const qrCode = kjua({
render: 'canvas',
text: profileUrl,
size: 200,
quiet: 2,
ecLevel: 'H',
});
qrContainer.appendChild(qrCode);
// Extrahiere User-Handle und Server-Handle
const url = new URL(profileUrl);
const pathParts = url.pathname.split('/');
const userHandle = pathParts[1] || '@unbekannt';
const serverHandle = url.hostname || 'unbekannt';
// Handle unter dem QR-Code
const handleContainer = document.createElement('p');
handleContainer.classList.add('qr-handle');
const userHandleText = document.createTextNode(userHandle);
const serverHandleSpan = document.createElement('span');
serverHandleSpan.classList.add('qr-server-handle');
serverHandleSpan.textContent = `@${serverHandle}`;
// Dynamisch die Hintergrundfarbe für Variable "config.homeInstance" setzen
if (serverHandle === config.homeInstance) {
serverHandleSpan.style.backgroundColor = instanceColor;
qrCode.style.borderColor = instanceColor;
}
handleContainer.appendChild(userHandleText);
handleContainer.appendChild(serverHandleSpan);
// Popup zusammenfügen
popup.appendChild(closeButton);
popup.appendChild(qrContainer);
popup.appendChild(handleContainer);
// Overlay zusammenfügen
overlay.appendChild(popup);
document.body.appendChild(overlay);
}
function seededRandom(seed) {
let x = Math.sin(seed++) * 10000;
return x - Math.floor(x);
}
function seededShuffle(array, seed) {
for (let i = array.length - 1; i > 0; i--) {
const j = Math.floor(seededRandom(seed) * (i + 1));
[array[i], array[j]] = [array[j], array[i]];
seed++;
}
return array;
}

202
fonts/LICENSE.txt Normal file
View file

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

BIN
fonts/Roboto-Bold.ttf Normal file

Binary file not shown.

BIN
fonts/Roboto-Regular.ttf Normal file

Binary file not shown.

15
fonts/fonts.css Normal file
View file

@ -0,0 +1,15 @@
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: local('Roboto'),
url('./Roboto-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 600;
src: local('Roboto Bold'),
url('./Roboto-Bold.ttf') format('truetype');
}

26
images/IMAGES_LICENSE.md Normal file
View file

@ -0,0 +1,26 @@
# Bildlizenzen
In diesem Repository verwendete Bilder unterliegen unterschiedlichen Lizenzen. Details zu den einzelnen Bildern:
## Unsplash-Bilder
Die folgenden Bilder stammen von Unsplash und unterliegen der [Unsplash-Lizenz](https://unsplash.com/license):
- **battenhall-bQRqXz7mZe4-unsplash.jpg**: Fotograf: [Battenhall](https://unsplash.com/@battenhall).
- **battenhall-xLOH5B_vres-unsplash.jpg**: Fotograf: [Battenhall](https://unsplash.com/@battenhall).
> **Hinweis zur Unsplash-Lizenz:**
> Die Unsplash-Lizenz erlaubt die kostenlose Nutzung, Modifikation und Verbreitung der Bilder, jedoch keine eigenständige kommerzielle Verwertung (z. B. der Verkauf der Bilder als Poster oder Drucke). Eine Attribution des Fotografen ist nicht verpflichtend, wird aber empfohlen.
---
## Eigene Bilder
Die folgenden Bilder wurden von Alexander Müller erstellt und stehen unter spezifischen Bedingungen zur Verfügung:
- **liboriSocial_postcard.png**: Eigenes Werk, erstellt von Alexander Müller.
**Verwendungsbeschränkung:** Dieses Bild darf ausschließlich im Zusammenhang mit der Mastodon-Instanz Libori.social genutzt werden.
- **liboriSocial_StarterKit.png**: Eigenes Werk, erstellt von Alexander Müller.
**Verwendungsbeschränkung:** Dieses Bild darf ausschließlich im Zusammenhang mit der Mastodon-Instanz Libori.social genutzt werden.
---
Wenn du Fragen zur Nutzung der Bilder hast, kontaktiere uns bitte über [Alexander Müller über Libori.social](https://libori.social/@alex).

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

BIN
images/liboriSocial_og.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

159
index.html Normal file
View file

@ -0,0 +1,159 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mastodon Instanzen Übersicht</title>
<link rel="stylesheet" href="./fonts/fonts.css?v=1.0.0">
<link rel="stylesheet" href="style.css?v=1.0.0">
<script src="code.js?v=1.0.0" defer></script>
<script src="utils/kjua-0.10.0.min.js"></script>
<script>
const config = {
/* Passe die homeInstance an. Diese ist für die Empfehlungsecke relevant. Die Profilinfos werden von dieser Instanz abgerufen. Auf der Seite wird der Server-Handel und die Akzentfargen entsprechen hervorgehoben. */
homeInstance: 'libori.social'
};
</script>
<meta property="og:title" content="FediKirche.de">
<meta property="og:description" content="FediKirche gibt dir einen Einstieg in die Instanzen, rund um den Hashtag #FediKirche">
<meta property="og:image" content="https://start.libori.social/images/liboriSocial_StarterKit.png">
<meta property="og:url" content="https://fedikirche.de">
<meta property="og:logo" content="https://libori.social/packs/media/icons/favicon-16x16-c58fdef40ced38d582d5b8eed9d15c5a.png" />
<meta property="og:type" content="website">
<meta property="og:locale" content="de_DE">
</head>
<body>
<header>
<div class="container">
<h1>#FediKirche</h1>
<p>Wir sind #FediKirche. Auf unseren Instanzen dreht es sich um Themen im kirchlichen Kontext.</p>
</div>
</header>
<section id="instances">
<div class="container">
<h2>Wir sind #FediKirche</h2>
<div class="grid-container">
<!-- Instanz 1 -->
<div class="instance-card liboriSocial">
<img src="images/liboriSocial_postcard.png" alt="Instanz 1 Logo" class="instance-header">
<h3>libori.social 🦚</h3>
<p>Libori.social vernetzt Menschen im Erzbistums Paderborn und darüber hinaus rund um kirchliche und gesellschaftliche Themen.</p>
<a href="https://start.libori.social" class="bigger-button" target="_blank">zu libori.social</a>
<div class="instance-software">
<svg viewBox="0 0 61 65" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M60.7539 14.3904C59.8143 7.40642 53.7273 1.90257 46.5117 0.836066C45.2943 0.655854 40.6819 0 29.9973 0H29.9175C19.2299 0 16.937 0.655854 15.7196 0.836066C8.70488 1.87302 2.29885 6.81852 0.744617 13.8852C-0.00294988 17.3654 -0.0827298 21.2237 0.0561464 24.7629C0.254119 29.8384 0.292531 34.905 0.753482 39.9598C1.07215 43.3175 1.62806 46.6484 2.41704 49.9276C3.89445 55.9839 9.87499 61.0239 15.7344 63.0801C22.0077 65.2244 28.7542 65.5804 35.2184 64.1082C35.9295 63.9428 36.6318 63.7508 37.3252 63.5321C38.8971 63.0329 40.738 62.4745 42.0913 61.4937C42.1099 61.4799 42.1251 61.4621 42.1358 61.4417C42.1466 61.4212 42.1526 61.3986 42.1534 61.3755V56.4773C42.153 56.4557 42.1479 56.4345 42.1383 56.4151C42.1287 56.3958 42.1149 56.3788 42.0979 56.3655C42.0809 56.3522 42.0611 56.3429 42.04 56.3382C42.019 56.3335 41.9971 56.3336 41.9761 56.3384C37.8345 57.3276 33.5905 57.8234 29.3324 57.8156C22.0045 57.8156 20.0336 54.3384 19.4693 52.8908C19.0156 51.6397 18.7275 50.3346 18.6124 49.0088C18.6112 48.9866 18.6153 48.9643 18.6243 48.9439C18.6333 48.9236 18.647 48.9056 18.6643 48.8915C18.6816 48.8774 18.7019 48.8675 18.7237 48.8628C18.7455 48.858 18.7681 48.8585 18.7897 48.8641C22.8622 49.8465 27.037 50.3423 31.2265 50.3412C32.234 50.3412 33.2387 50.3412 34.2463 50.3146C38.4598 50.1964 42.9009 49.9808 47.0465 49.1713C47.1499 49.1506 47.2534 49.1329 47.342 49.1063C53.881 47.8507 60.1038 43.9097 60.7362 33.9301C60.7598 33.5372 60.8189 29.8148 60.8189 29.4071C60.8218 28.0215 61.2651 19.5781 60.7539 14.3904Z" fill="url(#paint0_linear_89_8)"/>
<path d="M50.3943 22.237V39.5876H43.5185V22.7481C43.5185 19.2029 42.0411 17.3949 39.036 17.3949C35.7325 17.3949 34.0778 19.5338 34.0778 23.7585V32.9759H27.2434V23.7585C27.2434 19.5338 25.5857 17.3949 22.2822 17.3949C19.2949 17.3949 17.8027 19.2029 17.8027 22.7481V39.5876H10.9298V22.237C10.9298 18.6918 11.835 15.8754 13.6453 13.7877C15.5128 11.7049 17.9623 10.6355 21.0028 10.6355C24.522 10.6355 27.1813 11.9885 28.9542 14.6917L30.665 17.5633L32.3788 14.6917C34.1517 11.9885 36.811 10.6355 40.3243 10.6355C43.3619 10.6355 45.8114 11.7049 47.6847 13.7877C49.4931 15.8734 50.3963 18.6899 50.3943 22.237Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_89_8" x1="30.5" y1="0" x2="30.5" y2="65" gradientUnits="userSpaceOnUse">
<stop stop-color="#6364FF"/>
<stop offset="1" stop-color="#563ACC"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
<!-- Instanz 2 -->
<div class="instance-card reliverseSocial">
<img src="https://reliverse.social/system/site_uploads/files/000/000/007/@1x/4c89b9d57587c9cf.png" alt="Instanz 1 Logo" class="instance-header">
<h3>reliverse.social</h3>
<p>Die Mastodon-Instanz für religiöse Bildung --- the mastodon instance on religious education Powered by rpi-virtuell </p>
<a href="https://startodon.oer.community" class="bigger-button" target="_blank">zu reliverse.social</a>
<div class="instance-software">
<svg viewBox="0 0 61 65" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M60.7539 14.3904C59.8143 7.40642 53.7273 1.90257 46.5117 0.836066C45.2943 0.655854 40.6819 0 29.9973 0H29.9175C19.2299 0 16.937 0.655854 15.7196 0.836066C8.70488 1.87302 2.29885 6.81852 0.744617 13.8852C-0.00294988 17.3654 -0.0827298 21.2237 0.0561464 24.7629C0.254119 29.8384 0.292531 34.905 0.753482 39.9598C1.07215 43.3175 1.62806 46.6484 2.41704 49.9276C3.89445 55.9839 9.87499 61.0239 15.7344 63.0801C22.0077 65.2244 28.7542 65.5804 35.2184 64.1082C35.9295 63.9428 36.6318 63.7508 37.3252 63.5321C38.8971 63.0329 40.738 62.4745 42.0913 61.4937C42.1099 61.4799 42.1251 61.4621 42.1358 61.4417C42.1466 61.4212 42.1526 61.3986 42.1534 61.3755V56.4773C42.153 56.4557 42.1479 56.4345 42.1383 56.4151C42.1287 56.3958 42.1149 56.3788 42.0979 56.3655C42.0809 56.3522 42.0611 56.3429 42.04 56.3382C42.019 56.3335 41.9971 56.3336 41.9761 56.3384C37.8345 57.3276 33.5905 57.8234 29.3324 57.8156C22.0045 57.8156 20.0336 54.3384 19.4693 52.8908C19.0156 51.6397 18.7275 50.3346 18.6124 49.0088C18.6112 48.9866 18.6153 48.9643 18.6243 48.9439C18.6333 48.9236 18.647 48.9056 18.6643 48.8915C18.6816 48.8774 18.7019 48.8675 18.7237 48.8628C18.7455 48.858 18.7681 48.8585 18.7897 48.8641C22.8622 49.8465 27.037 50.3423 31.2265 50.3412C32.234 50.3412 33.2387 50.3412 34.2463 50.3146C38.4598 50.1964 42.9009 49.9808 47.0465 49.1713C47.1499 49.1506 47.2534 49.1329 47.342 49.1063C53.881 47.8507 60.1038 43.9097 60.7362 33.9301C60.7598 33.5372 60.8189 29.8148 60.8189 29.4071C60.8218 28.0215 61.2651 19.5781 60.7539 14.3904Z" fill="url(#paint0_linear_89_8)"/>
<path d="M50.3943 22.237V39.5876H43.5185V22.7481C43.5185 19.2029 42.0411 17.3949 39.036 17.3949C35.7325 17.3949 34.0778 19.5338 34.0778 23.7585V32.9759H27.2434V23.7585C27.2434 19.5338 25.5857 17.3949 22.2822 17.3949C19.2949 17.3949 17.8027 19.2029 17.8027 22.7481V39.5876H10.9298V22.237C10.9298 18.6918 11.835 15.8754 13.6453 13.7877C15.5128 11.7049 17.9623 10.6355 21.0028 10.6355C24.522 10.6355 27.1813 11.9885 28.9542 14.6917L30.665 17.5633L32.3788 14.6917C34.1517 11.9885 36.811 10.6355 40.3243 10.6355C43.3619 10.6355 45.8114 11.7049 47.6847 13.7877C49.4931 15.8734 50.3963 18.6899 50.3943 22.237Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_89_8" x1="30.5" y1="0" x2="30.5" y2="65" gradientUnits="userSpaceOnUse">
<stop stop-color="#6364FF"/>
<stop offset="1" stop-color="#563ACC"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
<!-- Instanz 3 -->
<div class="instance-card kircheSocial">
<img src="https://kirche.social/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png" alt="Instanz 1 Logo" class="instance-header">
<h3>kirche.social</h3>
<p>Die gemeinschaftlich verantwortete Instanz von Menschen rund um die Kirche(n). Wir sind christlich, interkonfessionell und ökumenisch. kirche.social wird vom LUKi e.V. betrieben.</p>
<a href="https://kirche.social" class="bigger-button" target="_blank">zur kirche.social</a>
<div class="instance-software">
<svg viewBox="0 0 61 65" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M60.7539 14.3904C59.8143 7.40642 53.7273 1.90257 46.5117 0.836066C45.2943 0.655854 40.6819 0 29.9973 0H29.9175C19.2299 0 16.937 0.655854 15.7196 0.836066C8.70488 1.87302 2.29885 6.81852 0.744617 13.8852C-0.00294988 17.3654 -0.0827298 21.2237 0.0561464 24.7629C0.254119 29.8384 0.292531 34.905 0.753482 39.9598C1.07215 43.3175 1.62806 46.6484 2.41704 49.9276C3.89445 55.9839 9.87499 61.0239 15.7344 63.0801C22.0077 65.2244 28.7542 65.5804 35.2184 64.1082C35.9295 63.9428 36.6318 63.7508 37.3252 63.5321C38.8971 63.0329 40.738 62.4745 42.0913 61.4937C42.1099 61.4799 42.1251 61.4621 42.1358 61.4417C42.1466 61.4212 42.1526 61.3986 42.1534 61.3755V56.4773C42.153 56.4557 42.1479 56.4345 42.1383 56.4151C42.1287 56.3958 42.1149 56.3788 42.0979 56.3655C42.0809 56.3522 42.0611 56.3429 42.04 56.3382C42.019 56.3335 41.9971 56.3336 41.9761 56.3384C37.8345 57.3276 33.5905 57.8234 29.3324 57.8156C22.0045 57.8156 20.0336 54.3384 19.4693 52.8908C19.0156 51.6397 18.7275 50.3346 18.6124 49.0088C18.6112 48.9866 18.6153 48.9643 18.6243 48.9439C18.6333 48.9236 18.647 48.9056 18.6643 48.8915C18.6816 48.8774 18.7019 48.8675 18.7237 48.8628C18.7455 48.858 18.7681 48.8585 18.7897 48.8641C22.8622 49.8465 27.037 50.3423 31.2265 50.3412C32.234 50.3412 33.2387 50.3412 34.2463 50.3146C38.4598 50.1964 42.9009 49.9808 47.0465 49.1713C47.1499 49.1506 47.2534 49.1329 47.342 49.1063C53.881 47.8507 60.1038 43.9097 60.7362 33.9301C60.7598 33.5372 60.8189 29.8148 60.8189 29.4071C60.8218 28.0215 61.2651 19.5781 60.7539 14.3904Z" fill="url(#paint0_linear_89_8)"/>
<path d="M50.3943 22.237V39.5876H43.5185V22.7481C43.5185 19.2029 42.0411 17.3949 39.036 17.3949C35.7325 17.3949 34.0778 19.5338 34.0778 23.7585V32.9759H27.2434V23.7585C27.2434 19.5338 25.5857 17.3949 22.2822 17.3949C19.2949 17.3949 17.8027 19.2029 17.8027 22.7481V39.5876H10.9298V22.237C10.9298 18.6918 11.835 15.8754 13.6453 13.7877C15.5128 11.7049 17.9623 10.6355 21.0028 10.6355C24.522 10.6355 27.1813 11.9885 28.9542 14.6917L30.665 17.5633L32.3788 14.6917C34.1517 11.9885 36.811 10.6355 40.3243 10.6355C43.3619 10.6355 45.8114 11.7049 47.6847 13.7877C49.4931 15.8734 50.3963 18.6899 50.3943 22.237Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_89_8" x1="30.5" y1="0" x2="30.5" y2="65" gradientUnits="userSpaceOnUse">
<stop stop-color="#6364FF"/>
<stop offset="1" stop-color="#563ACC"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
<!-- Instanz 4 -->
<div class="instance-card katholischSocial">
<img src="https://katholisch.social/system/site_uploads/files/000/000/001/@1x/a0c42bb8a3808048.png" alt="Instanz 1 Logo" class="instance-header">
<h3>katholisch.social</h3>
<p>Dieser Server wird betrieben von: Katholisches Datenschutzzentrum Bayern</p>
<a href="https://katholisch.social" class="bigger-button" target="_blank">zu katholisch.social</a>
<div class="instance-software">
<svg viewBox="0 0 61 65" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M60.7539 14.3904C59.8143 7.40642 53.7273 1.90257 46.5117 0.836066C45.2943 0.655854 40.6819 0 29.9973 0H29.9175C19.2299 0 16.937 0.655854 15.7196 0.836066C8.70488 1.87302 2.29885 6.81852 0.744617 13.8852C-0.00294988 17.3654 -0.0827298 21.2237 0.0561464 24.7629C0.254119 29.8384 0.292531 34.905 0.753482 39.9598C1.07215 43.3175 1.62806 46.6484 2.41704 49.9276C3.89445 55.9839 9.87499 61.0239 15.7344 63.0801C22.0077 65.2244 28.7542 65.5804 35.2184 64.1082C35.9295 63.9428 36.6318 63.7508 37.3252 63.5321C38.8971 63.0329 40.738 62.4745 42.0913 61.4937C42.1099 61.4799 42.1251 61.4621 42.1358 61.4417C42.1466 61.4212 42.1526 61.3986 42.1534 61.3755V56.4773C42.153 56.4557 42.1479 56.4345 42.1383 56.4151C42.1287 56.3958 42.1149 56.3788 42.0979 56.3655C42.0809 56.3522 42.0611 56.3429 42.04 56.3382C42.019 56.3335 41.9971 56.3336 41.9761 56.3384C37.8345 57.3276 33.5905 57.8234 29.3324 57.8156C22.0045 57.8156 20.0336 54.3384 19.4693 52.8908C19.0156 51.6397 18.7275 50.3346 18.6124 49.0088C18.6112 48.9866 18.6153 48.9643 18.6243 48.9439C18.6333 48.9236 18.647 48.9056 18.6643 48.8915C18.6816 48.8774 18.7019 48.8675 18.7237 48.8628C18.7455 48.858 18.7681 48.8585 18.7897 48.8641C22.8622 49.8465 27.037 50.3423 31.2265 50.3412C32.234 50.3412 33.2387 50.3412 34.2463 50.3146C38.4598 50.1964 42.9009 49.9808 47.0465 49.1713C47.1499 49.1506 47.2534 49.1329 47.342 49.1063C53.881 47.8507 60.1038 43.9097 60.7362 33.9301C60.7598 33.5372 60.8189 29.8148 60.8189 29.4071C60.8218 28.0215 61.2651 19.5781 60.7539 14.3904Z" fill="url(#paint0_linear_89_8)"/>
<path d="M50.3943 22.237V39.5876H43.5185V22.7481C43.5185 19.2029 42.0411 17.3949 39.036 17.3949C35.7325 17.3949 34.0778 19.5338 34.0778 23.7585V32.9759H27.2434V23.7585C27.2434 19.5338 25.5857 17.3949 22.2822 17.3949C19.2949 17.3949 17.8027 19.2029 17.8027 22.7481V39.5876H10.9298V22.237C10.9298 18.6918 11.835 15.8754 13.6453 13.7877C15.5128 11.7049 17.9623 10.6355 21.0028 10.6355C24.522 10.6355 27.1813 11.9885 28.9542 14.6917L30.665 17.5633L32.3788 14.6917C34.1517 11.9885 36.811 10.6355 40.3243 10.6355C43.3619 10.6355 45.8114 11.7049 47.6847 13.7877C49.4931 15.8734 50.3963 18.6899 50.3943 22.237Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear_89_8" x1="30.5" y1="0" x2="30.5" y2="65" gradientUnits="userSpaceOnUse">
<stop stop-color="#6364FF"/>
<stop offset="1" stop-color="#563ACC"/>
</linearGradient>
</defs>
</svg>
</div>
</div>
</div>
</div>
</section>
<section id="empfehlungen">
<div class="container">
<h2>Empfehlungen für dich</h2>
<div class="hint-box">
<p class="hint-title">💡 Tipp</p>
<p>Um anderen mit deinem Account zu folgen, klicke auf der Profilseite auf 'Folgen'. Neue Beiträge erscheinen dann automatisch auf deiner Startseite.</p>
<p class="hint-title" style="padding-top: 10px;">📱 für Nutzer der (Android) Mastodon-App</p>
<p>Mit der App kannst du Profile über einen QR-Code erreichen. Klicke für den QR-Code einfach auf den <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="16" height="16" fill="#b3b3b3" style="max-width: 100%; height: auto; vertical-align: middle; margin-bottom: 3px;">
<path d="M0 80C0 53.5 21.5 32 48 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48L0 80zM64 96l0 64 64 0 0-64L64 96zM0 336c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96zm64 16l0 64 64 0 0-64-64 0zM304 32l96 0c26.5 0 48 21.5 48 48l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48zm80 64l-64 0 0 64 64 0 0-64zM256 304c0-8.8 7.2-16 16-16l64 0c8.8 0 16 7.2 16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s7.2-16 16-16s16 7.2 16 16l0 96c0 8.8-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s-7.2-16-16-16s-16 7.2-16 16l0 64c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-160zM368 480a16 16 0 1 1 0-32 16 16 0 1 1 0 32zm64 0a16 16 0 1 1 0-32 16 16 0 1 1 0 32z"/>
</svg>-Button.<br> In der Mastodon-App klickst du auf die 🔎 (Entdecken). Den QR-Code-Scanner findest du in der Suchleiste. </p>
</div>
<div class="recommendations" id="account-list">
<a class="account" href="https://reliverse.social/@comenius" target="_blank" data-favorite="true">Comenius-Institut Münster</a>
<a class="account" href="https://katholisch.social/@kdsz_bayern" target="_blank" data-favorite="true">KDSZ Bayern</a>
<a class="account" href="https://kirche.social/@luki" target="_blank" data-favorite="true">LUKi e.V.</a>
<a class="account" href="https://kirche.social/@librechurch" target="_blank" data-favorite="true">LibreChurch</a>
<a class="account" href="https://libori.social/@alex" target="_blank" data-favorite="true">Alexander Müller</a>
<a class="account" href="https://reliverse.social/@joerglohrer" target="_blank" data-favorite="true">Jörg Lohrer</a>
<a class="account" href="https://kirche.social/@csett86" target="_blank" data-favorite="true">Christoph Settgast</a>
</div>
</div>
</section>
<footer>
<nav>
<a href="https://codeberg.org/kirche-im-netz/Startodon-Hub"target="_blank" style="color: white; margin: 0 1rem; text-decoration: none;">🛠️ Quellcode</a>
<a href="https://libori.social/about" target="_blank" style="color: white; margin: 0 1rem; text-decoration: none;">✉️ Kontakt</a>
<a href="https://libori.social/privacy-policy" target="_blank" style="color: white; margin: 0 1rem; text-decoration: none;">🛡️ Datenschutz</a>
</nav>
<p>&copy; 2024 FediKirche</p>
</footer>
</body>
</html>

450
style.css Normal file
View file

@ -0,0 +1,450 @@
/* Grundlegende Variablen */
:root {
--primary-color: #6364ff;
--primary-color-hover: #563acc;
--background-color: #181821;
--secondary-background-color: #2a2a39;
--font-family: 'Roboto', sans-serif;
--link-color: #2b90d9;
--liboriSocial-color: #ff5656;
--liboriSocial-secondary-color: #ff4444;
--reliverseSocial-color: #FFA500;
--kircheSocial-color: #1c7d7e;
--kircheSocial-secondary-color: #2ca7a7;
--katholischSocial-color: #0e7be2;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-family);
margin: 0;
padding: 0;
background-color: var(--background-color);
color: #ffffff;
line-height: 1.6;
}
a {
color: var(--link-color);
text-decoration: none;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
position: relative;
text-align: center;
padding: 80px 20px 30px 20px;
background-image: url('images/battenhall-bQRqXz7mZe4-unsplash.jpg');
background-size: cover;
background-position: center;
color: #ffffff;
}
header::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1;
}
header .container {
position: relative;
z-index: 2;
}
header h1, header p {
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
header h1 {
font-size: 2.2rem;
margin-bottom: 15px;
}
header p {
font-size: 1rem;
line-height: 1.8;
max-width: 800px;
margin: 0 auto;
}
section {
padding: 50px 20px;
}
#instances {
width: 100vw;
margin-left: calc(-50vw + 50%);
background-color: var(--secondary-background-color);
padding: 20px 0;
}
.grid-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
padding: 20px 0;
}
.instance-card {
background-color: var(--background-color);
padding-bottom: 20px;
border-radius: 15px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.instance-card:hover {
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.instance-header {
height: 120px;
width: 100%;
object-fit: cover;
position: relative;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
overflow: hidden;
}
.instance-software {
position: absolute;
bottom: 15px;
right: 15px;
width: 25px;
height: 25px;
z-index: 2;
}
.instance-card h3 {
font-size: 1.75rem;
margin-bottom: 20px;
color: #fff;
}
.instance-card p {
font-size: 1rem;
color: #bbb;
margin: 0 20px 20px 20px;
}
.bigger-button {
display: inline-block;
background-color: var(--primary-color);
color: #fff;
padding: 15px 25px;
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
border-radius: 10px;
transition: background-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}
.bigger-button:hover {
background-color: var(--primary-color-hover);
transform: translateY(-5px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.recommendations {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
gap: 20px;
padding: 0;
margin-top: 20px;
list-style-type: none;
}
.account-card-link {
text-decoration: none;
color: inherit;
display: block;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.account-card-link:hover {
text-decoration: none;
}
.account-card {
display: flex;
align-items: center;
padding: 20px;
background-color: var(--secondary-background-color);
border-radius: 15px;
transition: background-color 0.3s, box-shadow 0.3s;
text-align: left;
position: relative;
}
.account-card-link:hover .account-card {
background-color: #42425a;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transform: translateY(-5px);
}
.account-card-link p {
text-decoration: none;
}
.account-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
margin-right: 15px;
}
.account-info {
flex: 1;
overflow: hidden;
}
.display-name {
font-weight: bold;
font-size: 1.1rem;
margin: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
display: block;
}
.handle {
font-size: 0.75rem;
color: #ccc;
margin: 0;
}
.server-handle {
font-size: 0.75em;
color: white;
background-color: #45596d;
padding: 0.1em 0.5em;
margin-left: 0.2em;
border-radius: 7px;
display: inline;
}
.qr-code-button {
background-color: transparent;
color: var(--background-color);
padding: 5px;
cursor: pointer;
font-size: 1rem;
border-radius: 50%;
border: solid 0px var(--background-color);
display: flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
position: absolute;
top: 10px;
right: 10px;
transition: background-color 0.3s, box-shadow 0.3s ease;
}
.qr-code-button:hover {
background-color: var(--primary-color-hover);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.qr-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.8);
z-index: 999;
display: flex;
justify-content: center;
align-items: center;
}
/* QR-Popup */
.qr-popup {
position: relative;
background: var(--secondary-background-color);
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
text-align: center;
color: #ffffff;
max-width: 90%;
width: 300px;
word-wrap: break-word;
overflow-wrap: break-word;
}
/* Schließen-Button */
.close-popup {
background-color: transparent;
padding: 0;
cursor: pointer;
border-radius: 50%;
border: 0;
display: flex;
justify-content: center;
align-items: center;
width: 25px;
height: 25px;
position: absolute;
top: 15px;
right: 15px;
transition: background-color 0.3s, box-shadow 0.3s ease;
}
.close-popup:hover {
background-color: rgb(255, 99, 71);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
/* QR-Code-Container */
.qr-code-container {
margin: 20px auto;
}
.qr-handle {
margin-bottom:20px;
font-size: 1rem;
color: #cccccc;
text-align: center;
display: inline-block;
word-wrap: break-word;
overflow-wrap: break-word;
max-width: 100%;
}
.qr-server-handle {
font-size: 0.75em;
color: white;
background-color: #45596d;
padding: 0.1em 0.5em;
margin-left: 0.2em;
border-radius: 7px;
display: inline-block;
word-wrap: break-word;
overflow-wrap: break-word;
}
.qr-popup canvas {
border: 2px solid #45596d;
border-radius: 10px;
padding: 10px;
background-color: var(--background-color);
}
.hint-box {
background-color: rgba(75, 86, 104,0.2);
padding: 15px;
border: 1px solid var(--primary-color);
border-radius: 10px;
margin-top: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
animation: fadeInUp 1s ease-in-out;
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.hint-box p {
margin: 0;
font-size: 0.95rem;
color: #ffffff;
}
.hint-title {
font-weight: bold;
font-size: 1rem;
margin-bottom: 5px;
display: flex;
align-items: center;
gap: 5px;
}
footer {
text-align: center;
background-color: var(--secondary-background-color);
padding: 20px;
}
footer nav a {
color: #ddd;
margin: 0 10px;
text-decoration: none;
}
footer nav a:hover {
text-decoration: underline;
}
footer p {
margin-top: 10px;
font-size: 0.9rem;
}
@media (max-width: 800px) {
.grid-container {
grid-template-columns: 1fr;
}
}
/* --- libori.social --- */
.instance-card.liboriSocial {
border: solid 1px var(--liboriSocial-color);
}
.instance-card.liboriSocial a.bigger-button {
background-color: var(--liboriSocial-color);
}
.instance-card.liboriSocial a.bigger-button:hover {
background-color: var(--liboriSocial-secondary-color);
}
/* --- reliverse.social --- */
.instance-card.reliverseSocial {
border: solid 1px var(--reliverseSocial-color);
}
.instance-card.reliverseSocial a.bigger-button {
background-color: var(--reliverseSocial-color);
}
/* --- kirche.social --- */
.instance-card.kircheSocial {
border: solid 1px var(--kircheSocial-color);
}
.instance-card.kircheSocial a.bigger-button {
background-color: var(--kircheSocial-color);
}
.instance-card.kircheSocial a.bigger-button:hover {
background-color: var(--kircheSocial-secondary-color);
}
/* --- katholisch.social --- */
.instance-card.katholischSocial {
border: solid 1px var(--katholischSocial-color);
}
.instance-card.katholischSocial a.bigger-button {
background-color: var(--katholischSocial-color);
}

35
style_backup.css Normal file
View file

@ -0,0 +1,35 @@
.instance-card {
background-color: var(--secondary-background-color);
border-radius: 15px;
padding: 30px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
position: relative;
}
.instance-card:hover {
background-color: #3a3a4a;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}
.instance-header {
height: 120px;
width: 100%;
object-fit: cover;
display: block;
position: absolute;
top: 0;
left: 0;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
background-color: rgba(0, 0, 0, 0.5);
}
.instance-software {
position: absolute;
bottom: 15px;
right: 15px;
width: 25px;
height: 25px;
}

11
utils/LICENSE_kjua Normal file
View file

@ -0,0 +1,11 @@
License
The MIT License (MIT)
Copyright (c) 2024 Lars Jung (https://larsjung.de)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

2
utils/kjua-0.10.0.min.js vendored Normal file

File diff suppressed because one or more lines are too long