mirror of
https://codeberg.org/kirche-im-netz/Startodon-Hub.git
synced 2025-06-21 00:26:08 +02:00
166 lines
3 KiB
CSS
166 lines
3 KiB
CSS
/* StarterKit Grid Darstellung */
|
|
.recommendations {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
padding: 0;
|
|
margin-top: 20px;
|
|
}
|
|
.create-button-container {
|
|
position:relative;
|
|
margin: 10px 0;
|
|
height: 36px;
|
|
display: block; /* ist noch WIP */
|
|
}
|
|
|
|
.create-button-container button {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
margin: 0;
|
|
margin-right: 20px;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
border-radius: 4px;
|
|
transition: background-color 0.3s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.create-button:hover {
|
|
background-color: var(--primary-color-hover);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.starterkit {
|
|
background-color: var(--secondary-background-color);
|
|
border: 1px solid var(--secondary-background-color);
|
|
border-radius: 15px;
|
|
padding: 20px;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
cursor: pointer;
|
|
position: relative;
|
|
min-height: 170px;
|
|
height: 225px;
|
|
padding-bottom: 65px;
|
|
}
|
|
|
|
.starterkit:hover {
|
|
border: 1px solid var(--primary-color-hover);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
/* StarterKit Footer */
|
|
.starterkit-footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 10px;
|
|
padding-top: 5px;
|
|
margin: 0 15px;
|
|
font-size: 0.85rem;
|
|
color: #aaa;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.starterkit h3 {
|
|
margin: 5px;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.starterkit p {
|
|
margin: 5px;
|
|
font-size: 0.9rem;
|
|
color: #ccc;
|
|
text-align: justify;
|
|
hyphens: auto;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
.profile-count {
|
|
font-size: 0.9rem;
|
|
color: #ccc;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-line1 {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.autor {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.autor-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.created-by {
|
|
font-size: 0.75rem;
|
|
color: #aaa;
|
|
}
|
|
|
|
.author-name {
|
|
font-size: 0.9rem;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.account-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: solid 2px #777;
|
|
}
|
|
|
|
.account {
|
|
font-size: 0.9rem;
|
|
color: #ccc;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
.autor .account-avatar {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 50%;
|
|
margin: 0;
|
|
border: solid 2px #777;
|
|
}
|
|
|
|
.autor a {
|
|
text-decoration: none;
|
|
color: #ccc;
|
|
font-size: 0.9rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.authors-container {
|
|
display: flex;
|
|
gap: 5px;
|
|
align-items: center;
|
|
}
|