change styling
This commit is contained in:
parent
7353062f91
commit
8b0b23a872
3 changed files with 139 additions and 50 deletions
|
|
@ -28,7 +28,12 @@ body {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: 'HealTheWebB', sans-serif;
|
||||
color: #2C3E50;
|
||||
margin: 0.5em 0;
|
||||
|
|
@ -99,18 +104,33 @@ main {
|
|||
}
|
||||
|
||||
.container {
|
||||
max-width: 900px;
|
||||
max-width: 1200px;
|
||||
width: 90%;
|
||||
margin: 3em auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1.5em;
|
||||
background: #FFFFFF;
|
||||
padding: 2em;
|
||||
padding: 3em;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
|
||||
/* Grid layout for link cards */
|
||||
.link-cards-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
column-gap: 1.5em;
|
||||
row-gap: 1.5em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.link-cards-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 2em;
|
||||
padding: 1.5em;
|
||||
|
|
@ -323,8 +343,13 @@ section a:hover {
|
|||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-close {
|
||||
|
|
@ -357,6 +382,7 @@ section a:hover {
|
|||
transform: scale(0.8);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
transform: scale(1);
|
||||
opacity: 1;
|
||||
|
|
@ -380,25 +406,54 @@ section a:hover {
|
|||
|
||||
a.link-card,
|
||||
.link-card {
|
||||
display: block;
|
||||
padding: 1.2em 1em;
|
||||
background-color: #F9F9F9;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
gap: 1em;
|
||||
padding: 1.5em 1.8em;
|
||||
background-color: #F8F9FA;
|
||||
color: #1C1C1E;
|
||||
border-left: 6px solid #cd0d80;
|
||||
border-radius: 12px;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
||||
margin-bottom: 1rem;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a.link-card:hover,
|
||||
.link-card:hover {
|
||||
background-color: #cd0d80;
|
||||
color: #FFFFFF;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.link-card:hover .card-icon {
|
||||
color: #FFFFFF;
|
||||
transform: scale(1.15);
|
||||
}
|
||||
|
||||
.link-card:hover .tagline {
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
|
||||
.card-icon {
|
||||
font-size: 2.5rem;
|
||||
color: #cd0d80;
|
||||
min-width: 2.5rem;
|
||||
width: 2.5rem;
|
||||
flex-shrink: 0;
|
||||
transition: all 0.3s ease;
|
||||
margin-top: 0.2em;
|
||||
}
|
||||
|
||||
.card-content {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.3em;
|
||||
}
|
||||
|
||||
.link-card .title {
|
||||
|
|
@ -410,6 +465,7 @@ a.link-card:hover,
|
|||
font-size: 0.875rem;
|
||||
color: #666;
|
||||
margin-top: 0.25rem;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -556,7 +612,8 @@ table {
|
|||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
th, td {
|
||||
th,
|
||||
td {
|
||||
border: 1px solid #E1E1E6;
|
||||
padding: 0.5em;
|
||||
text-align: center;
|
||||
|
|
@ -845,7 +902,8 @@ footer a:hover {
|
|||
overflow-x: auto;
|
||||
}
|
||||
|
||||
th, td {
|
||||
th,
|
||||
td {
|
||||
padding: 0.45em;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>{% block title %}studio einszwovier{% endblock %}</title>
|
||||
<link rel="stylesheet" href="/static/css/style.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -39,49 +39,79 @@
|
|||
|
||||
|
||||
<!-- Information and Tools Cards -->
|
||||
<div class="link-cards-grid">
|
||||
<a class="link-card" href="/about">
|
||||
<i class="fas fa-info-circle card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">einszwovier - Über uns</div>
|
||||
<div class="tagline">Erfahre, wer wir sind, welche Projekte wir realisieren und wie du uns findest.</div>
|
||||
<div class="tagline">Erfahre, wer wir sind, welche Projekte wir realisieren und wie du uns findest.
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="link-card" href="/cost">
|
||||
<i class="fas fa-calculator card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">Großformat - Kostenrechner</div>
|
||||
<div class="tagline">Berechne einfach Druck- und Materialkosten für Posterprints und andere Großformate.</div>
|
||||
<div class="tagline">Berechne einfach Druck- und Materialkosten für Posterprints und andere Großformate.
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="link-card" href="http://{{ server_hostname }}:{{ bookstack_port }}" target="_blank">
|
||||
<i class="fas fa-book card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">Wissenssammlung</div>
|
||||
<div class="tagline">Zugriff auf geteilte Anleitungen und Dokumente innerhalb von BookStack – ideal für die
|
||||
<div class="tagline">Zugriff auf geteilte Anleitungen und Dokumente innerhalb von BookStack – ideal für
|
||||
die
|
||||
Zusammenarbeit. Schreib uns eine kurze E-Mail, um einen Login zu erhalten.</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="link-card" href="http://{{ server_hostname }}:{{ openwebui_port }}" target="_blank">
|
||||
<i class="fas fa-robot card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">Lokaler Chatbot</div>
|
||||
<div class="tagline">Teste unsere schulischen Large Language Models direkt über die Weboberfläche.</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="link-card" href="http://{{ server_hostname }}:8001" target="_blank">
|
||||
<i class="fas fa-code card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">JupyterHub</div>
|
||||
<div class="tagline">Interaktive Python-Notebooks für Datenanalyse, Visualisierung und kollaboratives
|
||||
Programmieren. Schreib uns eine E-Mail für Login-Daten.</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="link-card" href="http://{{ server_hostname }}:{{ forgejo_port }}" target="_blank">
|
||||
<i class="fab fa-git-alt card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">Forgejo Git Server</div>
|
||||
<div class="tagline">Versionskontrolle und Code-Hosting für kollaborative Softwareprojekte. Ideal für gemeinsame
|
||||
<div class="tagline">Versionskontrolle und Code-Hosting für kollaborative Softwareprojekte. Ideal für
|
||||
gemeinsame
|
||||
Entwicklung und Projektmanagement.</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="link-card" href="http://{{ server_hostname }}:{{ element_port }}" target="_blank">
|
||||
<i class="fas fa-comments card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">Matrix Chat</div>
|
||||
<div class="tagline">Browser-basierter Chat für die studio einszwovier Community. Nutzt den bestehenden
|
||||
Matrix-Server – keine App-Installation nötig.</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a class="link-card" href="mailto:einszwovier@gvb-gymnasium.de" target="_blank">
|
||||
<i class="fas fa-envelope card-icon"></i>
|
||||
<div class="card-content">
|
||||
<div class="title">Kontakt</div>
|
||||
<div class="tagline">Schreibe uns direkt an: einszwovier@gvb-gymnasium.de</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue