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

652 lines
9.9 KiB
CSS
Raw Normal View History

2021-12-15 10:09:08 +00:00
@font-face {
font-family: BarrioRegular;
src: url(fonts/Barrio_Regular.woff);
}
@font-face {
font-family: ZenMaruGothic;
src: url(fonts/Zen_Maru_Gothic_Regular.woff);
}
@font-face {
font-family: AnonymousPro;
src: url(fonts/Anonymous_Pro_Regular.woff);
}
2022-01-06 08:45:53 +00:00
@font-face {
font-family: Gudea;
font-style: normal;
font-weight: 400;
2022-01-06 09:00:43 +00:00
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 {
font-family: Gudea;
font-style: italic;
font-weight: 400;
2022-01-06 09:00:43 +00:00
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 {
font-family: Gudea;
font-style: normal;
font-weight: 700;
2022-01-06 09:00:43 +00:00
src: url(fonts/gudea-bold.woff2) format("woff2");
2021-12-15 10:09:08 +00:00
}
:root {
--border-color: tomato;
2022-01-06 10:37:54 +00:00
--tv-dark: #237D0F;
--tv-light: #E2FAD7;
--pen-dark: #E0005C;
--pen-light: #FEDAE9;
--social-light: #C2E4F2;
--social-dark: #0163A4;
--gallery-light: #FCF4B9;
--gallery-dark: #846A00;
2021-12-15 10:09:08 +00:00
}
/*Main Stuff*/
body {
2022-01-06 09:00:43 +00:00
font-size: 21px;
font-family: Gudea;
2022-01-07 08:10:45 +00:00
margin: 0;
2022-01-01 08:04:10 +00:00
}
2021-12-15 10:09:08 +00:00
* {
box-sizing: border-box;
}
#content {
2022-01-01 08:04:10 +00:00
margin: 2em auto;
max-width: 80%;
margin-bottom: 0;
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card {
2022-01-01 08:04:10 +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;
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card {
2022-01-01 08:04:10 +00:00
background-color: peachpuff;
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:04:10 +00:00
.side-bar {
border: 2px solid var(--border-color);
max-width: 400px;
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card:nth-child(even) {
2022-01-01 08:04:10 +00:00
transform: rotate(-1deg);
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card:nth-child(odd) {
2022-01-01 08:04:10 +00:00
transform: rotate(1deg);
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.card:nth-child(5) {
2022-01-01 08:04:10 +00:00
transform: rotate(2deg);
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.video.box {
2022-01-01 08:04:10 +00:00
margin-top:3em;
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.bar {
2022-01-01 08:04:10 +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;
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
.h-feed {
2021-12-15 10:09:08 +00:00
display: flex;
flex-flow: row wrap;
width: 100%;
2022-01-01 08:04:10 +00:00
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.entries {
2021-12-15 10:09:08 +00:00
padding-top: 10%;
}
/* base header & menu */
2022-01-01 08:08:59 +00:00
#top-menu {
2022-01-06 08:45:53 +00:00
padding: 1rem;
2022-01-06 09:10:05 +00:00
display: grid;
grid-template-columns: 300px 1fr auto;
2022-01-06 08:45:53 +00:00
align-items: flex-start;
2021-12-15 10:09:08 +00:00
}
2022-01-06 09:10:05 +00:00
2022-01-06 08:45:53 +00:00
.home-link { text-decoration: none; }
.logo {
width: 283px;
2022-01-06 08:45:53 +00:00
margin-top: 2rem;
2021-12-15 10:09:08 +00:00
}
2022-01-06 09:10:05 +00:00
#top-menu ul {
margin-left: 3rem;
}
2022-01-06 08:45:53 +00:00
#top-menu a {
text-decoration: none;
color: #333;
padding: 5px;
2022-01-06 09:10:05 +00:00
margin: 0 2rem;
}
2022-01-06 10:56:27 +00:00
#top-menu a:hover,
#top-menu a:focus {
color: black;
}
2022-01-06 09:10:05 +00:00
#top-menu #login {
font-weight: bold;
2021-12-15 10:09:08 +00:00
}
2022-01-06 08:45:53 +00:00
#top-menu div {
display: flex;
2021-12-15 10:09:08 +00:00
}
2022-01-06 13:00:19 +00:00
#top-menu .search {
display: flex;
justify-content: flex-end;
align-items: flex-end;
2022-01-12 10:24:33 +00:00
/* temporarily disabling search */
display: none;
2022-01-06 13:00:19 +00:00
}
2022-01-06 08:45:53 +00:00
#top-menu input {
border: none;
border-bottom: 1px solid #333;
margin-right: 2rem;
2022-01-06 13:00:19 +00:00
font-size: 13px;
margin-left: 5px;
2021-12-15 10:09:08 +00:00
}
2022-01-06 10:53:36 +00:00
#top-menu input:focus,
#top-menu input:hover {
outline: none;
border-bottom: 1px solid #333;
}
2022-01-07 07:17:28 +00:00
@media (max-width: 480px) {
#top-menu {
grid-template-columns: 1fr;
}
.menu,
#top-menu .search,
#login {
display: none;
}
}
2022-01-06 08:45:53 +00:00
.menu-dropdown summary {
list-style: none;
cursor: pointer;
}
.dropdown-menu summary::-webkit-details-marker {
display: none;
2021-12-15 10:09:08 +00:00
}
2022-01-01 15:45:49 +00:00
.menu ul {
2021-12-15 10:09:08 +00:00
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
2022-01-12 10:02:38 +00:00
text-transform: lowercase;
2021-12-15 10:09:08 +00:00
}
.menu-nav-item {
border-right: 2px solid var(--border-color);
padding: 0.5em;
}
/*Article Summary Cards*/
.h-entry header {
display: flex;
border-bottom: 2px solid var(--border-color);
justify-content: space-between;
}
2022-01-01 08:08:59 +00:00
.h-entry header h2 {
2021-12-15 10:09:08 +00:00
padding: 0.2em;
margin: 0;
padding-right: 0.3em;
padding-left: 0.3em;
border-left: 2px solid var(--border-color);
flex-grow: 1;
}
2022-01-01 08:08:59 +00:00
.h-entry header h2:hover {
2022-01-01 08:04:10 +00:00
box-shadow: inset 4px 4px 0px tomato;
cursor: pointer;
2021-12-15 10:09:08 +00:00
}
.h-entry header h2 a {
text-decoration: none;
color: var(--border-color);
}
2022-01-01 08:08:59 +00:00
.h-entry header .header-metadata {
2021-12-15 10:09:08 +00:00
margin: 0;
display: flex;
flex-flow: column wrap;
font-size: 0.8rem;
}
.header-metadata .dt-published{
padding: 0.5em 1.2em 0.5em 1.2em;
}
.author.p-author {
border-top: 2px solid var(--border-color);
padding: 0.5em 1.2em 0.5em 1.2em;
}
.p-summary.truncated.image {
display: flex;
flex-direction: row-reverse;
}
.p-summary.truncated {
display: flex;
flex-direction: column;
}
.summary-text {
flex: 1;
padding: 1em;
min-width: 34ch;
text-overflow: ellipsis;
overflow: hidden;
}
.summary-image > img {
2022-01-01 08:04:10 +00:00
/* height: 100%;
object-fit: cover;
max-width: 100%;*/
2021-12-15 10:09:08 +00:00
}
.summary-image > a {
display: flex;
}
2022-01-01 08:08:59 +00:00
.summary-image {
2021-12-15 10:09:08 +00:00
border-right: 2px solid var(--border-color);
}
footer.post-footer {
display: flex;
flex-flow: row-reverse;
}
.footer-filler{
border-top: 2px solid var(--border-color);
flex-grow: 1;
}
2022-01-01 08:08:59 +00:00
2021-12-15 10:09:08 +00:00
.read-more {
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;
}
/* network cards */
2022-01-01 08:08:59 +00:00
.card.network {
2022-01-01 08:04:10 +00:00
border: 2px solid darkcyan;
2022-01-01 08:04:10 +00:00
background-color: lightgreen;
max-width: min-content;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
color: darkcyan;
}
2021-12-15 10:09:08 +00:00
.h-entry.network header {
display: flex;
border-bottom: 2px solid darkcyan;
flex-direction: row-reverse;
}
2022-01-01 08:08:59 +00:00
.h-entry.network header h2 {
2021-12-15 10:09:08 +00:00
padding: 0.2em 0.5em 0.2em 0.5em;
margin: 0;
border: none;
}
2022-01-01 08:08:59 +00:00
.h-entry.network header h2:hover {
2022-01-01 08:04:10 +00:00
box-shadow: inset 4px 4px 0px darkcyan;
cursor: pointer;
2021-12-15 10:09:08 +00:00
}
.h-entry.network header h2 a {
text-decoration: none;
color: darkcyan;
}
.network .header-metadata {
align-items: center;
}
.network .header-metadata .dt-published{
2022-01-01 08:04:10 +00:00
2021-12-15 10:09:08 +00:00
border-bottom: 2px solid darkcyan;
}
.network .filler {
min-height: 1rem;
}
.network .author.p-author {
border-color: darkcyan;
padding: 0.5em 1.2em 0.5em 1.2em;
}
.network .p-summary {
display: flex;
}
.network .p-summary.portrait {
flex-direction: row;
}
.network .p-summary.landscape{
flex-direction: column;
}
.network .summary-image.portrait {
border-right: 2px solid darkcyan;
}
.network .summary-image.landscape {
border-bottom: 2px solid darkcyan;
border-right: none;
}
.network .summary-image > img {
display: inherit;
}
.network .summary-text {
font-size: 18px;
}
2022-01-01 08:08:59 +00:00
div.network-source {
2021-12-15 10:09:08 +00:00
padding: 0.5em 1em 0.5em 1em;
border-bottom: 2px solid darkcyan;
font-size: 14px;
display: flex;
justify-content: space-between;
}
.network-source a {
font-weight: bold;
color: darkcyan;
}
2022-01-01 08:08:59 +00:00
.network .footer-filler {
2021-12-15 10:09:08 +00:00
border-left: 2px solid darkcyan;
border-top: none;
}
2022-01-01 08:08:59 +00:00
.network footer.post-footer {
2021-12-15 10:09:08 +00:00
border-top: 2px solid darkcyan;
flex-flow: row;
font-size: 0.9rem;
}
.network .read-more {
border: none;
border-left: 2px solid darkcyan;
padding: 0.5em 1.2em 0.5em 1.2em;
}
.network .footer-metadata {
padding: 0.5em 1.2em 0.5em 1.2em;
}
/* shouts cards */
2022-01-01 08:08:59 +00:00
.card.shout {
2022-01-01 08:04:10 +00:00
border-color: steelblue;
border: 2px solid;
2022-01-01 08:04:10 +00:00
background-color: aliceblue;
max-width: min-content;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
color: steelblue;
}
2021-12-15 10:09:08 +00:00
/* calendar cards */
.card.calendar {
2022-01-01 08:04:10 +00:00
border: 2px solid cornflowerblue;
background-color: lightblue;
max-width: 360px;
margin-bottom: 2em;
flex: auto;
margin: 0 3em 3em 0;
align-self: start;
color: royalblue;
2021-12-15 10:09:08 +00:00
}
.card.calendar.past {
opacity: 0.3;
}
.card.calendar.past:hover {
opacity: 1;
}
.h-event.calendar header {
display: flex;
border-bottom: 2px solid cornflowerblue;
}
2022-01-01 08:08:59 +00:00
.h-event.calendar header h2 {
2021-12-15 10:09:08 +00:00
padding: 0.2em 0.5em 0.2em 0.5em;
margin: 0;
border-right: none;
}
2022-01-01 08:08:59 +00:00
.h-event.calendar header h2:hover {
2022-01-01 08:04:10 +00:00
box-shadow: inset 4px 4px 0px royalblue;
cursor: pointer;
2021-12-15 10:09:08 +00:00
}
.h-event.calendar header h2 a {
text-decoration: none;
color: royalblue;
}
.header-filler {
2022-01-01 08:04:10 +00:00
min-width: 10%;
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
.calendar-location {
2021-12-15 10:09:08 +00:00
font-size: 0.8rem;
min-width: 20%;
padding: 0.5em 0.9em 0.5em 0.9em;
border-left: 2px solid cornflowerblue;
}
2022-01-01 08:08:59 +00:00
.calendar-duration {
2021-12-15 10:09:08 +00:00
font-size: 0.8rem;
border-right: 2px solid cornflowerblue;
padding: 0.5em 0.9em 0.5em 0.9em;
}
.start-scroller {
display: flex;
flex-flow: row-reverse;
border-bottom: 2px solid cornflowerblue;
}
.start-scroller marquee{
font-size: 0.8rem;
padding-top: 0.2em;
padding-bottom: 0.2em;
}
.calendar .description {
border-top: 2px solid cornflowerblue;
}
.calendar-image-holder{
border-bottom: 2px solid cornflowerblue;
}
.calendar-image-holder a {
display: inherit;
}
.calendar-image{
max-width: 100%;
display: inherit;
}
/* Card metadata (video & calendar) */
.metadata {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.description p:first-of-type {
margin:0;
}
.description ul:first-of-type {
margin:0;
}
input + label +.calendar-location+.description{
2022-01-01 08:04:10 +00:00
display: none;
}
2021-12-15 10:09:08 +00:00
input:checked + label +.calendar-location+.description {
2022-01-01 08:04:10 +00:00
display: block;
transition: ease .5s;
}
2021-12-15 10:09:08 +00:00
.metadata label {
vertical-align: sub;
flex-grow: 1;
font-weight: normal;
cursor: pointer;
padding: 0.4em 0.9em 0.4em 0.9em;
font-size: 0.9em;
}
label:hover {
box-shadow: inset 2px 2px 0px #95948c;
}
2022-01-01 08:08:59 +00:00
.description {
2021-12-15 10:09:08 +00:00
padding: 0.5em 0.7em 0.7em 0.5em;
overflow: hidden;
flex-basis: 100%;
}
.descr_button {
cursor: pointer;
flex-grow: 1;
text-align: center;
}
/* Paginator */
2022-01-01 08:08:59 +00:00
nav.pagination {
2021-12-15 10:09:08 +00:00
width: 60%;
margin: auto;
margin-top: 2em;
margin-bottom: 2em;
}
2022-01-01 08:08:59 +00:00
ul.pagination {
2021-12-15 10:09:08 +00:00
display: flex;
justify-content: space-evenly; /* align horizontal */
align-items: center; /* align vertical */
}
2022-01-01 08:08:59 +00:00
.page-item {
2021-12-15 10:09:08 +00:00
display: block;
text-align: center;
font-size: 38px;
border: 2px solid #1B4C8A;
box-shadow:0.4em 0.4em 0 #d2d1c8;
2022-01-01 08:04:10 +00:00
2021-12-15 10:09:08 +00:00
}
2022-01-01 08:08:59 +00:00
li.page-item {
2021-12-15 10:09:08 +00:00
background-color: lightblue;
padding: 0.4em;
}
2022-01-01 08:08:59 +00:00
li.page-item.active {
2021-12-15 10:09:08 +00:00
background-color: peachpuff;
border: 2px solid tomato;
padding: 0.4em;
}
2022-01-01 08:08:59 +00:00
li.page-item.disabled {
2021-12-15 10:09:08 +00:00
display: none;
}
2022-01-01 08:08:59 +00:00
li.page-item:nth-child(even) {
2022-01-01 08:04:10 +00:00
transform: rotate(-1deg);
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
li.page-item:nth-child(odd) {
2022-01-01 08:04:10 +00:00
transform: rotate(1deg);
}
2021-12-15 10:09:08 +00:00
2022-01-01 08:08:59 +00:00
li.page-item:nth-child(5) {
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
li.page-item:nth-child(8) {
2022-01-01 08:04:10 +00:00
transform: rotate(-3deg);
}
2021-12-15 10:09:08 +00:00
/* Page footer */
2022-01-07 08:10:45 +00:00
footer {
background: #AFAFAF;
color: #333333;
font-size: 15px;
padding: 1em 4em;
2021-12-15 10:09:08 +00:00
}