2023-10-02 12:08:18 +02:00
|
|
|
$roomstate_color_unknown: #dda218;
|
|
|
|
$roomstate_color_open: var(--ins-color);
|
|
|
|
$roomstate_color_closed: var(--del-color);
|
|
|
|
|
2023-10-08 00:13:18 +02:00
|
|
|
:root {
|
|
|
|
--spacing: 0.7rem;
|
|
|
|
}
|
2023-10-02 12:08:18 +02:00
|
|
|
|
2023-10-05 23:02:20 +02:00
|
|
|
// General Customizations
|
|
|
|
header {
|
|
|
|
margin-bottom: 3rem;
|
|
|
|
|
2023-10-08 17:38:54 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2023-10-05 23:02:20 +02:00
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2023-10-08 00:13:18 +02:00
|
|
|
|
2023-10-05 23:02:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body>footer {
|
|
|
|
padding-top: var(--spacing);
|
|
|
|
padding-bottom: var(--spacing);
|
|
|
|
}
|
|
|
|
|
|
|
|
body>main {
|
|
|
|
padding-bottom: var(--spacing);
|
|
|
|
}
|
|
|
|
|
|
|
|
.li-comma {
|
|
|
|
&::after {
|
|
|
|
content: ", ";
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child::after {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-08 00:13:18 +02:00
|
|
|
.li-space {
|
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child::after {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.morelink {
|
|
|
|
margin-top: calc(var(--typography-spacing-vertical) * -1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child>a {
|
|
|
|
border-top-left-radius: var(--border-radius);
|
|
|
|
border-bottom-left-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child>a {
|
|
|
|
border-top-right-radius: var(--border-radius);
|
|
|
|
border-bottom-right-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-11 21:55:42 +02:00
|
|
|
.float-left {
|
|
|
|
float: left;
|
|
|
|
margin-right: var(--grid-spacing-horizontal);
|
|
|
|
}
|
|
|
|
|
|
|
|
.float-right {
|
|
|
|
float: right;
|
|
|
|
margin-left: var(--grid-spacing-horizontal);
|
|
|
|
}
|
|
|
|
|
|
|
|
.clearfix {
|
|
|
|
&::after {
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-05 23:02:20 +02:00
|
|
|
|
2023-10-02 12:08:18 +02:00
|
|
|
// Room State in Menu
|
|
|
|
#roomstate {
|
|
|
|
font-size: 0.9em;
|
|
|
|
line-height: 1.0em;
|
|
|
|
max-width: 8em;
|
|
|
|
padding: 5px;
|
|
|
|
|
|
|
|
color: $roomstate_color_unknown;
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
color: $roomstate_color_open;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.closed {
|
|
|
|
color: $roomstate_color_closed;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.duration {
|
|
|
|
font-size: 0.7em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// CCCHH Icon in Menu
|
|
|
|
@media only screen and (prefers-color-scheme: light) {
|
|
|
|
.invert-on-light {
|
|
|
|
filter: invert(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Home page Announcements
|
|
|
|
.announcement {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
background: var(--code-background-color);
|
|
|
|
padding: 10px 15px;
|
|
|
|
|
|
|
|
margin-bottom: var(--typography-spacing-vertical);
|
|
|
|
|
2023-10-08 17:38:54 +02:00
|
|
|
header {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: calc(var(--typography-spacing-vertical) / 2);
|
|
|
|
}
|
|
|
|
|
|
|
|
// .morelink {
|
|
|
|
// margin-top: calc((var(--typography-spacing-vertical) / 2) * -1);
|
|
|
|
// }
|
|
|
|
|
2023-10-02 12:08:18 +02:00
|
|
|
p:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media only screen and (prefers-color-scheme: dark) {
|
|
|
|
.announcement {
|
|
|
|
background: var(--code-background-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-17 22:52:36 +02:00
|
|
|
// Home Friends&Family Gallery + Groups Gallery
|
2023-10-02 12:08:18 +02:00
|
|
|
.flex-grid {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
div {
|
|
|
|
width: 250px;
|
2023-10-17 22:52:36 +02:00
|
|
|
padding-left: 14px; // var(--grid-spacing-horizontal)
|
|
|
|
padding-right: 14px; // var(--grid-spacing-horizontal)
|
|
|
|
|
|
|
|
img.groups-img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
// (250px - 2*var(--grid-spacing-horizontal)) * 3/4
|
|
|
|
max-height: (222px * 3/4);
|
|
|
|
}
|
2023-10-02 12:08:18 +02:00
|
|
|
|
|
|
|
// 2*250px + 2*var(--spacing) + 1px
|
|
|
|
@media only screen and (max-width: 533px) {
|
|
|
|
width: 150px;
|
2023-10-17 22:52:36 +02:00
|
|
|
|
|
|
|
img.groups-img {
|
|
|
|
// (150px - 2*var(--grid-spacing-horizontal)) * 3/4
|
|
|
|
max-height: (122px*3/4);
|
|
|
|
}
|
2023-10-02 12:08:18 +02:00
|
|
|
}
|
2023-10-17 22:52:36 +02:00
|
|
|
|
|
|
|
|
|
|
|
&.wide {
|
|
|
|
width: 350px;
|
|
|
|
|
|
|
|
img.groups-img {
|
|
|
|
// (350px - 2*var(--grid-spacing-horizontal)) * 3/4
|
|
|
|
max-height: (322px*3/4);
|
|
|
|
}
|
|
|
|
|
|
|
|
// 2*350px + 2*var(--spacing) + 1px
|
|
|
|
@media only screen and (max-width: 733px) {
|
|
|
|
width: 250px;
|
|
|
|
|
|
|
|
img.groups-img {
|
|
|
|
// (250px - 2*var(--grid-spacing-horizontal)) * 3/4
|
|
|
|
max-height: (222px*3/4);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-10-02 12:08:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.img-link {
|
|
|
|
a {
|
|
|
|
img {
|
|
|
|
display: block;
|
2023-10-17 22:52:36 +02:00
|
|
|
padding-top: 14px; // var(--grid-spacing-horizontal)
|
|
|
|
padding-bottom: 14px; // var(--grid-spacing-horizontal)
|
2023-10-02 12:08:18 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
2023-10-05 23:02:20 +02:00
|
|
|
}
|
|
|
|
|
2023-10-17 22:52:36 +02:00
|
|
|
|
|
|
|
|
2023-10-05 23:02:20 +02:00
|
|
|
// Blog Overview: Categories list
|
|
|
|
div.nav-aside {
|
|
|
|
ul {
|
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
text-decoration: none;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2023-10-02 12:08:18 +02:00
|
|
|
}
|