lumbung.space/themes/lumbung-theme/static/css/main.css

1135 lines
18 KiB
CSS
Raw Normal View History

2022-01-06 08:45:53 +00:00
@font-face {
2022-01-13 11:33:40 +00:00
font-family: Gudea;
font-style: normal;
font-weight: 400;
src: url(fonts/gudea.woff2) format("woff2");
2022-01-06 08:45:53 +00:00
}
2022-01-06 09:00:43 +00:00
2022-01-06 08:45:53 +00:00
@font-face {
2022-01-13 11:33:40 +00:00
font-family: Gudea;
font-style: italic;
font-weight: 400;
src: url(fonts/gudea-italic.woff2) format("woff2");
2022-01-06 08:45:53 +00:00
}
2022-01-06 09:00:43 +00:00
2022-01-06 08:45:53 +00:00
@font-face {
2022-01-13 11:33:40 +00:00
font-family: Gudea;
font-style: normal;
font-weight: 700;
src: url(fonts/gudea-bold.woff2) format("woff2");
2021-12-15 10:09:08 +00:00
}
:root {
2022-01-13 11:33:40 +00:00
--border-color: tomato;
2022-01-13 11:33:40 +00:00
--tv-dark: #237D0F;
--tv-light: #E2FAD7;
2022-04-07 16:17:00 +00:00
--pen-dark: #C5021E;
--pen-light: #FFEBD9;
2022-01-13 11:33:40 +00:00
--social-light: #C2E4F2;
--social-dark: #0163A4;
2022-01-13 11:33:40 +00:00
--gallery-light: #FCF4B9;
--gallery-dark: #846A00;
--kios-light: #F6D1BC;
--kios-dark: #E05732;
2022-01-20 08:16:38 +00:00
--shouts-dark: #CB001D;
--shouts-light: #FFD9DD;
2022-02-02 11:53:31 +00:00
--calendar-light: #B6EDFF;
--calendar-dark: #0E64C8;
2022-04-07 17:32:42 +00:00
--sounds-light: #ECC5EC;
--sounds-dark: #CA14D4;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
/*Main Stuff*/
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
body {
2022-01-13 11:33:40 +00:00
font-size: 21px;
2022-01-26 12:37:40 +00:00
font-family: Gudea, sans-serif;
2022-01-13 11:33:40 +00:00
margin: 0;
2022-01-20 07:25:14 +00:00
/* pushes footer to bottom */
2022-01-20 08:16:38 +00:00
display: grid;
2022-01-20 07:25:14 +00:00
grid-template-rows: auto auto 1fr auto;
min-height: 100vh;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
* {
2022-01-13 11:33:40 +00:00
box-sizing: border-box;
2021-12-15 10:09:08 +00:00
}
2022-04-13 06:36:03 +00:00
.container {
2022-01-13 11:33:40 +00:00
margin: 2em auto;
max-width: 80%;
margin-bottom: 0;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card {
2022-01-13 11:33:40 +00:00
border: 2px solid var(--border-color);
background-color: #fff09d;
max-width: 600px;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card {
2022-01-13 11:33:40 +00:00
background-color: peachpuff;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:04:10 +00:00
.side-bar {
2022-01-13 11:33:40 +00:00
border: 2px solid var(--border-color);
max-width: 400px;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card:nth-child(even) {
2022-01-13 11:33:40 +00:00
transform: rotate(-1deg);
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card:nth-child(odd) {
2022-01-13 11:33:40 +00:00
transform: rotate(1deg);
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card:nth-child(5) {
2022-01-13 11:33:40 +00:00
transform: rotate(2deg);
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.video.box {
2022-01-13 11:33:40 +00:00
margin-top: 3em;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.bar {
2022-01-13 11:33:40 +00:00
border: 2px solid var(--border-color);
box-shadow: 0.6em 0.6em 0 #d2d1c8;
margin-bottom: 2em;
margin-top: 3em;
display: inline-block;
background-color: #fff09d;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.h-feed {
2022-01-13 11:33:40 +00:00
display: flex;
flex-flow: row wrap;
width: 100%;
2021-12-15 10:09:08 +00:00
}
.p-name {
padding-right: 1em;
}
2021-12-15 10:09:08 +00:00
/* base header & menu */
2022-01-01 08:08:59 +00:00
#top-menu {
2022-03-18 13:18:00 +00:00
padding: 1.5rem 1rem 0;
2022-01-13 11:33:40 +00:00
display: grid;
grid-template-columns: 300px 1fr auto;
align-items: flex-start;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
.home-link {
text-decoration: none;
}
2022-01-06 08:45:53 +00:00
.logo {
2022-01-13 11:33:40 +00:00
width: 283px;
margin-top: 2rem;
2021-12-15 10:09:08 +00:00
}
2022-01-06 08:45:53 +00:00
#top-menu a {
2022-01-13 11:33:40 +00:00
text-decoration: none;
color: #333;
2022-01-06 09:10:05 +00:00
}
2022-01-06 10:56:27 +00:00
#top-menu a:hover,
#top-menu a:focus {
2022-01-13 11:33:40 +00:00
color: black;
2022-01-06 10:56:27 +00:00
}
2022-01-06 09:10:05 +00:00
#top-menu #login {
2022-01-13 11:33:40 +00:00
font-weight: bold;
margin-top: 8px;
2021-12-15 10:09:08 +00:00
}
2022-01-06 08:45:53 +00:00
#top-menu div {
2022-01-13 11:33:40 +00:00
display: flex;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:04:33 +00:00
#top-menu div.mobile-menu,
.drawer {
2022-01-13 11:33:40 +00:00
display: none;
2022-01-13 11:04:33 +00:00
}
2022-01-06 08:45:53 +00:00
#top-menu input {
2022-01-13 11:33:40 +00:00
border: none;
border-bottom: 1px solid #333;
margin-right: 2rem;
font-size: 13px;
margin-left: 5px;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
#top-menu input:focus,
2022-01-06 10:53:36 +00:00
#top-menu input:hover {
2022-01-13 11:33:40 +00:00
outline: none;
border-bottom: 1px solid #333;
2022-01-06 10:53:36 +00:00
}
2022-01-06 08:45:53 +00:00
.menu-dropdown summary {
2022-01-13 11:33:40 +00:00
list-style: none;
cursor: pointer;
2022-01-06 08:45:53 +00:00
}
.dropdown-menu summary::-webkit-details-marker {
2022-01-13 11:33:40 +00:00
display: none;
2021-12-15 10:09:08 +00:00
}
2022-01-13 09:01:10 +00:00
.menu {
2022-01-13 11:33:40 +00:00
margin-top: 8px;
2022-01-13 09:01:10 +00:00
}
2022-01-01 15:45:49 +00:00
.menu ul {
2022-01-13 11:33:40 +00:00
list-style-type: none;
margin: 0 auto;
padding: 0 3rem;
2022-01-13 11:33:40 +00:00
display: flex;
justify-content: space-between;
2022-01-13 11:33:40 +00:00
text-transform: lowercase;
max-width: 1100px;
2021-12-15 10:09:08 +00:00
}
.menu-nav-item {
2022-01-13 11:33:40 +00:00
border-right: 2px solid var(--border-color);
padding: 0.5em;
2021-12-15 10:09:08 +00:00
}
2022-03-18 13:18:00 +00:00
/* styles for "tools" dropdown menu */
#top-menu ul.submenu {
flex-direction: column;
margin-left: 0;
position: absolute;
background-color: white;
z-index: 2;
2022-03-18 13:18:00 +00:00
}
.menu .submenu {
visibility: hidden;
2022-04-13 06:30:18 +00:00
transition: all 0.1s ease-in-out;
2022-03-18 13:18:00 +00:00
}
2022-03-19 09:40:12 +00:00
.menu .submenu li {
2022-03-18 13:18:00 +00:00
margin: 2px 0;
}
2022-03-19 09:40:12 +00:00
.menu .has-submenu {
2022-03-18 13:18:00 +00:00
cursor: pointer;
2022-04-06 07:22:10 +00:00
color: #333333;
}
.menu .has-submenu:hover {
color: black;
2022-03-18 13:18:00 +00:00
}
2022-03-19 09:40:12 +00:00
.menu .has-submenu:hover .submenu {
2022-03-18 13:18:00 +00:00
visibility: visible;
}
2022-03-19 09:40:12 +00:00
#top-menu .menu ul.submenu {
2022-03-18 13:18:00 +00:00
margin-left: 11px;
margin-top: 10px;
border: 1px solid ;
gap: 0.25em;
padding: 0.5em;
}
#top-menu a {
padding: 0 5px;
}
2022-03-19 09:40:12 +00:00
#top-menu .menu .submenu a {
2022-03-18 13:18:00 +00:00
margin: 0;
display: flex;
}
#top-menu .drawer .submenu {
position: initial;
display: none;
}
#top-menu .drawer .submenu.opened {
display: flex;
}
#top-menu .drawer .submenu li {
padding: 0;
padding-top: 1em;
}
#top-menu .drawer .opened .submenu {
visibility: visible;
}
2022-03-19 09:40:12 +00:00
.drawer .has-submenu {
2022-04-07 16:35:29 +00:00
padding-left: 1em;
margin-left: 5px;
color: #333;
display: flex;
flex-direction: column;
2022-03-19 09:40:12 +00:00
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
/*Article Summary Cards*/
.h-entry header {
2022-01-13 11:33:40 +00:00
display: flex;
justify-content: space-between;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.h-entry header h2 {
2022-01-13 11:33:40 +00:00
padding: 0.2em;
margin: 0;
padding-right: 0.3em;
padding-left: 0.3em;
flex-grow: 1;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.h-entry header h2:hover {
2022-01-13 11:33:40 +00:00
cursor: pointer;
2021-12-15 10:09:08 +00:00
}
.h-entry header h2 a {
2022-01-13 11:33:40 +00:00
text-decoration: none;
color: var(--border-color);
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.h-entry header .header-metadata {
2022-01-13 11:33:40 +00:00
margin: 0;
display: flex;
flex-flow: column wrap;
font-size: 0.8rem;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:46:07 +00:00
.h-entry img {
max-width: 100%;
width: 100%;
}
2022-04-12 21:04:23 +00:00
.portrait .h-entry img {
max-width: unset;
width: unset;
}
2022-01-13 11:33:40 +00:00
.header-metadata .dt-published {
padding: 0.5em 1.2em 0.5em 1.2em;
2021-12-15 10:09:08 +00:00
}
.author.p-author {
2022-01-13 11:33:40 +00:00
border-top: 2px solid var(--border-color);
padding: 0.5em 1.2em 0.5em 1.2em;
2021-12-15 10:09:08 +00:00
}
.p-summary.truncated.image {
2022-01-13 11:33:40 +00:00
display: flex;
flex-direction: row-reverse;
2021-12-15 10:09:08 +00:00
}
.p-summary.truncated {
2022-01-13 11:33:40 +00:00
display: flex;
flex-direction: column;
2021-12-15 10:09:08 +00:00
}
.summary-text {
2022-01-13 11:33:40 +00:00
flex: 1;
padding: 1em;
min-width: 34ch;
text-overflow: ellipsis;
overflow: hidden;
2021-12-15 10:09:08 +00:00
}
2022-01-20 08:18:01 +00:00
.summary-image > a {
2022-01-13 11:33:40 +00:00
display: flex;
2021-12-15 10:09:08 +00:00
}
footer.post-footer {
2022-01-13 11:33:40 +00:00
display: flex;
flex-flow: row-reverse;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
.footer-filler {
border-top: 2px solid var(--border-color);
flex-grow: 1;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
2021-12-15 10:09:08 +00:00
.read-more {
2022-01-13 11:33:40 +00:00
border-top: 2px solid var(--border-color);
border-left: 2px solid var(--border-color);
align-content: flex-end;
padding: 0.2em 1em 0.2em 1em;
font-size: 0.9rem;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
/* network cards */
2022-01-01 08:08:59 +00:00
.card.network {
2022-01-20 08:16:38 +00:00
border: 2px solid var(--shouts-dark);
background-color: var(--shouts-light);
2022-01-13 11:33:40 +00:00
max-width: min-content;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
2022-01-20 08:16:38 +00:00
color: var(--shouts-dark);
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-04-07 16:17:00 +00:00
2021-12-15 10:09:08 +00:00
.h-entry.network header {
2022-01-13 11:33:40 +00:00
display: flex;
2022-01-20 08:16:38 +00:00
flex-direction: column;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.h-entry.network header h2 {
2022-01-20 08:16:38 +00:00
padding: 0.2em 0.5em 0.5em 0.5em;
2022-01-13 11:33:40 +00:00
margin: 0;
border: none;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.h-entry.network header h2:hover {
2022-01-13 11:33:40 +00:00
cursor: pointer;
2021-12-15 10:09:08 +00:00
}
.h-entry.network header h2 a {
2022-01-13 11:33:40 +00:00
text-decoration: none;
2022-01-20 08:16:38 +00:00
color: var(--shouts-dark);
}
.h-entry.network header time {
text-align: right;
padding: 0.6em 0.8em;
font-size: 1rem;
2021-12-15 10:09:08 +00:00
}
.network .header-metadata {
2022-01-13 11:33:40 +00:00
align-items: center;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
.network .header-metadata .dt-published {
2022-01-20 08:16:38 +00:00
border-bottom: 2px solid var(--shouts-dark);
2021-12-15 10:09:08 +00:00
}
.network .filler {
2022-01-13 11:33:40 +00:00
min-height: 1rem;
2021-12-15 10:09:08 +00:00
}
.network .author.p-author {
2022-01-20 08:16:38 +00:00
border-color: var(--shouts-dark);
2022-01-13 11:33:40 +00:00
padding: 0.5em 1.2em 0.5em 1.2em;
2021-12-15 10:09:08 +00:00
}
.network .p-summary {
2022-01-13 11:33:40 +00:00
display: flex;
2021-12-15 10:09:08 +00:00
}
.network .p-summary.portrait {
2022-01-13 11:33:40 +00:00
flex-direction: row;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
.network .p-summary.landscape {
flex-direction: column;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
2022-01-20 08:26:05 +00:00
.network .summary-image > img {
2022-01-13 11:33:40 +00:00
display: inherit;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
.network .summary-text {
2022-01-13 11:33:40 +00:00
font-size: 18px;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
div.network-source {
2022-01-20 08:16:38 +00:00
padding: 1em;
padding-right: 2em;
width: fit-content;
2022-01-13 11:33:40 +00:00
font-size: 14px;
display: flex;
justify-content: space-between;
2022-01-20 08:16:38 +00:00
background-color: var(--shouts-dark);
color: white;
position: relative;
right: 1em;
}
.network-source::before {
content: "";
position: absolute;
right: -20px;
bottom: 0;
width: 0;
height: 0;
border-left: 20px solid var(--shouts-dark);
border-top: 23px solid transparent;
border-bottom: 23px solid transparent;
2021-12-15 10:09:08 +00:00
}
.network-source a {
2022-01-13 11:33:40 +00:00
font-weight: bold;
2022-01-20 08:16:38 +00:00
color: white;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.network .footer-filler {
2022-01-20 08:16:38 +00:00
border-left: 2px solid var(--shouts-dark);
2022-01-13 11:33:40 +00:00
border-top: none;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.network footer.post-footer {
2022-01-20 08:16:38 +00:00
border-top: 2px solid var(--shouts-dark);
2022-01-13 11:33:40 +00:00
flex-flow: row;
font-size: 0.9rem;
2022-01-20 08:16:38 +00:00
background-color: var(--shouts-light);
2022-01-20 08:23:42 +00:00
color: var(--shouts-dark);
padding: 1em;
}
.network footer svg {
fill: var(--shouts-dark)
2021-12-15 10:09:08 +00:00
}
.network .read-more {
2022-01-13 11:33:40 +00:00
border: none;
2022-01-20 08:16:38 +00:00
border-left: 2px solid var(--shouts-dark);
2022-01-13 11:33:40 +00:00
padding: 0.5em 1.2em 0.5em 1.2em;
2021-12-15 10:09:08 +00:00
}
.network .footer-metadata {
2022-01-13 11:33:40 +00:00
padding: 0.5em 1.2em 0.5em 1.2em;
2021-12-15 10:09:08 +00:00
}
2022-04-20 09:54:37 +00:00
/* pen cards */
.card.pen {
border: 2px solid var(--pen-dark);
background-color: var(--pen-light);
max-width: min-content;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
color: var(--shouts-dark);
}
.h-entry.pen header {
display: flex;
flex-direction: column;
}
.h-entry.pen header h2 {
padding: 0.2em 0.5em 0.5em 0.5em;
margin: 0;
border: none;
}
.h-entry.pen header h2:hover {
cursor: pointer;
}
.h-entry.pen header h2 a {
text-decoration: none;
color: var(--pen-dark);
}
.h-entry.pen header time {
text-align: right;
padding: 0.6em 0.8em;
padding-top: 0;
font-size: 1rem;
}
.pen .header-metadata {
align-items: center;
}
.pen .header-metadata .dt-published {
border-bottom: 2px solid var(--pen-dark);
}
.pen .filler {
min-height: 1rem;
}
.pen .author.p-author {
border-color: var(--pen-dark);
padding: 0.5em 1.2em 0.5em 1.2em;
}
.pen .p-summary {
display: flex;
}
.pen .p-summary.portrait {
flex-direction: row;
}
.pen .p-summary.landscape {
flex-direction: column;
}
.pen .summary-image > img {
display: inherit;
}
.pen .summary-text {
font-size: 18px;
}
div.pen-source {
padding: 1em;
font-size: 14px;
display: flex;
justify-content: space-between;
background-color: var(--pen-dark);
color: white;
margin: auto;
position: relative;
bottom: 21px;
transform: rotate(1deg);
}
.pen-source a {
font-weight: bold;
color: white;
}
.pen .footer-filler {
border-left: 2px solid var(--pen-dark);
border-top: none;
}
.pen footer.post-footer {
border-top: 2px solid var(--pen-dark);
flex-flow: row;
font-size: 0.9rem;
background-color: var(--pen-light);
color: var(--pen-dark);
padding: 0.25em 0.5em;
}
.pen footer svg {
fill: var(--pen-dark)
}
.pen .read-more {
border: none;
border-left: 2px solid var(--pen-dark);
padding: 0.5em 1.2em 0.5em 1.2em;
}
.pen .footer-metadata {
padding: 0.5em 1.2em 0.5em 1.2em;
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
/* shouts cards */
2022-01-01 08:08:59 +00:00
.card.shout {
2022-01-13 11:33:40 +00:00
border-color: steelblue;
border: 2px solid;
background-color: aliceblue;
max-width: min-content;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
color: steelblue;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-13 10:27:07 +00:00
.card.shout h2 a {
2022-01-13 11:33:40 +00:00
color: var(--social-dark);
cursor: pointer;
display: block;
word-wrap: anywhere;
2022-01-13 10:27:07 +00:00
}
2022-01-13 11:33:40 +00:00
.card .card.shout h2 a:hover {
border: none;
text-decoration: none;
2022-01-13 10:27:07 +00:00
}
.card.shout .post-footer {
2022-01-13 11:33:40 +00:00
background: var(--social-light);
color: var(--social-dark);
2022-01-13 10:27:07 +00:00
}
/* gallery cards */
.card.shout.lumbung-gallery {
border-color: var(--gallery-dark);
background-color: var(--gallery-light);
color: var(--gallery-dark);
}
.card.shout.lumbung-gallery h2 a {
color: var(--gallery-dark);
}
.card.shout.lumbung-gallery .post-footer {
background: var(--gallery-light);
color: var(--gallery-dark);
border-top: 2px solid;
}
/* kios cards */
.card.shout.lumbung-kios {
border-color: var(--kios-dark);
background-color: var(--kios-light);
color: var(--kios-dark);
}
.card.shout.lumbung-kios h2 a {
color: var(--kios-dark);
}
.card.shout.lumbung-kios .post-footer {
background: var(--kios-light);
color: var(--kios-dark);
border-top: 2px solid;
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
/* calendar cards */
.card.calendar {
2022-02-02 12:30:15 +00:00
border: 2px solid var(--calendar-dark);
background-color: var(--calendar-light);
2022-01-13 11:33:40 +00:00
max-width: 360px;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
2022-02-02 12:30:15 +00:00
color: var(--calendar-dark);
}
.calendar .tape-label {
background-color: var(--calendar-light);
}
.calendar .tape-label span {
background-color: var(--calendar-dark);
2021-12-15 10:09:08 +00:00
}
.h-event.calendar header {
2022-01-13 11:33:40 +00:00
display: flex;
border-bottom: 2px solid cornflowerblue;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.h-event.calendar header h2 {
2022-01-13 11:33:40 +00:00
padding: 0.2em 0.5em 0.2em 0.5em;
margin: 0;
border-right: none;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.h-event.calendar header h2:hover {
2022-01-13 11:33:40 +00:00
cursor: pointer;
2021-12-15 10:09:08 +00:00
}
.h-event.calendar header h2 a {
2022-01-13 11:33:40 +00:00
text-decoration: none;
2022-02-02 12:30:15 +00:00
color: var(--calendar-dark);
}
.h-event.calendar .calendar-location a {
color: var(--calendar-dark);
2021-12-15 10:09:08 +00:00
}
.header-filler {
2022-01-13 11:33:40 +00:00
min-width: 10%;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.calendar-location {
2022-01-13 11:33:40 +00:00
font-size: 0.8rem;
min-width: 20%;
padding: 0.5em 0.9em 0.5em 0.9em;
border-left: 2px solid cornflowerblue;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.calendar-duration {
2022-01-13 11:33:40 +00:00
font-size: 0.8rem;
border-right: 2px solid cornflowerblue;
padding: 0.5em 0.9em 0.5em 0.9em;
2021-12-15 10:09:08 +00:00
}
.start-scroller {
2022-01-13 11:33:40 +00:00
display: flex;
flex-flow: row-reverse;
border-bottom: 2px solid cornflowerblue;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
.start-scroller marquee {
font-size: 0.8rem;
padding-top: 0.2em;
padding-bottom: 0.2em;
2021-12-15 10:09:08 +00:00
}
.calendar .description {
2022-01-13 11:33:40 +00:00
border-top: 2px solid cornflowerblue;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
.calendar-image-holder {
border-bottom: 2px solid cornflowerblue;
2021-12-15 10:09:08 +00:00
}
.calendar-image-holder a {
2022-01-13 11:33:40 +00:00
display: inherit;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
.calendar-image {
width: 100%;
2022-01-13 11:33:40 +00:00
max-width: 100%;
display: inherit;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
/* Card metadata (video & calendar) */
2022-02-02 12:30:15 +00:00
.tape-label {
display: flex;
justify-content: center;
border: none;
font-size: 1rem;
}
.tape-label a,
.tape-label span {
width: max-content;
padding: 0.5em;
position: relative;
bottom: 19px;
z-index: 1;
transform: rotate(2deg);
color: white;
}
2021-12-15 10:09:08 +00:00
.metadata {
2022-01-13 11:33:40 +00:00
display: flex;
justify-content: space-between;
flex-wrap: wrap;
2021-12-15 10:09:08 +00:00
}
.description p:first-of-type {
2022-01-13 11:33:40 +00:00
margin: 0;
2021-12-15 10:09:08 +00:00
}
.description ul:first-of-type {
2022-01-13 11:33:40 +00:00
margin: 0;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
input+label+.calendar-location+.description {
display: none;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-13 11:33:40 +00:00
input:checked+label+.calendar-location+.description {
display: block;
transition: ease .5s;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
.metadata label {
2022-01-13 11:33:40 +00:00
vertical-align: sub;
flex-grow: 1;
font-weight: normal;
cursor: pointer;
padding: 0.4em 0.9em 0.4em 0.9em;
font-size: 0.9em;
2021-12-15 10:09:08 +00:00
}
label:hover {
box-shadow: inset 2px 2px 0px var(--calendar-dark);
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.description {
2022-01-13 11:33:40 +00:00
padding: 0.5em 0.7em 0.7em 0.5em;
overflow: hidden;
flex-basis: 100%;
2021-12-15 10:09:08 +00:00
}
.descr_button {
2022-01-13 11:33:40 +00:00
cursor: pointer;
flex-grow: 1;
text-align: center;
2021-12-15 10:09:08 +00:00
}
2022-01-13 11:33:40 +00:00
2021-12-15 10:09:08 +00:00
/* Paginator */
2022-04-13 06:43:18 +00:00
.pagination-container {
2022-01-13 11:33:40 +00:00
width: 60%;
margin: auto;
margin-top: 2em;
margin-bottom: 2em;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
ul.pagination {
2022-01-13 11:33:40 +00:00
display: flex;
justify-content: space-evenly;
/* align horizontal */
align-items: center;
/* align vertical */
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.page-item {
2022-01-13 11:33:40 +00:00
display: block;
text-align: center;
font-size: 38px;
border-bottom: 2px solid black;
cursor: pointer;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
li.page-item {
2022-01-13 11:33:40 +00:00
padding: 0.4em;
position: relative;
2022-01-13 08:43:45 +00:00
}
li.page-item a {
2022-01-13 11:33:40 +00:00
color: black;
2021-12-15 10:09:08 +00:00
}
li.page-item.active a {
2022-01-13 11:33:40 +00:00
text-decoration: underline;
2022-01-13 08:43:45 +00:00
}
2022-01-01 08:08:59 +00:00
li.page-item.disabled {
2022-01-13 11:33:40 +00:00
display: none;
2021-12-15 10:09:08 +00:00
}
2022-04-13 05:48:18 +00:00
li.page-item:first-child,
li.page-item:last-child,
li.page-item:nth-last-child(2),
.previous-page-link {
2022-01-13 11:33:40 +00:00
border: none;
text-decoration: none;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
2022-01-13 08:43:45 +00:00
li.page-item:first-child::before,
li.page-item:first-child::after,
li.page-item:last-child::before,
2022-04-13 05:48:18 +00:00
li.page-item:last-child::after,
2022-01-13 10:18:00 +00:00
li.page-item:nth-last-child(2)::before,
li.page-item:nth-last-child(2)::after,
.previous-page-link::before,
.previous-page-link::after {
2022-01-13 11:33:40 +00:00
display: none;
2022-01-13 10:18:00 +00:00
}
2022-01-13 08:43:45 +00:00
li.page-item a {
2022-01-13 11:33:40 +00:00
text-decoration: none;
2022-01-13 08:43:45 +00:00
}
2022-01-13 09:24:55 +00:00
li.page-item:hover a {
2022-01-13 11:33:40 +00:00
text-decoration: underline;
2022-01-13 08:43:45 +00:00
}
li.page-item:before {
2022-01-13 11:33:40 +00:00
content: "";
position: absolute;
left: 0;
bottom: 0;
height: 50%;
width: 50%;
border-left: 2px solid black;
2022-01-17 20:43:40 +00:00
z-index: -100;
2022-01-13 08:43:45 +00:00
}
li.page-item:after {
2022-01-13 11:33:40 +00:00
content: "";
position: absolute;
right: 0;
bottom: 0;
height: 50%;
width: 50%;
border-right: 2px solid black;
2022-01-17 20:43:40 +00:00
z-index: -100;
2022-01-13 08:43:45 +00:00
}
2021-12-15 10:09:08 +00:00
/* Page footer */
2022-01-07 08:10:45 +00:00
footer {
2022-01-13 11:33:40 +00:00
background: #AFAFAF;
color: #333333;
font-size: 15px;
padding: 1em 4em;
2022-01-13 08:25:42 +00:00
}
footer a {
2022-01-13 11:33:40 +00:00
color: #333333;
text-decoration: none;
2022-01-13 08:25:42 +00:00
}
footer a:hover {
2022-01-13 11:33:40 +00:00
cursor: pointer;
text-decoration: underline;
2022-01-13 10:37:04 +00:00
}
2022-04-13 17:48:38 +00:00
/* about styles */
#about-img {
width: 50%;
height: auto;
display:block;
margin:auto;
}
/* single page styles */
.single header {
flex-direction: column;
margin-bottom: 4rem;
}
.single .h-entry img {
object-fit: contain;
}
2022-01-13 11:33:40 +00:00
/* lumbung radio player widget */
.lumbung-radio-player {
display: flex;
color: var(--sounds-dark);
border: 1px solid var(--sounds-dark);
background: var(--sounds-light);
font-style: italic;
width: fit-content;
padding: 1rem;
gap: 1rem;
justify-content: center;
align-items: center;
position: fixed;
bottom: 2rem;
right: 2rem;
cursor: pointer;
}
2022-01-13 10:37:04 +00:00
/* mobile styles */
@media (max-width: 1840px) {
2022-01-20 12:14:40 +00:00
body {
display: initial;
}
2022-01-13 11:33:40 +00:00
#top-menu {
grid-template-columns: 1fr;
}
2022-01-13 11:33:40 +00:00
.menu,
#login {
display: none;
}
2022-01-13 11:04:33 +00:00
2022-01-13 11:33:40 +00:00
/* menu styles */
#top-menu div.mobile-menu {
display: flex;
justify-content: space-between;
}
2022-01-13 11:33:40 +00:00
.mobile-menu #login {
display: inline-flex;
}
2022-01-13 11:33:40 +00:00
.hamburger {
border: none;
background: none;
position: relative;
z-index: 3;
}
2022-04-07 16:18:32 +00:00
.hamburger.opened {
position: fixed;
}
2022-01-13 11:33:40 +00:00
.drawer {
display: block;
position: fixed;
background: white;
top: 0;
left: 0;
2022-04-07 16:18:32 +00:00
height: 110vh;
2022-01-13 11:33:40 +00:00
width: 0;
z-index: 2;
transition: 0.2s all ease-in-out;
padding-top: 120px;
2022-04-13 18:36:01 +00:00
border-right: 1px solid;
2022-01-13 11:33:40 +00:00
}
2022-01-13 11:04:33 +00:00
.drawer * {
2022-01-13 11:33:40 +00:00
display: none;
opacity: 0;
}
2022-01-13 11:04:33 +00:00
#top-menu .drawer ul {
2022-01-13 11:33:40 +00:00
display: flex;
flex-direction: column;
gap: 14px;
width: 100%;
margin: 0;
padding: 0;
2022-01-13 11:04:33 +00:00
}
#top-menu ul.submenu {
position: initial;
}
2022-01-13 11:33:40 +00:00
.drawer ul li {
2022-01-13 11:04:33 +00:00
padding: 1em 0;
2022-01-13 11:33:40 +00:00
/* border-bottom: 1px solid #333; */
}
2022-01-13 11:33:40 +00:00
.drawer ul li a {
color: white;
text-decoration: none;
text-transform: lowercase;
margin-left: 1em;
}
2022-01-13 11:04:33 +00:00
.drawer.opened {
2022-01-13 11:33:40 +00:00
width: 80%;
}
2022-01-13 11:33:40 +00:00
.drawer.opened * {
2022-01-13 11:04:33 +00:00
display: block;
2022-01-13 11:33:40 +00:00
opacity: 1;
}
2022-01-13 11:33:40 +00:00
/* card styles */
2022-01-20 12:14:40 +00:00
.card,
.card.network {
max-width: 83vw;
}
.card .summary-text {
2022-01-13 11:33:40 +00:00
font-size: 17px;
2022-01-20 12:14:40 +00:00
min-width: 30ch;
2022-01-13 11:33:40 +00:00
}
2022-01-20 12:14:40 +00:00
.card h2 a {
2022-01-13 11:33:40 +00:00
font-size: 26px;
}
}
2022-01-17 13:30:46 +00:00
2022-04-13 06:32:52 +00:00
@media (max-width: 480px) {
.pagination-container {
width: 71vw;
margin: 2em 0;
}
.pagination .page-item {
font-size: 26px;
}
2022-04-13 06:32:52 +00:00
}
@media (max-width: 960px) {
.menu ul:first-child {
padding: 0;
}
2022-04-13 17:48:38 +00:00
}