mirror of
https://codeberg.org/kirche-im-netz/Startodon-Hub.git
synced 2025-06-21 00:26:08 +02:00
450 lines
8.9 KiB
CSS
450 lines
8.9 KiB
CSS
/* 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);
|
|
}
|
|
|