From 8f7b53be73cbb24e3e8d1240dc0a77672e98611a Mon Sep 17 00:00:00 2001 From: desmukh Date: Tue, 31 Jan 2023 12:20:45 +0500 Subject: [PATCH 01/38] display dispatches from api on map --- content/publishers/_index.html | 4 +- .../layouts/shortcodes/publishers_map.html | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 themes/lumbung-theme/layouts/shortcodes/publishers_map.html diff --git a/content/publishers/_index.html b/content/publishers/_index.html index e5c74ae..01d6718 100644 --- a/content/publishers/_index.html +++ b/content/publishers/_index.html @@ -3,6 +3,4 @@ draft: false ---

Lumbung of Publishers

-
- {{< map geoJson="data/geojsonContributors.json">}} -
\ No newline at end of file +{{< publishers_map >}} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html new file mode 100644 index 0000000..76f1cd2 --- /dev/null +++ b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html @@ -0,0 +1,40 @@ + + + + +
+ + + + \ No newline at end of file From 99bea6ae6cea1604a429e0c96467a2d5b9b9d2ac Mon Sep 17 00:00:00 2001 From: desmukh Date: Tue, 31 Jan 2023 16:24:39 +0500 Subject: [PATCH 02/38] map: display popup on clicking marker or route --- .../layouts/shortcodes/publishers_map.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html index 76f1cd2..5264866 100644 --- a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html +++ b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html @@ -32,8 +32,23 @@ var end = L.GeoJSON.coordsToLatLng({{ .endPoint.location }}); var startMarker = L.marker(start).addTo(map); + startMarker.bindPopup({{ .startingPoint.name }}); + var endMarker = L.marker(end).addTo(map); - var route = L.polyline([start, end], {color: 'red'}).addTo(map); + endMarker.bindPopup({{ .endPoint.name }}); + + var route = L.polyline([start, end], {color: '#000'}).addTo(map); + + var productsString = ""; + var productsList = {{ .products }}; + productsList.forEach((product, i) => productsString = productsString + product.productTitle + (i + 1 < productsList.length ? ', ' : "")); + + route.bindPopup( + '

Origin: ' + {{ .startingPoint.name }} + '
' + + 'Destination: ' + {{ .endPoint.name }} + '
' + + 'Courier: ' + {{ .courier.name }} + '
' + + 'Products: ' + productsString + '
' + + 'Status: ' + {{ .status }} + '

'); {{ end }} {{ end }} From 5506d3cfa2fa0fa806059c8c708bd9a3411ab5c5 Mon Sep 17 00:00:00 2001 From: desmukh Date: Tue, 7 Feb 2023 15:34:56 +0500 Subject: [PATCH 03/38] map: add layer groups and layer controld for makers, retailers, dispatches --- .../layouts/shortcodes/publishers_map.html | 93 +++++++++++++------ 1 file changed, 65 insertions(+), 28 deletions(-) diff --git a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html index 5264866..945725a 100644 --- a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html +++ b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html @@ -1,44 +1,61 @@ + integrity="sha256-kLaT2GOSpHechhsozzB+flnD+zUyjE2LlfWPgU04xyI=" crossorigin="" /> + integrity="sha256-WBkoXOwTeyKclOHuWtc+i2uENFpDZ9YPdf5Hf+D7ewM=" crossorigin="">
\ No newline at end of file From f241689eb75a556ea2408d63986fde9412c52b06 Mon Sep 17 00:00:00 2001 From: desmukh Date: Wed, 8 Feb 2023 16:51:46 +0500 Subject: [PATCH 04/38] map: change line appearance based on dispatch status --- .../lumbung-theme/layouts/shortcodes/publishers_map.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html index 945725a..a55c202 100644 --- a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html +++ b/themes/lumbung-theme/layouts/shortcodes/publishers_map.html @@ -53,7 +53,8 @@ endMarker.bindPopup({{ .endPoint.name }}); // Add line to display dispatch route - var route = L.polyline([start, end], {color: '#000'}) + var myDashArray = {{ .status }} === "routeRequested" ? "20, 10" : {{ .status }} === "completed" ? "1, 5" : "0, 0"; // Dashed line based on status + var route = L.polyline([start, end], {color: '#000', dashArray: myDashArray }); // Generate string to display list of products in popup var productsString = ""; @@ -76,13 +77,13 @@ var map = L.map('map', { center: [0, 0], zoom: 2, - layers: [osm, makers] + layers: [osm, dispatches] }); var overlayMaps = { + "Dispatches": dispatches, "Makers": makers, - "Retailers": retailers, - "Dispatches": dispatches + "Retailers": retailers }; var layerControl = L.control.layers(overlayMaps, null, {collapsed: false, position: "topleft"}).addTo(map); From 6bff57966d221f82a33fce51c8e1a2931566905f Mon Sep 17 00:00:00 2001 From: rra Date: Sat, 18 Mar 2023 11:05:59 +0100 Subject: [PATCH 05/38] Update 'themes/lumbung-theme/layouts/partials/news-ticker.html' remove imprint references --- themes/lumbung-theme/layouts/partials/news-ticker.html | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/lumbung-theme/layouts/partials/news-ticker.html b/themes/lumbung-theme/layouts/partials/news-ticker.html index bd52896..e69de29 100644 --- a/themes/lumbung-theme/layouts/partials/news-ticker.html +++ b/themes/lumbung-theme/layouts/partials/news-ticker.html @@ -1 +0,0 @@ - \ No newline at end of file From 5179c5fa6cdc164648c1f5b4ec0bcdf5bbcb2d15 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 28 Mar 2023 10:22:59 +0200 Subject: [PATCH 06/38] chore: remove whitespace [ci skip] --- config.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index 826c181..647c46f 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,7 @@ languageCode = "en-gb" title = "lumbung.space" theme = "lumbung-theme" pluralizeListTitles = "false" +paginate = 20 [params] logo = "/img/logo.svg" @@ -10,14 +11,18 @@ pluralizeListTitles = "false" description = 'a digital living room for the lumbung ekosistem' images = ['/img/logo.png'] title = 'lumbung dot space' + bundleCss = "/bundle.css" + bundleJs = "/bundle.js" + mainSections = ['social', 'shouts', 'events', 'tv', 'pen', 'pages'] [markup.goldmark.renderer] -unsafe = true + unsafe = true [taxonomies] author = "authors" + contributor = "contributors" tag = "tags" - category = "categories" + source = "sources" timeline = "timelines" [permalinks] From 11ba5b920a15298ba72974bf63d3db70f3ce9ad5 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 13:27:26 +0500 Subject: [PATCH 07/38] hide contributors map --- content/contributors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/contributors.md b/content/contributors.md index 84d97d4..dbf9c15 100644 --- a/content/contributors.md +++ b/content/contributors.md @@ -5,7 +5,7 @@ draft: false hidden: true --- -{{< map geoJson="data/geojsonContributors.json">}} + ## Lumbung members - **The Question of Funding** From 7366856523557e7a05a6149efd3b504653342813 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 13:53:06 +0500 Subject: [PATCH 08/38] update calendar events directory --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 6ef5d02..eace9df 100644 --- a/compose.yml +++ b/compose.yml @@ -56,7 +56,7 @@ services: volumes: - content:/src/content environment: - OUTPUT_DIR: /src/content/calendar + OUTPUT_DIR: /src/content/events CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export" command: | bash -c " From a4279bc6c3e055f1ae81df83ca6b09a0d50fbfce Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 14:21:40 +0500 Subject: [PATCH 09/38] hide contributors map --- content/contributors.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/contributors.md b/content/contributors.md index dbf9c15..46626b9 100644 --- a/content/contributors.md +++ b/content/contributors.md @@ -5,8 +5,6 @@ draft: false hidden: true --- - - ## Lumbung members - **The Question of Funding** - Adele Jarrar From 5d3bfe7b69a8dc43ba8cae19b34a818e89d630a1 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 14:25:12 +0500 Subject: [PATCH 10/38] change calendar events folder back to old name --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index eace9df..6ef5d02 100644 --- a/compose.yml +++ b/compose.yml @@ -56,7 +56,7 @@ services: volumes: - content:/src/content environment: - OUTPUT_DIR: /src/content/events + OUTPUT_DIR: /src/content/calendar CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export" command: | bash -c " From b5119752c7a48479974eb571a430a10f5aa946de Mon Sep 17 00:00:00 2001 From: knoflook Date: Mon, 19 Dec 2022 10:48:26 +0100 Subject: [PATCH 11/38] change the calendar output dir --- compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yml b/compose.yml index 6ef5d02..eace9df 100644 --- a/compose.yml +++ b/compose.yml @@ -56,7 +56,7 @@ services: volumes: - content:/src/content environment: - OUTPUT_DIR: /src/content/calendar + OUTPUT_DIR: /src/content/events CALENDAR_URL: "https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export" command: | bash -c " From 9dff545b050f9b934a614eb9d4cf6466537ceacc Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 13:20:54 +0500 Subject: [PATCH 12/38] update css in preparation for MR --- themes/lumbung-theme/static/css/main.css | 2611 +++++++++++++--------- 1 file changed, 1574 insertions(+), 1037 deletions(-) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 2b9874a..019dee4 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -3,87 +3,97 @@ font-style: normal; font-weight: 400; src: url(fonts/gudea.woff2) format("woff2"); -} - -@font-face { + } + + @font-face { font-family: Gudea; font-style: italic; font-weight: 400; src: url(fonts/gudea-italic.woff2) format("woff2"); -} - -@font-face { + } + + @font-face { font-family: Gudea; font-style: normal; font-weight: 700; src: url(fonts/gudea-bold.woff2) format("woff2"); -} - -:root { + } + + :root { --border-color: tomato; - + --tv-dark: #237D0F; --tv-light: #E2FAD7; - + --pen-dark: #C5021E; --pen-light: #FFEBD9; - + --social-light: #C2E4F2; --social-dark: #0163A4; - + --gallery-light: #FCF4B9; --gallery-dark: #846A00; - + --kios-light: #F6D1BC; --kios-dark: #E05732; - + --shouts-dark: #CB001D; --shouts-light: #FFD9DD; - + --calendar-light: #B6EDFF; --calendar-dark: #0E64C8; - + --sounds-light: #ECC5EC; --sounds-dark: #CA14D4; - + --books-dark: #954d43; --books-light: #edd7c4; -} - - -/*Main Stuff*/ - -body { + } + + + /*Main Stuff*/ + + html { + scroll-behavior: smooth; + } + + + body { font-size: 21px; font-family: Gudea, sans-serif; margin: 0; - + /* pushes footer to bottom */ display: grid; grid-template-rows: auto auto 1fr auto; min-height: 100vh; -} - -/* pushes banner to bottom */ -body > iframe { + } + + /* pushes banner to bottom */ + body > iframe { margin: auto 0 0; -} - -* { + } + + * { box-sizing: border-box; -} - -.container { + } + + a { + color: #000; + } + + .container { margin: 2em auto; max-width: 80%; + width: 100%; margin-bottom: 0; -} - -.container .single { + } + + .container .single { max-width: 65ch; -} - -.card { + } + + .card { border: 2px solid var(--border-color); background-color: #fff09d; max-width: 600px; @@ -91,13 +101,13 @@ body > iframe { flex: auto; margin: 0 3em 3em 0; align-self: start; -} - -.card { + } + + .card { background-color: peachpuff; -} - -.date-marker{ + } + + .date-marker{ background-color: #333333; color: white; font-style: bold; @@ -108,306 +118,389 @@ body > iframe { font-family: Gudea; font-weight: 700; text-align: center; -} -.date-marker:nth-child(odd){ + } + .date-marker:nth-child(odd){ transform: rotate(3deg); -} -.date-marker:nth-child(even){ + } + .date-marker:nth-child(even){ transform: rotate(-2deg); -} - - -.side-bar { + } + + + .side-bar { border: 2px solid var(--border-color); max-width: 400px; -} - -.card:nth-child(even) { + } + + .post:nth-child(even) { transform: rotate(-1deg); -} - -.card:nth-child(odd) { + } + + .post:nth-child(odd) { transform: rotate(1deg); -} - -.card:nth-child(5) { + } + + .post:nth-child(5) { transform: rotate(2deg); -} - -.video.box { + } + + .video.box { margin-top: 3em; -} - -.bar { + } + + .bar { 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; -} - -.h-feed { + } + + .h-feed { display: flex; flex-flow: row wrap; width: 100%; -} - -.p-name { + } + + .p-name { padding-right: 1em; -} - -/* base header & menu */ - -#top-menu { - padding: 1.5rem 1rem 0; - display: grid; - grid-template-columns: 300px 1fr auto; - align-items: flex-start; -} - -.home-link { - text-decoration: none; -} - -.logo { - width: 283px; - margin-top: 2rem; -} - -#top-menu a { + } + + /* base header & menu */ + + .header-row { + margin: 1.5rem; + display: flex; + justify-content: space-between; + align-items: center; + } + + .home-link { + display: block; + max-width: 700px; + width: 70%; + padding: 0; + margin: auto; + } + + .logo { + display: block; + width: 100%; + height: auto; + } + + #top-menu .login-link { + background: #009d9b; + padding: 5px 30px; + color: #fff; + font-weight: 900; + position: absolute; + right: 1.5rem; + } + + .menu-row { + margin: 0 auto; + max-width: 80%; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + position: sticky; + top: 15px; + z-index: 99; + max-width: fit-content; + } + + .menu-row .menu .filter-link { + background: #333; + height: 100%; + display: flex; + align-items: center; + padding: 0.5rem 1.5rem; + color: #fff; + cursor: pointer; + } + + .filter-icon { + height: 14px; + width: auto; + display: block; + margin-right: 10px; + } + + .filter-icon path { + fill:#fff; + } + + .menu-button { + width: 30px; + height: 16px; + display: none; + flex-direction: column; + justify-content: space-between; + color: pointer; + } + + .menu-button--line { + width: 100%; + height: 2px; + background: #333; + } + + .menu { + border: 2px solid #333; + padding: 0 1rem; + display: flex; + align-items: center; + background: #fff; + position: relative; + } + + .menu-dot { + width: 10px; + height: 10px; + margin-right: 3rem; + } + + .menu ul { + list-style-type: none; + margin: 0 auto; + padding-left: 0; + display: flex; + justify-content: space-between; + text-transform: lowercase; + } + + .menu ul li { + margin-right: 1.5rem; + padding: 0.5rem 0; + } + + .menu ul li:last-child { + margin-right: 0; + } + + .menu-nav-item { + border-right: 2px solid var(--border-color); + padding: 0.5em; + } + + .menu a { text-decoration: none; color: #333; -} - -#top-menu a:hover, -#top-menu a:focus { + } + + .menu a:hover, + .menu a:focus { color: black; -} - -#top-menu #login { - font-weight: bold; - margin-top: 8px; -} - -#top-menu div { + } + + #top-menu div { display: flex; -} - -#top-menu div.mobile-menu, -.drawer { + } + + #top-menu div.mobile-menu, + .drawer { display: none; -} - -#top-menu input { + } + + .menu input { border: none; border-bottom: 1px solid #333; margin-right: 2rem; font-size: 13px; margin-left: 5px; -} - -#top-menu input:focus, -#top-menu input:hover { + } + + .menu input:focus, + .menu input:hover { outline: none; border-bottom: 1px solid #333; -} - -.menu-dropdown summary { + } + + .menu-dropdown summary { list-style: none; cursor: pointer; -} - -.dropdown-menu summary::-webkit-details-marker { + } + + .dropdown-menu summary::-webkit-details-marker { display: none; -} - -.menu { - margin-top: 8px; -} - -.menu ul { - list-style-type: none; - margin: 0 auto; - padding-left: 3rem; + } + + .login-menu { + display: none; + } + + .menu-row .login { + height: 100%; display: flex; - justify-content: space-between; - text-transform: lowercase; - max-width: 1100px; -} - -.menu-nav-item { - border-right: 2px solid var(--border-color); - padding: 0.5em; -} - -/* styles for "tools" dropdown menu */ -#top-menu ul.submenu { + align-items: center; + border: 2px solid #333; + padding: 0 1.5rem; + background: #fff; + } + + .login a { + text-decoration: none; + } + + /* styles for "tools" dropdown menu */ + .menu ul.submenu { flex-direction: column; margin-left: 0; position: absolute; background-color: white; z-index: 2; -} - -.menu .submenu { + } + + .menu .submenu { visibility: hidden; transition: all 0.1s ease-in-out; -} - -.menu .submenu li { + } + + .menu .submenu li { margin: 2px 0; -} - -.menu .has-submenu { + padding: 0; + } + + .menu .has-submenu { cursor: pointer; color: #333333; -} - -.menu .has-submenu:hover { + } + + .menu .has-submenu:hover { color: black; -} - -.menu .has-submenu:hover .submenu { + } + + .menu .has-submenu:hover .submenu { visibility: visible; -} - -#top-menu .menu ul.submenu { - margin-left: 11px; - margin-top: 10px; - border: 1px solid ; + } + + .menu ul.submenu { + margin-left: -0.5em; + margin-top: 8px; + border: 2px solid ; gap: 0.25em; padding: 0.5em; -} - -#top-menu a { - padding: 0 5px; -} - -#top-menu .menu .submenu a { + } + + .menu .menu .submenu a { margin: 0; display: flex; -} - -#top-menu .drawer .submenu { + } + + .menu .drawer .submenu { position: initial; display: none; -} - -#top-menu .drawer .submenu.opened { + } + + .menu .drawer .submenu.opened { display: flex; -} - -#top-menu .drawer .submenu li { + } + + .menu .drawer .submenu li { padding: 0; padding-top: 1em; -} - -#top-menu .drawer .opened .submenu { + } + + .menu .drawer .opened .submenu { visibility: visible; -} - -.drawer .has-submenu { - padding-left: 1em; - margin-left: 5px; - color: #333; - display: flex; - flex-direction: column; -} - - -/*Article Summary Cards*/ - -.h-entry header { + } + + + /*Article Summary Cards*/ + + .h-entry header { display: flex; justify-content: space-between; -} - -.h-entry header h2 { + } + + .h-entry header h2 { padding: 0.2em; margin: 0; padding-right: 0.3em; padding-left: 0.3em; flex-grow: 1; -} - -.h-entry header h2:hover { + } + + .h-entry header h2:hover { cursor: pointer; -} - -.h-entry header h2 a { + } + + .h-entry header h2 a { text-decoration: none; color: var(--border-color); -} - -.h-entry header .header-metadata { + } + + .h-entry header .header-metadata { margin: 0; display: flex; flex-flow: column wrap; font-size: 0.8rem; -} - -.h-entry img { + } + + .h-entry img { max-width: 100%; width: 100%; -} - -/* .portrait .h-entry img { + } + + /* .portrait .h-entry img { max-width: unset; width: unset; -} */ - -.header-metadata .dt-published { + } */ + + .header-metadata .dt-published { padding: 0.5em 1.2em 0.5em 1.2em; -} - -.author.p-author { + } + + .author.p-author { border-top: 2px solid var(--border-color); padding: 0.5em 1.2em 0.5em 1.2em; -} - -.p-summary.truncated.image { + } + + .p-summary.truncated.image { display: flex; flex-direction: row-reverse; -} - -.p-summary.truncated { + } + + .p-summary.truncated { display: flex; flex-direction: column; -} - -.summary-text { + } + + .summary-text { flex: 1; padding: 1em; min-width: 34ch; text-overflow: ellipsis; overflow: hidden; -} - -.summary-image > a { + } + + .summary-image > a { display: flex; -} - -footer.post-footer { + } + + footer.post-footer { display: flex; flex-flow: row-reverse; padding: 0.5em 1em; -} - -.footer-filler { + } + + .footer-filler { border-top: 2px solid var(--border-color); flex-grow: 1; -} - -.read-more { + } + + .read-more { align-content: flex-end; font-size: 0.9rem; -} - - -/* network cards */ - -.card.network { + } + + + /* shout cards */ + + .card.shout { border: 2px solid var(--shouts-dark); background-color: var(--shouts-light); max-width: min-content; @@ -416,73 +509,73 @@ footer.post-footer { margin: 0 3em 3em 0; align-self: start; color: var(--shouts-dark); -} - - -.h-entry.network header { + } + + + .h-entry.shout header { display: flex; flex-direction: column; -} - -.h-entry.network header h2 { + } + + .h-entry.shout header h2 { padding: 0.2em 0.5em 0.5em 0.5em; margin: 0; border: none; -} - -.h-entry.network header h2:hover { + } + + .h-entry.shout header h2:hover { cursor: pointer; -} - -.h-entry.network header h2 a { + } + + .h-entry.shout header h2 a { text-decoration: none; color: var(--shouts-dark); -} - -.h-entry.network header time { + } + + .h-entry.shout header time { text-align: right; padding: 0.6em 0.8em; font-size: 1rem; -} - -.network .header-metadata { + } + + .shout .header-metadata { align-items: center; -} - -.network .header-metadata .dt-published { + } + + .shout .header-metadata .dt-published { border-bottom: 2px solid var(--shouts-dark); -} - -.network .filler { + } + + .shout .filler { min-height: 1rem; -} - -.network .author.p-author { + } + + .shout .author.p-author { border-color: var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; -} - -.network .p-summary { + } + + .shout .p-summary { display: flex; -} - -.network .p-summary.portrait { + } + + .shout .p-summary.portrait { /* flex-direction: row; */ -} - -.network .p-summary.landscape { + } + + .shout .p-summary.landscape { flex-direction: column; -} - -.network .summary-image > img { + } + + .shout .summary-image > img { display: inherit; -} - -.network .summary-text { + } + + .shout .summary-text { font-size: 18px; -} - -div.network-source { + } + + div.shout-source { padding: 1em; padding-right: 2em; width: fit-content; @@ -493,55 +586,54 @@ div.network-source { color: white; position: relative; right: 1em; -} - -.network-source::before { - content: ""; + } + + .shout-source .triangle { position: absolute; - right: -20px; + right: 0px; bottom: 0; - width: 0; - height: 0; - border-left: 20px solid var(--shouts-dark); - border-top: 23px solid transparent; - border-bottom: 23px solid transparent; -} - -.network-source a { + width: auto; + height: calc(100% + 0.5px); + top: -0.5px; + transform: translateX(calc(100% - 0.5px)); + fill: var(--shouts-dark); + } + + .shout-source a { font-weight: bold; color: white; -} - -.network .footer-filler { + } + + .shout .footer-filler { border-left: 2px solid var(--shouts-dark); border-top: none; -} - -.network footer.post-footer { + } + + .shout footer.post-footer { border-top: 2px solid var(--shouts-dark); flex-flow: row; font-size: 0.9rem; background-color: var(--shouts-light); color: var(--shouts-dark); padding: 1em; -} - -.network footer svg { + } + + .shout footer svg { fill: var(--shouts-dark) -} - -.network .read-more { + } + + .shout .read-more { border: none; border-left: 2px solid var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; -} - -.network .footer-metadata { + } + + .shout .footer-metadata { padding: 0.5em 1.2em 0.5em 1.2em; -} - -/* pen cards */ -.card.pen { + } + + /* pen cards */ + .card.pen { border: 2px solid var(--pen-dark); background-color: var(--pen-light); max-width: min-content; @@ -550,77 +642,77 @@ div.network-source { margin: 0 3em 3em 0; align-self: start; color: var(--shouts-dark); -} - -.h-entry.pen header { + } + + .h-entry.pen header { display: flex; flex-direction: column; -} - -.h-entry.pen header h2 { + } + + .h-entry.pen header h2 { padding: 0.2em 0.5em 0.5em 0.5em; margin: 0; border: none; -} - -.h-entry.pen header h2:hover { + } + + .h-entry.pen header h2:hover { cursor: pointer; -} - -.h-entry.pen header h2 a { + } + + .h-entry.pen header h2 a { text-decoration: none; color: var(--pen-dark); -} - -.h-entry.pen header time { + } + + .h-entry.pen header time { text-align: right; padding: 0.6em 0.8em; padding-top: 0; font-size: 1rem; -} - -.pen .header-metadata { + } + + .pen .header-metadata { align-items: center; -} - -.pen .header-metadata .dt-published { + } + + .pen .header-metadata .dt-published { border-bottom: 2px solid var(--pen-dark); -} - -.pen .filler { + } + + .pen .filler { min-height: 1rem; -} - -.pen .author.p-author { + } + + .pen .author.p-author { border-color: var(--pen-dark); padding: 0.5em 1.2em 0.5em 1.2em; -} - -.pen .p-summary { + } + + .pen .p-summary { display: flex; -} - -.pen .p-summary.portrait { + } + + .pen .p-summary.portrait { /* flex-direction: row; */ /* * for some reason images on specific posts aren't appearing with the portrait class */ flex-direction: column; -} - -.pen .p-summary.landscape { + } + + .pen .p-summary.landscape { flex-direction: column; -} - -.pen .summary-image > img { + } + + .pen .summary-image > img { display: inherit; -} - -.pen .summary-text { + } + + .pen .summary-text { font-size: 18px; -} - -div.pen-source { + } + + div.pen-source { padding: 1em; font-size: 14px; display: flex; @@ -631,45 +723,45 @@ div.pen-source { position: relative; bottom: 21px; transform: rotate(1deg); -} - - -.pen-source a { + } + + + .pen-source a { font-weight: bold; color: white; -} - -.pen .footer-filler { + } + + .pen .footer-filler { border-left: 2px solid var(--pen-dark); border-top: none; -} - -.pen footer.post-footer { + } + + .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 { + } + + .pen footer svg { fill: var(--pen-dark) -} - -.pen .read-more { + } + + .pen .read-more { border: none; border-left: 2px solid var(--pen-dark); padding: 0.5em 1.2em 0.5em 1.2em; -} - -.pen .footer-metadata { + } + + .pen .footer-metadata { padding: 0.5em 1.2em 0.5em 1.2em; -} - -/* shouts cards */ - -.card.shout { + } + + /* social / hashtag cards */ + + .card.social { border-color: steelblue; border: 2px solid; background-color: aliceblue; @@ -679,88 +771,88 @@ div.pen-source { margin: 0 3em 3em 0; align-self: start; color: steelblue; -} - -.card.shout h2 a { + } + + .card.social h2 a { color: var(--social-dark); cursor: pointer; display: block; word-wrap: anywhere; -} - -.card .card.shout h2 a:hover { + } + + .card .card.social h2 a:hover { border: none; text-decoration: none; -} - -.card.shout .post-footer { + } + + .card.social .post-footer { background: var(--social-light); color: var(--social-dark); -} - -.card.shout .post-footer a{ + } + + .card.social .post-footer a{ background: var(--social-light); color: var(--social-dark); text-decoration: underline; -} - - -/* gallery cards */ -.card.shout.lumbung-gallery { + } + + + /* gallery cards */ + .card.social.lumbunggallery, .card.social.lumbunggallery .post-footer a { border-color: var(--gallery-dark); background-color: var(--gallery-light); color: var(--gallery-dark); -} - -.card.shout.lumbung-gallery h2 a { + } + + .card.social.lumbunggallery h2 a { color: var(--gallery-dark); -} - - -.card.shout.lumbung-gallery .post-footer { + } + + + .card.social.lumbunggallery .post-footer { background: var(--gallery-light); color: var(--gallery-dark); border-top: 2px solid; -} - -/* kios cards */ -.card.shout.lumbung-kios { + } + + /* kios cards */ + .card.social.lumbungkios { border-color: var(--kios-dark); background-color: var(--kios-light); color: var(--kios-dark); -} - -.card.shout.lumbung-kios h2 a { + } + + .card.social.lumbungkios h2 a { color: var(--kios-dark); -} - - -.card.shout.lumbung-kios .post-footer { + } + + + .card.social.lumbungkios .post-footer { background: var(--kios-light); color: var(--kios-dark); border-top: 2px solid; -} - -.card.shout.lumbung-kios .post-footer a { + } + + .card.social.lumbungkios .post-footer a { background: none; color: var(--kios-dark); -} - -/* books cards */ - -.book.card { + } + + /* books cards */ + + .book.card { background-color: var(--books-light); color: var(--books-dark); border-color: var(--books-dark); -} - -.tape-label.book span{ + } + + .tape-label.book span{ background-color: var(--books-dark); -} - -/* calendar cards */ - -.card.calendar { + } + + /* calendar cards */ + + .card.calendar { border: 2px solid var(--calendar-dark); background-color: var(--calendar-light); max-width: 360px; @@ -769,99 +861,99 @@ div.pen-source { margin: 0 3em 3em 0; align-self: start; color: var(--calendar-dark); -} - -.calendar .tape-label { + } + + .calendar .tape-label { background-color: var(--calendar-light); -} - -.calendar .tape-label span { + } + + .calendar .tape-label span { background-color: var(--calendar-dark); -} - -.h-event.calendar header { + } + + .h-event.calendar header { display: flex; border-bottom: 2px solid cornflowerblue; -} - -.h-event.calendar header h2 { + } + + .h-event.calendar header h2 { padding: 0.2em 0.5em 0.2em 0.5em; margin: 0; border-right: none; -} - -.h-event.calendar header h2:hover { + } + + .h-event.calendar header h2:hover { cursor: pointer; -} - -.h-event.calendar header h2 a { + } + + .h-event.calendar header h2 a { text-decoration: none; color: var(--calendar-dark); -} - -.h-event.calendar .calendar-location a { + } + + .h-event.calendar .calendar-location a { color: var(--calendar-dark); -} - -.header-filler { + } + + .header-filler { min-width: 10%; -} - -.calendar-location { + } + + .calendar-location { font-size: 0.8rem; min-width: 20%; padding: 0.5em 0.9em 0.5em 0.9em; border-left: 2px solid cornflowerblue; -} - -.calendar-duration { + } + + .calendar-duration { font-size: 0.8rem; border-right: 2px solid cornflowerblue; padding: 0.5em 0.9em 0.5em 0.9em; -} - -.start-scroller { + } + + .start-scroller { display: flex; flex-flow: row-reverse; border-bottom: 2px solid cornflowerblue; -} - -.start-scroller marquee { + } + + .start-scroller marquee { font-size: 0.8rem; padding-top: 0.2em; padding-bottom: 0.2em; -} - -.calendar .description { + } + + .calendar .description { border-top: 2px solid cornflowerblue; -} - -.calendar-image-holder { + } + + .calendar-image-holder { border-bottom: 2px solid cornflowerblue; -} - -.calendar-image-holder a { + } + + .calendar-image-holder a { display: inherit; -} - -.calendar-image { + } + + .calendar-image { width: 100%; max-width: 100%; display: inherit; -} - - -/* Card metadata (video, calendar & books) */ - -.tape-label { + } + + + /* Card metadata (video, calendar & books) */ + + .tape-label { display: flex; justify-content: center; border: none; font-size: 1rem; -} - -.tape-label a, -.tape-label span { + } + + .tape-label a, + .tape-label span { width: max-content; padding: 0.5em; position: relative; @@ -869,127 +961,127 @@ div.pen-source { z-index: 1; transform: rotate(2deg); color: white; -} - -.metadata { + } + + .metadata { display: flex; justify-content: space-between; flex-wrap: wrap; -} - -.description p:first-of-type { + } + + .description p:first-of-type { margin: 0; -} - -.description ul:first-of-type { + } + + .description ul:first-of-type { margin: 0; -} - -input+label+.calendar-location+.description { + } + + input+label+.calendar-location+.description { display: none; -} - -input:checked+label+.calendar-location+.description { + } + + input:checked+label+.calendar-location+.description { display: block; transition: ease .5s; -} - -.metadata label { + } + + .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 { + } + + label:hover { box-shadow: inset 2px 2px 0px var(--calendar-dark); -} - -.description { + } + + .description { padding: 0.5em 0.7em 0.7em 0.5em; overflow: hidden; flex-basis: 100%; -} - -.descr_button { + } + + .descr_button { cursor: pointer; flex-grow: 1; text-align: center; -} - - -/* Paginator */ - -.pagination-container { + } + + + /* Paginator */ + + .pagination-container { width: 60%; margin: auto; margin-top: 2em; margin-bottom: 2em; -} - -ul.pagination { + } + + ul.pagination { display: flex; justify-content: space-evenly; /* align horizontal */ align-items: center; /* align vertical */ -} - -.page-item { + } + + .page-item { display: block; text-align: center; font-size: 38px; border-bottom: 2px solid black; cursor: pointer; -} - -li.page-item { + } + + li.page-item { padding: 0.4em; position: relative; -} - -li.page-item a { + } + + li.page-item a { color: black; -} - -li.page-item.active a { + } + + li.page-item.active a { text-decoration: underline; -} - -li.page-item.disabled { + } + + li.page-item.disabled { display: none; -} - -li.page-item:first-child, -li.page-item:last-child, -li.page-item:nth-last-child(2), -.previous-page-link { + } + + li.page-item:first-child, + li.page-item:last-child, + li.page-item:nth-last-child(2), + .previous-page-link { border: none; text-decoration: none; -} - -li.page-item:first-child::before, -li.page-item:first-child::after, -li.page-item:last-child::before, -li.page-item:last-child::after, -li.page-item:nth-last-child(2)::before, -li.page-item:nth-last-child(2)::after, -.previous-page-link::before, -.previous-page-link::after { + } + + li.page-item:first-child::before, + li.page-item:first-child::after, + li.page-item:last-child::before, + li.page-item:last-child::after, + li.page-item:nth-last-child(2)::before, + li.page-item:nth-last-child(2)::after, + .previous-page-link::before, + .previous-page-link::after { display: none; -} - -li.page-item a { + } + + li.page-item a { text-decoration: none; -} - -li.page-item:hover a { + } + + li.page-item:hover a { text-decoration: underline; -} - -li.page-item:before { + } + + li.page-item:before { content: ""; position: absolute; left: 0; @@ -998,9 +1090,9 @@ li.page-item:before { width: 50%; border-left: 2px solid black; z-index: -100; -} - -li.page-item:after { + } + + li.page-item:after { content: ""; position: absolute; right: 0; @@ -1009,118 +1101,329 @@ li.page-item:after { width: 50%; border-right: 2px solid black; z-index: -100; -} - -/* Landingpage */ -.welcome-text { + } + + + + /* Landingpage */ + .welcome-text { text-align: center; max-width: 1000px; margin: 0 auto 50px; -} - -.app-columns { + } + + .app-columns { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto 50px; -} - -.app-column { + } + + .app-column { width: 33%; text-align: center; padding: 3.5%; -} - -.app-column a { + } + + .app-column a { text-decoration: none; -} - -.app-icon { + } + + .app-icon { display: block; max-width: 90px; width: 80%; margin-left: auto; margin-right: auto; transition: transform 0.2s ease; -} - -.app-icon:hover { + } + + .app-icon:hover { transform: rotate(-15deg); -} - -.app-name { + } + + .app-name { font-weight: bold; margin-bottom: 0.2em; color: #333; -} - -.app-description { + } + + .app-description { font-size: 14px; display: block; margin-left: auto; margin-right: auto; -} - -/* ### Timeline ### */ - -/* Timeline Tags */ -.timeline-tags { + } + + + /* FILTER */ + + .filter-item, .card, .video-box { + display: none; + } + + .show-item { + display: block !important; + } + + .filter-container { + display: none; + background: #fff; + padding: 1.5rem; + border: 2px solid #333; + border-top: 0; + position: absolute; + left: 0; + z-index: 99; + width: 100%; + justify-content: space-between; + } + + .filter-information { + width: 15%; + } + + #load-more { + font-size: 0.8rem; + text-decoration: underline; + cursor: pointer; + } + + .filter-buttons-container { + align-items: center; + display: flex; + width: calc(85% - 30px); + } + + .filter-buttons-container-header { + display: flex; + margin-right: 20px; + } + + .filter-link { + height: 100%; + display: flex; + align-items: center; + background: #333; + color: #fff; + padding: calc(0.5rem + 2px) 1rem; + cursor: pointer; + } + + .filter-link:hover + .filter-container { + display: flex; + } + + .filter-container:hover { + display: flex; + } + + .filter-buttons-dropdown { + position: absolute; + top: 41px; + width: calc(100% + 2px); + left: -1px; + background: #fff; + max-height: 35vh; + min-height: 100%; + overflow-y: scroll; + overflow-x: hidden; + border: 1px solid #333; + border-top: 0; + display: none; + } + + .post.tv { + margin: auto; + } + + @media all and (min-width: 980px) { + .filter-buttons:hover .filter-buttons-dropdown { + display: block; + } + + .filter-buttons:hover { + display: block; + } + } + + .filter-buttons { + width: fit-content; + display: flex; + white-space: nowrap; + flex-direction: column; + position: relative; + border: 1px solid #333; + margin-right: 10px; + padding-right: 30px; + width: calc(25% - 7.5px); + } + + .filter-buttons:last-child { + margin-right: 0px; + } + + .filter-buttons > button { + height: 40px; + } + + .filter-by:after { + content:""; + width: 0; + height: 0; + border-style: solid; + border-width: 5px 5px 0 5px; + border-color: #333333 transparent transparent transparent; + position: absolute; + right: 0.5rem; + } + + .filter-buttons button { + display: flex; + align-items: center; + justify-content: space-between; + border: 0; + background: unset; + border-radius: 0; + width: 100%; + padding: 0.6rem; + cursor: pointer; + white-space: nowrap; + text-transform: lowercase; + } + + .filter-buttons-dropdown button { + border-bottom: 1px solid; + } + + .filter-buttons .filter-button { + padding: 0.6rem 0.6rem 0.6rem 1.6rem; + } + + .filter-button svg { + width: 10px; + position: absolute; + left: 0.6rem; + } + + .filter-button svg path { + fill: #3330; + stroke: #333; + stroke-width: 2px; + } + + .filter-button.active svg path { + fill: #333; + } + + .filter-title { + width: calc(100% - 20px); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + text-align: left; + } + + .filter-buttons-dropdown button:last-child { + border-bottom: 0; + } + + .filter-buttons .filter-button.active { + background: #c2c2ff; + } + + .disable-button { + display: none !important; + } + + .page-nav { + display: flex; + justify-content: center; + margin: 20px auto 50px; + } + + .nextpage { + padding: 15px; + position: relative; + color: #333; + text-decoration: none; + margin: 0px 20px; + font-size: 38px; + } + + .nextpage:after { + content: ""; + height: 50%; + width: 100%; + display: block; + border: 2px solid #333; + border-top: 0; + bottom: 0; + position: absolute; + left: 0; + } + + + /* ### Timeline ### */ + + /* Timeline Tags */ + .timeline-tags { margin-bottom: 50px; display: flex; align-items: center; width: 90vw; font-size: 1.4vw; -} - -.timeline-tags-headline { + } + + .timeline-tags-headline { margin-right: 10px; -} - -.timeline-tags ul { + } + + .timeline-tags ul { list-style: none; padding-left: 0; white-space: nowrap; overflow: scroll; -ms-overflow-style: none; scrollbar-width: none; -} - -.timeline-tags ul::-webkit-scrollbar { + } + + .timeline-tags ul::-webkit-scrollbar { display: none; -} - -.timeline-tags ul li { + } + + .timeline-tags ul li { display: inline-block; margin-right: 10px; -} - -.timeline-tags ul li.timeline-tag { + } + + .timeline-tags ul li.timeline-tag { display: inline-block; margin-right: 10px; padding: 10px 35px; background: #007f76; border-radius: 50px; -} - -.timeline-tags ul li a { + } + + .timeline-tags ul li a { color: #fff; text-decoration: none; -} - -/* Timeline Container and Line */ -.timeline-container { + } + + /* Timeline Container and Line */ + .timeline-container { position: relative; display: flex; flex-direction: column; -} - -.timeline-start { + } + + .timeline-start { font-size: 3vw; text-align: center; padding: 1.5vw 0 4.5vw; -} - -.timeline-end { + } + + .timeline-end { font-size: 3vw; text-align: center; padding: 10vw 0 10vw; @@ -1128,9 +1431,9 @@ li.page-item:after { background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); width: 100vw; margin-left: -10vw; -} - -.timeline-start span { + } + + .timeline-start span { padding: 1.5vw 3vw; border: 2px solid; background: #fff; @@ -1139,9 +1442,9 @@ li.page-item:after { width: fit-content; margin: auto; font-weight: 700; -} - -.timeline-line { + } + + .timeline-line { position: absolute; z-index: -1; width: 35vw; @@ -1151,9 +1454,9 @@ li.page-item:after { left: 0; right: 0; margin: 0 auto; -} - -.timeline-line-head { + } + + .timeline-line-head { background-image: url(/img/timeline-head.svg); background-repeat: no-repeat; background-size: 100%; @@ -1165,9 +1468,9 @@ li.page-item:after { left: 0; right: 0; margin: 0 auto; -} - -.timeline-line-body { + } + + .timeline-line-body { background-image: url(/img/timeline-body.svg); background-repeat: repeat-y; background-size: 100%; @@ -1180,15 +1483,15 @@ li.page-item:after { left: 0; right: 0; margin: 0 auto; -} - -/* Timeline Events and Position */ -.timeline-events { + } + + /* Timeline Events and Position */ + .timeline-events { display: flex; flex-direction: column; -} - -.timeline-event { + } + + .timeline-event { width: 20vw; height: 12vw; display: flex; @@ -1196,119 +1499,119 @@ li.page-item:after { margin-top: -3.1vw !important; opacity: 0; transition: opacity 1.4s ease; -} - -.timeline-event.inView { + } + + .timeline-event.inView { opacity: 1; -} - -.timeline-url { + } + + .timeline-url { font-size: 1.8vw; color: #333; text-decoration: unset; -} - -a.timeline-url { + } + + a.timeline-url { text-decoration: underline; -} - -.link-svg { + } + + .link-svg { height: 1.2vw; width: 1.2vw; margin-left: 0.8vw; -} - -/* Timeline Events - Left Side (sort margin)*/ -.timeline-event:nth-child(36n + 7), .timeline-event:nth-child(36n + 9), .timeline-event:nth-child(36n + 33) { + } + + /* Timeline Events - Left Side (sort margin)*/ + .timeline-event:nth-child(36n + 7), .timeline-event:nth-child(36n + 9), .timeline-event:nth-child(36n + 33) { margin-left: 2vw; -} - -.timeline-event:nth-child(36n + 1) { + } + + .timeline-event:nth-child(36n + 1) { margin-left: 8vw; -} - -.timeline-event:nth-child(36n + 25), .timeline-event:nth-child(36n + 35) { + } + + .timeline-event:nth-child(36n + 25), .timeline-event:nth-child(36n + 35) { margin-left: 10vw; -} - -.timeline-event:nth-child(1), .timeline-event:nth-child(36n + 11), .timeline-event:nth-child(36n + 17), .timeline-event:nth-child(36n + 23), .timeline-event:nth-child(36n + 27) { + } + + .timeline-event:nth-child(1), .timeline-event:nth-child(36n + 11), .timeline-event:nth-child(36n + 17), .timeline-event:nth-child(36n + 23), .timeline-event:nth-child(36n + 27) { margin-left: 12vw; -} - -.timeline-event:nth-child(36n + 3), .timeline-event:nth-child(36n + 15), .timeline-event:nth-child(36n + 21) { + } + + .timeline-event:nth-child(36n + 3), .timeline-event:nth-child(36n + 15), .timeline-event:nth-child(36n + 21) { margin-left: 14vw; -} - -.timeline-event:nth-child(3), .timeline-event:nth-child(36n + 5), .timeline-event:nth-child(36n + 13), .timeline-event:nth-child(36n + 19), .timeline-event:nth-child(36n + 29) { + } + + .timeline-event:nth-child(3), .timeline-event:nth-child(36n + 5), .timeline-event:nth-child(36n + 13), .timeline-event:nth-child(36n + 19), .timeline-event:nth-child(36n + 29) { margin-left: 16vw; -} - -/* Timeline Events - Right Side */ -.timeline-event:nth-child(2n) { + } + + /* Timeline Events - Right Side */ + .timeline-event:nth-child(2n) { margin-left: auto; -} - -.timeline-event:nth-child(36n + 2), .timeline-event:nth-child(36n + 6), .timeline-event:nth-child(36n + 20), .timeline-event:nth-child(36n + 32) { + } + + .timeline-event:nth-child(36n + 2), .timeline-event:nth-child(36n + 6), .timeline-event:nth-child(36n + 20), .timeline-event:nth-child(36n + 32) { margin-right: 4vw; -} - -.timeline-event:nth-child(36n + 34) { + } + + .timeline-event:nth-child(36n + 34) { margin-right: 6vw; -} - -.timeline-event:nth-child(36n + 36) { + } + + .timeline-event:nth-child(36n + 36) { margin-right: 8vw; -} - -.timeline-event:nth-child(36n + 8), .timeline-event:nth-child(36n + 24) { + } + + .timeline-event:nth-child(36n + 8), .timeline-event:nth-child(36n + 24) { margin-right: -3vw; -} - -.timeline-event:nth-child(36n + 14), .timeline-event:nth-child(36n + 16) { + } + + .timeline-event:nth-child(36n + 14), .timeline-event:nth-child(36n + 16) { margin-right: -4vw; -} - -.timeline-event:nth-child(36n + 26) { + } + + .timeline-event:nth-child(36n + 26) { margin-right: -5vw; -} - -/* Timeline Events - Rotate */ -.timeline-event:nth-child(2n) { + } + + /* Timeline Events - Rotate */ + .timeline-event:nth-child(2n) { transform: rotate(2deg); -} - -.timeline-event:nth-child(5n) { + } + + .timeline-event:nth-child(5n) { transform: rotate(3deg); -} - -.timeline-event:nth-child(2n + 1) { + } + + .timeline-event:nth-child(2n + 1) { transform: rotate(-1.5deg); -} - -.timeline-event:nth-child(18n + 5), .timeline-event:nth-child(18n + 17) { + } + + .timeline-event:nth-child(18n + 5), .timeline-event:nth-child(18n + 17) { transform: rotate(5deg); -} - -.timeline-event:nth-child(18n + 13), .timeline-event:nth-child(18n + 36) { + } + + .timeline-event:nth-child(18n + 13), .timeline-event:nth-child(18n + 36) { transform: rotate(-3deg); -} - -.timeline-event:nth-child(18n + 9), .timeline-event:nth-child(18n + 12), .timeline-event:nth-child(18n + 22) { + } + + .timeline-event:nth-child(18n + 9), .timeline-event:nth-child(18n + 12), .timeline-event:nth-child(18n + 22) { transform: rotate(-5deg); -} - -/* Event Single */ -.back-button { + } + + /* Event Single */ + .back-button { width: fit-content; padding: 10px 20px; border: 0; background: #007f76; color: #fff; cursor: pointer; -} - -/* PopUp */ -.popup-container { + } + + /* PopUp */ + .popup-container { position: fixed; z-index: 999; top: 0; @@ -1321,15 +1624,15 @@ a.timeline-url { opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s ease 0.6s; -} - -.popup-container.view { + } + + .popup-container.view { opacity: 1; visibility: visible; transition: opacity 0.6s ease, visibility 0s ease 0s; -} - -.popup { + } + + .popup { background: #fff; padding: 0 30px 30px; border: 2px solid; @@ -1339,20 +1642,20 @@ a.timeline-url { z-index: 2; max-height: 80%; overflow-y: scroll; -} - -.popup-header { + } + + .popup-header { display: flex; justify-content: space-between; padding-top: 30px; -} - -.popup-header h3 { + } + + .popup-header h3 { margin: 0; padding-right: 10px; -} - -.popup-close { + } + + .popup-close { position: relative; height: 30px; width: 30px; @@ -1362,9 +1665,9 @@ a.timeline-url { cursor: pointer; border: 0; background: none; -} - -.popup-close:after, .popup-close:before { + } + + .popup-close:after, .popup-close:before { content: ""; height: 30px; width: 2px; @@ -1372,13 +1675,13 @@ a.timeline-url { background: #333; position: absolute; transform: rotate(45deg); -} - -.popup-close:before { + } + + .popup-close:before { transform: rotate(-45deg); -} - -.popup-bg { + } + + .popup-bg { position: absolute; background: #00000059; top: 0; @@ -1386,144 +1689,259 @@ a.timeline-url { left: 0; right: 0; z-index: -1; -} - - -/* Page footer */ - -#footer { + } + + + /* EVENT LIST */ + + .event-list { + border: 2px solid var(--calendar-dark); + background-color: var(--calendar-light); + color: var(--calendar-dark); + margin: 1rem 0 4rem; + } + + .event-list .tape-label span { + background-color: var(--calendar-dark); + } + + .event-list-item { + border-top: 1px solid; + display: flex; + flex-wrap: wrap; + } + + .event-list-item-head { + display: flex; + } + + .event-list-item a { + color: var(--calendar-dark); + } + + .event-list-item .date-start, .event-list-item .title, .event-list-item .time, .event-list-item .duration, .event-list-item .location { + display: flex; + align-items: center; + border-right: 1px solid var(--calendar-dark); + padding: 0.8rem 0; + overflow: hidden; + } + + .event-list-item .date-start { + font-size: 1.2rem; + width: 110px; + padding-left: 0.4rem; + border-right: 0; + } + + .event-list-item .title { + width: calc(45% - 110px); + padding-left: 0.4rem; + } + + .event-list-item .p-name { + margin: 0; + font-size: 1.2rem; + padding: 0; + display: block; + width: 100%; + } + + .event-list-item .p-name a { + color: var(--calendar-dark); + text-decoration: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + width: calc(100% - 20px); + display: block; + } + + .event-list-item .time { + width: 20%; + } + + .event-list-item .time .start-scroller { + border-bottom: 0px; + } + + .event-list-item .duration { + width: 12.5%; + font-size: 0.8rem; + padding: 0.8rem 0.4rem; + } + + .event-list-item .duration b { + margin-left: 3px; + } + + .event-list-item .location { + min-width: unset; + width: 15%; + font-size: 0.8rem; + padding: 0.8rem 0.4rem; + } + + .event-list-item .button { + width: 7.5%; + } + + .event-list-item .calendar { + width: 7.5%; + display: flex; + align-items: center; + padding: 0.8rem 0.4rem; + cursor: pointer; + } + + .event-list-item .description { + display: none; + border-top: 1px solid; + font-size: 1.2rem; + } + + input:checked + label + .description { + display: block; + transition: ease .5s; + } + + /* Page footer */ + + #footer { position: relative; margin-top: 10px; font-size: 18px; -} - -#footer.blue .f-main { + } + + #footer.blue .f-main { background: var(--social-light); -} - -#footer.blue .f-credits { + } + + #footer.blue .f-credits { background: var(--social-dark); -} - -#footer.orange .f-main { + } + + #footer.orange .f-main { background: var(--kios-light); -} - -#footer.orange .f-credits { + } + + #footer.orange .f-credits { background: var(--kios-dark); -} - -#footer.green .f-main { + } + + #footer.green .f-main { background: var(--tv-light); -} - -#footer.green .f-credits { + } + + #footer.green .f-credits { background: var(--tv-dark); -} - - -.f-main { + } + + + .f-main { padding: 60px 2rem; display: flex; justify-content: space-between; -} - -.f-column { + } + + .f-column { margin-right: 6vw; -} - -.f-column:first-child { + } + + .f-column:first-child { margin-right: 8vw; -} - -.f-column:last-child { + } + + .f-column:last-child { margin-right: 0; -} - -.f-main .logo { + } + + .f-main .logo { + width: 280px; + max-height: unset; filter: brightness(0); max-width: 20vw; margin-top: 0; opacity: 0.8; -} - -.f-menu-headline { + } + + .f-menu-headline { font-weight: bold; margin-bottom: 5px; -} - -.f-main a { + } + + .f-main a { color: #000; display: block; font-size: 18px; margin-bottom: 5px; text-decoration: none; white-space: nowrap; -} - -.f-main .login { + } + + .f-main .login { font-weight: bold; padding: 8px 28px; border: 1.5px solid; -} - -.f-credits { + } + + .f-credits { color: #fff; font-size: 15px; padding: 20px 2rem; -} - -.f-credits a { + } + + .f-credits a { color: #fff; text-decoration: none; -} - -.f-credits a:hover { + } + + .f-credits a:hover { cursor: pointer; text-decoration: underline; -} - -/* about styles */ - -#about-img { + } + + /* about styles */ + + #about-img { width: 50%; height: auto; display:block; margin:auto; -} - - -/* single page styles */ -.single header { + } + + + /* single page styles */ + .single header { flex-direction: column; margin-bottom: 4rem; -} - -.single .p-name a { + } + + .single .p-name a { color: black; text-decoration: none; font-size: 2.2rem; -} - -.single .p-name a:hover { + } + + .single .p-name a:hover { text-decoration: underline; -} - -.single .h-entry img { + } + + .single .h-entry img { object-fit: contain; height: auto; -} - -.single .h-entry figure{ + } + + .single .h-entry figure{ margin: 0 0 20px; -} - -.single .h-entry figure figure{ + } + + .single .h-entry figure figure{ margin: 0; -} - -/* lumbung radio player widget */ -.lumbung-radio-player { + } + + /* lumbung radio player widget */ + .lumbung-radio-player { display: flex; color: var(--sounds-dark); border: 1px solid var(--sounds-dark); @@ -1538,44 +1956,241 @@ a.timeline-url { bottom: 2rem; right: 2rem; cursor: pointer; -} - - -@media all and (min-width: 980px) and (max-width: 1180px) { - #top-menu a, .menu .has-submenu { + } + + + @media all and (min-width: 980px) and (max-width: 1180px) { + #top-menu a, .menu .has-submenu { font-size: 1.8vw; vertical-align: top; } -} - - -/* tablet styles */ - -@media (max-width: 980px) { + + .menu-row { + font-size: 1.78vw; + } + } + + + /* tablet styles */ + + @media (max-width: 980px) { body { display: initial; } - + #top-menu { - grid-template-columns: 1fr; + width: 100%; } - - .menu, - #login { + + .logo { + max-height: 50px; + } + + /* menu styles */ + + .menu-row, #top-menu { + position: fixed !important; + z-index: 97; + } + + .menu-row { + z-index: 98; + width: fit-content; + margin-top: 3vw; + right: 5%; + } + + .menu { + display: none; + position: fixed; + left: 20px; + top: 80px; + width: calc(100vw - 40px); + overflow: scroll; + height: calc(100% - 90px); + padding: 0.5rem 1.5rem; + } + + .menu.active { + display: block; + } + + .menu ul { + margin: 0; + display: block; + } + + .menu-row .login { display: none; } - - /* menu styles */ + + .menu-button { + display: flex; + position: fixed; + left: 20px; + top: clamp(25px, 7vw, 35px); + } + + .menu ul.submenu { + margin-left: 0; + margin-top: 4px; + position: unset; + border: 0; + padding-left: 20px !important; + display: none; + } + + .menu .submenu li { + margin: 0; + padding: 0.5rem 0; + } + + .menu ul.submenu.active { + display: block; + visibility: visible; + } + + .login-menu { + display: block; + padding: 0.5rem 2rem; + background: #333; + transform: rotate(-3deg); + width: fit-content; + margin: 0.5rem 0 1rem; + } + + .login-menu a { + color: #fff !important; + } + + .menu-button--line{ + transition: all 0.3s ease-in-out; + } + + .menu-button.active { + -webkit-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + transition-delay: 0s; + -webkit-transition-delay: 0.6s; + -o-transition-delay: 0.6s; + transition-delay: 0.6s; + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + } + + .menu-button.active .menu-button--line:nth-child(1) { + -webkit-transform: translateY(8px); + -ms-transform: translateY(8px); + -o-transform: translateY(8px); + transform: translateY(8px); + -webkit-transition-delay: 0.3s; + -o-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .menu-button.active .menu-button--line:nth-child(2) { + width: 0px; + } + + .menu-button.active .menu-button--line:nth-child(3) { + -webkit-transform: translateY(-6px) rotate(90deg); + -ms-transform: translateY(-6px) rotate(90deg); + -o-transform: translateY(-6px) rotate(90deg); + transform: translateY(-6px) rotate(90deg); + -webkit-transition-delay: 0.3s; + -o-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .filter { + position: fixed; + right: 20px; + top: clamp(25px, 7vw, 35px); + } + + .filter-container { + flex-wrap: wrap; + border-top: 2px solid #333; + left: 20px; + width: calc(100vw - 40px); + position: fixed; + margin-top: 30px; + display: none !important; + } + + #filter.active .filter-container { + display: block !important; + } + + .filter-information { + width: 100%; + margin-bottom: 15px; + display: flex; + align-items: center; + justify-content: space-between; + } + + .filter-buttons-container { + display: block; + width: 100%; + } + + .filter-buttons-container.open { + display: block !important; + } + + .filter-buttons-dropdown { + z-index: 99; + } + + .filter-buttons { + margin-right: 0px; + margin-bottom: 10px; + width: 100%; + } + + .container { + padding-top: 60px; + } + + .filter-link { + background: unset; + padding: 0; + } + + .filter-link span { + display: none; + } + + .filter-icon { + height: 20px; + margin-right: 0; + } + + .filter-icon path { + fill: #333; + } + + .filter-buttons-dropdown.active { + display: block; + } + + .filter-by.active:after { + transform: rotate(180deg); + } + #top-menu div.mobile-menu { display: flex; justify-content: space-between; } - - .mobile-menu #login { - display: inline-flex; - margin: 0 0 0 auto; + + #top-menu .login-link { + display: none; } - + .hamburger { border: none; background: none; @@ -1583,12 +2198,12 @@ a.timeline-url { z-index: 3; cursor: pointer; } - + .hamburger.opened { position: fixed; margin-top: 3px; } - + .drawer { display: block; position: fixed; @@ -1604,12 +2219,12 @@ a.timeline-url { overflow-x: hidden; overflow-y: scroll; } - + .drawer * { display: none; opacity: 0; } - + #top-menu .drawer ul { display: flex; flex-direction: column; @@ -1618,47 +2233,47 @@ a.timeline-url { margin: 0; padding: 0; } - + #top-menu ul.submenu { position: initial; } - + .drawer ul li { padding: 1em 0; /* border-bottom: 1px solid #333; */ } - + .drawer ul > li:last-child { padding-bottom: 2em; } - + .drawer ul li a { color: white; text-decoration: none; text-transform: lowercase; margin-left: 1em; } - + .drawer.opened { width: 80%; } - + .drawer.opened * { display: block; opacity: 1; } - + /* Landingpage */ .app-column { width: 33%; padding: 2.5%; } - + /* Landingpage */ .f-main { flex-wrap: wrap; } - + .f-column { margin-right: 0vw; @@ -1667,234 +2282,156 @@ a.timeline-url { .f-column:nth-child(1), .f-column:nth-child(2){ margin-bottom: 45px; } - + .f-main .logo { max-width: unset; } -} - -/* mobile styles */ - -@media (max-width: 768px) { - + + /* EVENT LIST */ + + .event-list .event-list-item:nth-child(2n) { + background: #c8efff; + } + + .event-list-item .date-start { + border-bottom: 1px solid; + } + + .event-list-item .title { + width: calc(100% - 110px); + border-bottom: 1px solid; + border-right: 0; + } + + .event-list-item .time { + width: 100%; + border-bottom: 1px solid; + border-right: 0; + padding: 0; + } + + .event-list-item .duration, .event-list-item .location { + width: 42%; + } + + .event-list-item .calendar { + width: 16%; + } + + } + + /* mobile styles */ + + @media (max-width: 768px) { + /* card styles */ .card, .card.network { max-width: 83vw; } - + .card .summary-text { font-size: 17px; min-width: 30ch; } - + .card h2 a { font-size: 26px; } - + /* Landingpage */ .app-column { width: 50%; padding: 2.5%; } - + /* Timeline Tags */ .timeline-tags { font-size: 3vw; } - + /* Timeline Container and Line */ .timeline-start { font-size: 5vw; padding: 1.5vw 0 9vw; } - + .timeline-line { height: calc(100% - 18vw); top: 18vw; width: 25vw; } - + .timeline-line-head { height: 18.5vw; } - + .timeline-line-body { height: calc(100% - 18.2vw); top: 18.2vw; } - + /* Timeline Events and Position */ .timeline-events { padding-top: 15vw; } - + .timeline-event { width: 30vw; height: 35vw; margin-top: -12vw !important; } - + .timeline-url { font-size: 3.4vw; } - + .link-svg { height: 2.4vw; width: 2.4vw; margin-left: 1.6vw; } - + /* Timeline Events - Left Side (sort margin)*/ .timeline-event:nth-child(36n + 7), .timeline-event:nth-child(36n + 9), .timeline-event:nth-child(36n + 33) { margin-left: 1vw; } - + .timeline-event:nth-child(36n + 1), .timeline-event:nth-child(36n + 3), .timeline-event:nth-child(36n + 15), .timeline-event:nth-child(36n + 21), .timeline-event:nth-child(36n + 11), .timeline-event:nth-child(36n + 17), .timeline-event:nth-child(36n + 23), .timeline-event:nth-child(36n + 27) { margin-left: 2vw; } - + .timeline-event:nth-child(3), .timeline-event:nth-child(36n + 5), .timeline-event:nth-child(36n + 13), .timeline-event:nth-child(36n + 19), .timeline-event:nth-child(36n + 29), .timeline-event:nth-child(36n + 25), .timeline-event:nth-child(36n + 35) { margin-left: -3vw; } - + /* Timeline Events - Right Side */ .timeline-event:nth-child(2n) { margin-right: -5vw; -} - + } + .timeline-event:nth-child(36n + 8), .timeline-event:nth-child(36n + 24) { margin-right: -6vw; } - + .timeline-event:nth-child(36n + 26) { margin-right: -8vw; } -} - -@media (max-width: 480px) { + } + + @media (max-width: 480px) { .pagination-container { width: 71vw; margin: 2em 0; } - + .pagination .page-item { font-size: 26px; } -} - -@media (max-width: 960px) { + } + + @media (max-width: 960px) { .menu ul:first-child { padding: 0; } -} - - -/*=============================================== -Styles for publishers page -================================================= */ - -.publishers-page .map { - margin-block: 2rem 4rem; - border: 1px solid; -} - -.card.publishers { - border: 2px solid var(--social-dark); - background-color: var(--social-light); - max-width: min-content; - margin-bottom: 2em; - flex: auto; - margin: 0 3em 3em 0; - align-self: start; - color: var(--social-dark); - transition: transform 0.1s ease-in-out; -} - -.card.publishers .link-wrapper { - text-decoration: none; - color: inherit; -} - -.card.publishers:hover { - transform: rotate(5deg); -} - -.h-entry.publishers header { - display: flex; - flex-direction: column; -} - -.h-entry.publishers header h2 { - padding: 0.5em 0.5em 0.2em 0.5em; - margin: 0; - border: none; -} - -.h-entry.publishers header h2:hover { - cursor: pointer; -} - -.h-entry.publishers header h2 a { - text-decoration: none; - color: var(--social-dark); -} - -.h-entry.publishers header time { - text-align: right; - padding: 0.6em 0.8em; - font-size: 1rem; -} - -.card.publishers .header-metadata { - align-items: center; -} - -.card.publishers .header-metadata .dt-published { - border-bottom: 2px solid var(--social-dark); -} - -.card.publishers .filler { - min-height: 1rem; -} - -.card.publishers .author.p-author { - border-color: var(--social-dark); - padding: 0.5em 1.2em 0.5em 1.2em; -} - -.card.publishers .p-summary { - display: flex; -} - -.card.publishers .p-summary.landscape { - flex-direction: column; -} - -.card.publishers .summary-image > img { - display: inherit; -} - -.card.publishers .summary-text { - font-size: 18px; -} - -.card.publishers .footer-filler { - border-left: 2px solid var(--social-dark); - border-top: none; -} - -.card.publishers .post-footer { - border-top: 2px solid var(--social-dark); - flex-flow: row; - font-size: 0.9rem; - background-color: var(--social-light); - color: var(--social-dark); - padding: 1em; - justify-content: space-between; - align-items: center; -} - -.card.publishers .post-footer svg { - fill: var(--social-dark) -} \ No newline at end of file + } \ No newline at end of file From b196fc363b7fec09ac88783b3f2a37d72e80ed86 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 13:23:44 +0500 Subject: [PATCH 13/38] add trailing space --- themes/lumbung-theme/static/css/main.css | 2234 +++++++++++----------- 1 file changed, 1117 insertions(+), 1117 deletions(-) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 019dee4..b0508f9 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -3,97 +3,97 @@ font-style: normal; font-weight: 400; src: url(fonts/gudea.woff2) format("woff2"); - } - - @font-face { +} + +@font-face { font-family: Gudea; font-style: italic; font-weight: 400; src: url(fonts/gudea-italic.woff2) format("woff2"); - } - - @font-face { +} + +@font-face { font-family: Gudea; font-style: normal; font-weight: 700; src: url(fonts/gudea-bold.woff2) format("woff2"); - } - - :root { +} + +:root { --border-color: tomato; - + --tv-dark: #237D0F; --tv-light: #E2FAD7; - + --pen-dark: #C5021E; --pen-light: #FFEBD9; - + --social-light: #C2E4F2; --social-dark: #0163A4; - + --gallery-light: #FCF4B9; --gallery-dark: #846A00; - + --kios-light: #F6D1BC; --kios-dark: #E05732; - + --shouts-dark: #CB001D; --shouts-light: #FFD9DD; - + --calendar-light: #B6EDFF; --calendar-dark: #0E64C8; - + --sounds-light: #ECC5EC; --sounds-dark: #CA14D4; - + --books-dark: #954d43; --books-light: #edd7c4; - } - - - /*Main Stuff*/ - - html { +} + + +/*Main Stuff*/ + +html { scroll-behavior: smooth; - } +} - - body { + +body { font-size: 21px; font-family: Gudea, sans-serif; margin: 0; - + /* pushes footer to bottom */ display: grid; grid-template-rows: auto auto 1fr auto; min-height: 100vh; - } - - /* pushes banner to bottom */ - body > iframe { +} + +/* pushes banner to bottom */ +body > iframe { margin: auto 0 0; - } - - * { +} + +* { box-sizing: border-box; - } - - a { +} + +a { color: #000; - } - - .container { +} + +.container { margin: 2em auto; max-width: 80%; width: 100%; margin-bottom: 0; - } - - .container .single { +} + +.container .single { max-width: 65ch; - } - - .card { +} + +.card { border: 2px solid var(--border-color); background-color: #fff09d; max-width: 600px; @@ -101,13 +101,13 @@ flex: auto; margin: 0 3em 3em 0; align-self: start; - } - - .card { +} + +.card { background-color: peachpuff; - } - - .date-marker{ +} + +.date-marker{ background-color: #333333; color: white; font-style: bold; @@ -118,88 +118,88 @@ font-family: Gudea; font-weight: 700; text-align: center; - } - .date-marker:nth-child(odd){ +} +.date-marker:nth-child(odd){ transform: rotate(3deg); - } - .date-marker:nth-child(even){ +} +.date-marker:nth-child(even){ transform: rotate(-2deg); - } - - - .side-bar { +} + + +.side-bar { border: 2px solid var(--border-color); max-width: 400px; - } - - .post:nth-child(even) { +} + +.post:nth-child(even) { transform: rotate(-1deg); - } - - .post:nth-child(odd) { +} + +.post:nth-child(odd) { transform: rotate(1deg); - } - - .post:nth-child(5) { +} + +.post:nth-child(5) { transform: rotate(2deg); - } - - .video.box { +} + +.video.box { margin-top: 3em; - } - - .bar { +} + +.bar { 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; - } - - .h-feed { +} + +.h-feed { display: flex; flex-flow: row wrap; width: 100%; - } - - .p-name { +} + +.p-name { padding-right: 1em; - } - - /* base header & menu */ - - .header-row { +} + +/* base header & menu */ + +.header-row { margin: 1.5rem; display: flex; justify-content: space-between; align-items: center; - } - - .home-link { +} + +.home-link { display: block; max-width: 700px; width: 70%; padding: 0; margin: auto; - } - - .logo { +} + +.logo { display: block; width: 100%; height: auto; - } - - #top-menu .login-link { +} + +#top-menu .login-link { background: #009d9b; padding: 5px 30px; color: #fff; font-weight: 900; position: absolute; right: 1.5rem; - } - - .menu-row { +} + +.menu-row { margin: 0 auto; max-width: 80%; width: 100%; @@ -210,9 +210,9 @@ top: 15px; z-index: 99; max-width: fit-content; - } - - .menu-row .menu .filter-link { +} + +.menu-row .menu .filter-link { background: #333; height: 100%; display: flex; @@ -220,287 +220,287 @@ padding: 0.5rem 1.5rem; color: #fff; cursor: pointer; - } - - .filter-icon { +} + +.filter-icon { height: 14px; width: auto; display: block; margin-right: 10px; - } - - .filter-icon path { +} + +.filter-icon path { fill:#fff; - } - - .menu-button { +} + +.menu-button { width: 30px; height: 16px; display: none; flex-direction: column; justify-content: space-between; color: pointer; - } - - .menu-button--line { +} + +.menu-button--line { width: 100%; height: 2px; background: #333; - } - - .menu { +} + +.menu { border: 2px solid #333; padding: 0 1rem; display: flex; align-items: center; background: #fff; position: relative; - } - - .menu-dot { +} + +.menu-dot { width: 10px; height: 10px; margin-right: 3rem; - } - - .menu ul { +} + +.menu ul { list-style-type: none; margin: 0 auto; padding-left: 0; display: flex; justify-content: space-between; text-transform: lowercase; - } - - .menu ul li { +} + +.menu ul li { margin-right: 1.5rem; padding: 0.5rem 0; - } - - .menu ul li:last-child { +} + +.menu ul li:last-child { margin-right: 0; - } - - .menu-nav-item { +} + +.menu-nav-item { border-right: 2px solid var(--border-color); padding: 0.5em; - } - - .menu a { +} + +.menu a { text-decoration: none; color: #333; - } - - .menu a:hover, - .menu a:focus { +} + +.menu a:hover, +.menu a:focus { color: black; - } - - #top-menu div { +} + +#top-menu div { display: flex; - } - - #top-menu div.mobile-menu, - .drawer { +} + +#top-menu div.mobile-menu, +.drawer { display: none; - } - - .menu input { +} + +.menu input { border: none; border-bottom: 1px solid #333; margin-right: 2rem; font-size: 13px; margin-left: 5px; - } - - .menu input:focus, - .menu input:hover { +} + +.menu input:focus, +.menu input:hover { outline: none; border-bottom: 1px solid #333; - } - - .menu-dropdown summary { +} + +.menu-dropdown summary { list-style: none; cursor: pointer; - } - - .dropdown-menu summary::-webkit-details-marker { +} + +.dropdown-menu summary::-webkit-details-marker { display: none; - } - - .login-menu { +} + +.login-menu { display: none; - } - - .menu-row .login { +} + +.menu-row .login { height: 100%; display: flex; align-items: center; border: 2px solid #333; padding: 0 1.5rem; background: #fff; - } - - .login a { +} + +.login a { text-decoration: none; - } - - /* styles for "tools" dropdown menu */ - .menu ul.submenu { +} + +/* styles for "tools" dropdown menu */ +.menu ul.submenu { flex-direction: column; margin-left: 0; position: absolute; background-color: white; z-index: 2; - } - - .menu .submenu { +} + +.menu .submenu { visibility: hidden; transition: all 0.1s ease-in-out; - } - - .menu .submenu li { +} + +.menu .submenu li { margin: 2px 0; padding: 0; - } - - .menu .has-submenu { +} + +.menu .has-submenu { cursor: pointer; color: #333333; - } - - .menu .has-submenu:hover { +} + +.menu .has-submenu:hover { color: black; - } - - .menu .has-submenu:hover .submenu { +} + +.menu .has-submenu:hover .submenu { visibility: visible; - } - - .menu ul.submenu { +} + +.menu ul.submenu { margin-left: -0.5em; margin-top: 8px; border: 2px solid ; gap: 0.25em; padding: 0.5em; - } - - .menu .menu .submenu a { +} + +.menu .menu .submenu a { margin: 0; display: flex; - } - - .menu .drawer .submenu { +} + +.menu .drawer .submenu { position: initial; display: none; - } - - .menu .drawer .submenu.opened { +} + +.menu .drawer .submenu.opened { display: flex; - } - - .menu .drawer .submenu li { +} + +.menu .drawer .submenu li { padding: 0; padding-top: 1em; - } - - .menu .drawer .opened .submenu { +} + +.menu .drawer .opened .submenu { visibility: visible; - } - - - /*Article Summary Cards*/ - - .h-entry header { +} + + +/*Article Summary Cards*/ + +.h-entry header { display: flex; justify-content: space-between; - } - - .h-entry header h2 { +} + +.h-entry header h2 { padding: 0.2em; margin: 0; padding-right: 0.3em; padding-left: 0.3em; flex-grow: 1; - } - - .h-entry header h2:hover { +} + +.h-entry header h2:hover { cursor: pointer; - } - - .h-entry header h2 a { +} + +.h-entry header h2 a { text-decoration: none; color: var(--border-color); - } - - .h-entry header .header-metadata { +} + +.h-entry header .header-metadata { margin: 0; display: flex; flex-flow: column wrap; font-size: 0.8rem; - } - - .h-entry img { +} + +.h-entry img { max-width: 100%; width: 100%; - } - - /* .portrait .h-entry img { +} + +/* .portrait .h-entry img { max-width: unset; width: unset; - } */ - - .header-metadata .dt-published { +} */ + +.header-metadata .dt-published { padding: 0.5em 1.2em 0.5em 1.2em; - } - - .author.p-author { +} + +.author.p-author { border-top: 2px solid var(--border-color); padding: 0.5em 1.2em 0.5em 1.2em; - } - - .p-summary.truncated.image { +} + +.p-summary.truncated.image { display: flex; flex-direction: row-reverse; - } - - .p-summary.truncated { +} + +.p-summary.truncated { display: flex; flex-direction: column; - } - - .summary-text { +} + +.summary-text { flex: 1; padding: 1em; min-width: 34ch; text-overflow: ellipsis; overflow: hidden; - } - - .summary-image > a { +} + +.summary-image > a { display: flex; - } - - footer.post-footer { +} + +footer.post-footer { display: flex; flex-flow: row-reverse; padding: 0.5em 1em; - } - - .footer-filler { +} + +.footer-filler { border-top: 2px solid var(--border-color); flex-grow: 1; - } - - .read-more { +} + +.read-more { align-content: flex-end; font-size: 0.9rem; - } - - - /* shout cards */ - - .card.shout { +} + + +/* shout cards */ + +.card.shout { border: 2px solid var(--shouts-dark); background-color: var(--shouts-light); max-width: min-content; @@ -509,73 +509,73 @@ margin: 0 3em 3em 0; align-self: start; color: var(--shouts-dark); - } - - - .h-entry.shout header { +} + + +.h-entry.shout header { display: flex; flex-direction: column; - } - - .h-entry.shout header h2 { +} + +.h-entry.shout header h2 { padding: 0.2em 0.5em 0.5em 0.5em; margin: 0; border: none; - } - - .h-entry.shout header h2:hover { +} + +.h-entry.shout header h2:hover { cursor: pointer; - } - - .h-entry.shout header h2 a { +} + +.h-entry.shout header h2 a { text-decoration: none; color: var(--shouts-dark); - } - - .h-entry.shout header time { +} + +.h-entry.shout header time { text-align: right; padding: 0.6em 0.8em; font-size: 1rem; - } - - .shout .header-metadata { +} + +.shout .header-metadata { align-items: center; - } - - .shout .header-metadata .dt-published { +} + +.shout .header-metadata .dt-published { border-bottom: 2px solid var(--shouts-dark); - } - - .shout .filler { +} + +.shout .filler { min-height: 1rem; - } - - .shout .author.p-author { +} + +.shout .author.p-author { border-color: var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; - } - - .shout .p-summary { +} + +.shout .p-summary { display: flex; - } - - .shout .p-summary.portrait { +} + +.shout .p-summary.portrait { /* flex-direction: row; */ - } - - .shout .p-summary.landscape { +} + +.shout .p-summary.landscape { flex-direction: column; - } - - .shout .summary-image > img { +} + +.shout .summary-image > img { display: inherit; - } - - .shout .summary-text { +} + +.shout .summary-text { font-size: 18px; - } - - div.shout-source { +} + +div.shout-source { padding: 1em; padding-right: 2em; width: fit-content; @@ -586,9 +586,9 @@ color: white; position: relative; right: 1em; - } - - .shout-source .triangle { +} + +.shout-source .triangle { position: absolute; right: 0px; bottom: 0; @@ -597,43 +597,43 @@ top: -0.5px; transform: translateX(calc(100% - 0.5px)); fill: var(--shouts-dark); - } - - .shout-source a { +} + +.shout-source a { font-weight: bold; color: white; - } - - .shout .footer-filler { +} + +.shout .footer-filler { border-left: 2px solid var(--shouts-dark); border-top: none; - } - - .shout footer.post-footer { +} + +.shout footer.post-footer { border-top: 2px solid var(--shouts-dark); flex-flow: row; font-size: 0.9rem; background-color: var(--shouts-light); color: var(--shouts-dark); padding: 1em; - } - - .shout footer svg { +} + +.shout footer svg { fill: var(--shouts-dark) - } - - .shout .read-more { +} + +.shout .read-more { border: none; border-left: 2px solid var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; - } - - .shout .footer-metadata { +} + +.shout .footer-metadata { padding: 0.5em 1.2em 0.5em 1.2em; - } - - /* pen cards */ - .card.pen { +} + +/* pen cards */ +.card.pen { border: 2px solid var(--pen-dark); background-color: var(--pen-light); max-width: min-content; @@ -642,77 +642,77 @@ margin: 0 3em 3em 0; align-self: start; color: var(--shouts-dark); - } - - .h-entry.pen header { +} + +.h-entry.pen header { display: flex; flex-direction: column; - } - - .h-entry.pen header h2 { +} + +.h-entry.pen header h2 { padding: 0.2em 0.5em 0.5em 0.5em; margin: 0; border: none; - } - - .h-entry.pen header h2:hover { +} + +.h-entry.pen header h2:hover { cursor: pointer; - } - - .h-entry.pen header h2 a { +} + +.h-entry.pen header h2 a { text-decoration: none; color: var(--pen-dark); - } - - .h-entry.pen header time { +} + +.h-entry.pen header time { text-align: right; padding: 0.6em 0.8em; padding-top: 0; font-size: 1rem; - } - - .pen .header-metadata { +} + +.pen .header-metadata { align-items: center; - } - - .pen .header-metadata .dt-published { +} + +.pen .header-metadata .dt-published { border-bottom: 2px solid var(--pen-dark); - } - - .pen .filler { +} + +.pen .filler { min-height: 1rem; - } - - .pen .author.p-author { +} + +.pen .author.p-author { border-color: var(--pen-dark); padding: 0.5em 1.2em 0.5em 1.2em; - } - - .pen .p-summary { +} + +.pen .p-summary { display: flex; - } - - .pen .p-summary.portrait { +} + +.pen .p-summary.portrait { /* flex-direction: row; */ /* * for some reason images on specific posts aren't appearing with the portrait class */ flex-direction: column; - } - - .pen .p-summary.landscape { +} + +.pen .p-summary.landscape { flex-direction: column; - } - - .pen .summary-image > img { +} + +.pen .summary-image > img { display: inherit; - } - - .pen .summary-text { +} + +.pen .summary-text { font-size: 18px; - } - - div.pen-source { +} + +div.pen-source { padding: 1em; font-size: 14px; display: flex; @@ -723,45 +723,45 @@ position: relative; bottom: 21px; transform: rotate(1deg); - } - - - .pen-source a { +} + + +.pen-source a { font-weight: bold; color: white; - } - - .pen .footer-filler { +} + +.pen .footer-filler { border-left: 2px solid var(--pen-dark); border-top: none; - } - - .pen footer.post-footer { +} + +.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 { +} + +.pen footer svg { fill: var(--pen-dark) - } - - .pen .read-more { +} + +.pen .read-more { border: none; border-left: 2px solid var(--pen-dark); padding: 0.5em 1.2em 0.5em 1.2em; - } - - .pen .footer-metadata { +} + +.pen .footer-metadata { padding: 0.5em 1.2em 0.5em 1.2em; - } - - /* social / hashtag cards */ - - .card.social { +} + +/* social / hashtag cards */ + +.card.social { border-color: steelblue; border: 2px solid; background-color: aliceblue; @@ -771,88 +771,88 @@ margin: 0 3em 3em 0; align-self: start; color: steelblue; - } - - .card.social h2 a { +} + +.card.social h2 a { color: var(--social-dark); cursor: pointer; display: block; word-wrap: anywhere; - } - - .card .card.social h2 a:hover { +} + +.card .card.social h2 a:hover { border: none; text-decoration: none; - } - - .card.social .post-footer { +} + +.card.social .post-footer { background: var(--social-light); color: var(--social-dark); - } - - .card.social .post-footer a{ +} + +.card.social .post-footer a{ background: var(--social-light); color: var(--social-dark); text-decoration: underline; - } - - - /* gallery cards */ - .card.social.lumbunggallery, .card.social.lumbunggallery .post-footer a { +} + + +/* gallery cards */ +.card.social.lumbunggallery, .card.social.lumbunggallery .post-footer a { border-color: var(--gallery-dark); background-color: var(--gallery-light); color: var(--gallery-dark); - } - - .card.social.lumbunggallery h2 a { +} + +.card.social.lumbunggallery h2 a { color: var(--gallery-dark); - } - - - .card.social.lumbunggallery .post-footer { +} + + +.card.social.lumbunggallery .post-footer { background: var(--gallery-light); color: var(--gallery-dark); border-top: 2px solid; - } - - /* kios cards */ - .card.social.lumbungkios { +} + +/* kios cards */ +.card.social.lumbungkios { border-color: var(--kios-dark); background-color: var(--kios-light); color: var(--kios-dark); - } - - .card.social.lumbungkios h2 a { +} + +.card.social.lumbungkios h2 a { color: var(--kios-dark); - } - - - .card.social.lumbungkios .post-footer { +} + + +.card.social.lumbungkios .post-footer { background: var(--kios-light); color: var(--kios-dark); border-top: 2px solid; - } - - .card.social.lumbungkios .post-footer a { +} + +.card.social.lumbungkios .post-footer a { background: none; color: var(--kios-dark); - } - - /* books cards */ - - .book.card { +} + +/* books cards */ + +.book.card { background-color: var(--books-light); color: var(--books-dark); border-color: var(--books-dark); - } - - .tape-label.book span{ +} + +.tape-label.book span{ background-color: var(--books-dark); - } - - /* calendar cards */ - - .card.calendar { +} + +/* calendar cards */ + +.card.calendar { border: 2px solid var(--calendar-dark); background-color: var(--calendar-light); max-width: 360px; @@ -861,99 +861,99 @@ margin: 0 3em 3em 0; align-self: start; color: var(--calendar-dark); - } - - .calendar .tape-label { +} + +.calendar .tape-label { background-color: var(--calendar-light); - } - - .calendar .tape-label span { +} + +.calendar .tape-label span { background-color: var(--calendar-dark); - } - - .h-event.calendar header { +} + +.h-event.calendar header { display: flex; border-bottom: 2px solid cornflowerblue; - } - - .h-event.calendar header h2 { +} + +.h-event.calendar header h2 { padding: 0.2em 0.5em 0.2em 0.5em; margin: 0; border-right: none; - } - - .h-event.calendar header h2:hover { +} + +.h-event.calendar header h2:hover { cursor: pointer; - } - - .h-event.calendar header h2 a { +} + +.h-event.calendar header h2 a { text-decoration: none; color: var(--calendar-dark); - } - - .h-event.calendar .calendar-location a { +} + +.h-event.calendar .calendar-location a { color: var(--calendar-dark); - } - - .header-filler { +} + +.header-filler { min-width: 10%; - } - - .calendar-location { +} + +.calendar-location { font-size: 0.8rem; min-width: 20%; padding: 0.5em 0.9em 0.5em 0.9em; border-left: 2px solid cornflowerblue; - } - - .calendar-duration { +} + +.calendar-duration { font-size: 0.8rem; border-right: 2px solid cornflowerblue; padding: 0.5em 0.9em 0.5em 0.9em; - } - - .start-scroller { +} + +.start-scroller { display: flex; flex-flow: row-reverse; border-bottom: 2px solid cornflowerblue; - } - - .start-scroller marquee { +} + +.start-scroller marquee { font-size: 0.8rem; padding-top: 0.2em; padding-bottom: 0.2em; - } - - .calendar .description { +} + +.calendar .description { border-top: 2px solid cornflowerblue; - } - - .calendar-image-holder { +} + +.calendar-image-holder { border-bottom: 2px solid cornflowerblue; - } - - .calendar-image-holder a { +} + +.calendar-image-holder a { display: inherit; - } - - .calendar-image { +} + +.calendar-image { width: 100%; max-width: 100%; display: inherit; - } - - - /* Card metadata (video, calendar & books) */ - - .tape-label { +} + + +/* Card metadata (video, calendar & books) */ + +.tape-label { display: flex; justify-content: center; border: none; font-size: 1rem; - } - - .tape-label a, - .tape-label span { +} + +.tape-label a, +.tape-label span { width: max-content; padding: 0.5em; position: relative; @@ -961,127 +961,127 @@ z-index: 1; transform: rotate(2deg); color: white; - } - - .metadata { +} + +.metadata { display: flex; justify-content: space-between; flex-wrap: wrap; - } - - .description p:first-of-type { +} + +.description p:first-of-type { margin: 0; - } - - .description ul:first-of-type { +} + +.description ul:first-of-type { margin: 0; - } - - input+label+.calendar-location+.description { +} + +input+label+.calendar-location+.description { display: none; - } - - input:checked+label+.calendar-location+.description { +} + +input:checked+label+.calendar-location+.description { display: block; transition: ease .5s; - } - - .metadata label { +} + +.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 { +} + +label:hover { box-shadow: inset 2px 2px 0px var(--calendar-dark); - } - - .description { +} + +.description { padding: 0.5em 0.7em 0.7em 0.5em; overflow: hidden; flex-basis: 100%; - } - - .descr_button { +} + +.descr_button { cursor: pointer; flex-grow: 1; text-align: center; - } - - - /* Paginator */ - - .pagination-container { +} + + +/* Paginator */ + +.pagination-container { width: 60%; margin: auto; margin-top: 2em; margin-bottom: 2em; - } - - ul.pagination { +} + +ul.pagination { display: flex; justify-content: space-evenly; /* align horizontal */ align-items: center; /* align vertical */ - } - - .page-item { +} + +.page-item { display: block; text-align: center; font-size: 38px; border-bottom: 2px solid black; cursor: pointer; - } - - li.page-item { +} + +li.page-item { padding: 0.4em; position: relative; - } - - li.page-item a { +} + +li.page-item a { color: black; - } - - li.page-item.active a { +} + +li.page-item.active a { text-decoration: underline; - } - - li.page-item.disabled { +} + +li.page-item.disabled { display: none; - } - - li.page-item:first-child, - li.page-item:last-child, - li.page-item:nth-last-child(2), - .previous-page-link { +} + +li.page-item:first-child, +li.page-item:last-child, +li.page-item:nth-last-child(2), +.previous-page-link { border: none; text-decoration: none; - } - - li.page-item:first-child::before, - li.page-item:first-child::after, - li.page-item:last-child::before, - li.page-item:last-child::after, - li.page-item:nth-last-child(2)::before, - li.page-item:nth-last-child(2)::after, - .previous-page-link::before, - .previous-page-link::after { +} + +li.page-item:first-child::before, +li.page-item:first-child::after, +li.page-item:last-child::before, +li.page-item:last-child::after, +li.page-item:nth-last-child(2)::before, +li.page-item:nth-last-child(2)::after, +.previous-page-link::before, +.previous-page-link::after { display: none; - } - - li.page-item a { +} + +li.page-item a { text-decoration: none; - } - - li.page-item:hover a { +} + +li.page-item:hover a { text-decoration: underline; - } - - li.page-item:before { +} + +li.page-item:before { content: ""; position: absolute; left: 0; @@ -1090,9 +1090,9 @@ width: 50%; border-left: 2px solid black; z-index: -100; - } - - li.page-item:after { +} + +li.page-item:after { content: ""; position: absolute; right: 0; @@ -1101,72 +1101,72 @@ width: 50%; border-right: 2px solid black; z-index: -100; - } - - - - /* Landingpage */ - .welcome-text { +} + + + +/* Landingpage */ +.welcome-text { text-align: center; max-width: 1000px; margin: 0 auto 50px; - } - - .app-columns { +} + +.app-columns { display: flex; flex-wrap: wrap; max-width: 1200px; margin: 0 auto 50px; - } - - .app-column { +} + +.app-column { width: 33%; text-align: center; padding: 3.5%; - } - - .app-column a { +} + +.app-column a { text-decoration: none; - } - - .app-icon { +} + +.app-icon { display: block; max-width: 90px; width: 80%; margin-left: auto; margin-right: auto; transition: transform 0.2s ease; - } - - .app-icon:hover { +} + +.app-icon:hover { transform: rotate(-15deg); - } - - .app-name { +} + +.app-name { font-weight: bold; margin-bottom: 0.2em; color: #333; - } - - .app-description { +} + +.app-description { font-size: 14px; display: block; margin-left: auto; margin-right: auto; - } - - - /* FILTER */ - - .filter-item, .card, .video-box { +} + + +/* FILTER */ + +.filter-item, .card, .video-box { display: none; - } - - .show-item { +} + +.show-item { display: block !important; - } - - .filter-container { +} + +.filter-container { display: none; background: #fff; padding: 1.5rem; @@ -1177,30 +1177,30 @@ z-index: 99; width: 100%; justify-content: space-between; - } - - .filter-information { +} + +.filter-information { width: 15%; - } - - #load-more { +} + +#load-more { font-size: 0.8rem; text-decoration: underline; cursor: pointer; - } - - .filter-buttons-container { +} + +.filter-buttons-container { align-items: center; display: flex; width: calc(85% - 30px); - } - - .filter-buttons-container-header { +} + +.filter-buttons-container-header { display: flex; margin-right: 20px; - } - - .filter-link { +} + +.filter-link { height: 100%; display: flex; align-items: center; @@ -1208,17 +1208,17 @@ color: #fff; padding: calc(0.5rem + 2px) 1rem; cursor: pointer; - } - - .filter-link:hover + .filter-container { +} + +.filter-link:hover + .filter-container { display: flex; - } - - .filter-container:hover { +} + +.filter-container:hover { display: flex; - } - - .filter-buttons-dropdown { +} + +.filter-buttons-dropdown { position: absolute; top: 41px; width: calc(100% + 2px); @@ -1231,23 +1231,23 @@ border: 1px solid #333; border-top: 0; display: none; - } - - .post.tv { +} + +.post.tv { margin: auto; - } - - @media all and (min-width: 980px) { +} + +@media all and (min-width: 980px) { .filter-buttons:hover .filter-buttons-dropdown { display: block; } - + .filter-buttons:hover { display: block; } - } - - .filter-buttons { +} + +.filter-buttons { width: fit-content; display: flex; white-space: nowrap; @@ -1257,17 +1257,17 @@ margin-right: 10px; padding-right: 30px; width: calc(25% - 7.5px); - } - - .filter-buttons:last-child { +} + +.filter-buttons:last-child { margin-right: 0px; - } - - .filter-buttons > button { +} + +.filter-buttons > button { height: 40px; - } - - .filter-by:after { +} + +.filter-by:after { content:""; width: 0; height: 0; @@ -1276,9 +1276,9 @@ border-color: #333333 transparent transparent transparent; position: absolute; right: 0.5rem; - } - - .filter-buttons button { +} + +.filter-buttons button { display: flex; align-items: center; justify-content: space-between; @@ -1290,68 +1290,68 @@ cursor: pointer; white-space: nowrap; text-transform: lowercase; - } - - .filter-buttons-dropdown button { +} + +.filter-buttons-dropdown button { border-bottom: 1px solid; - } - - .filter-buttons .filter-button { +} + +.filter-buttons .filter-button { padding: 0.6rem 0.6rem 0.6rem 1.6rem; - } - - .filter-button svg { +} + +.filter-button svg { width: 10px; position: absolute; left: 0.6rem; - } - - .filter-button svg path { +} + +.filter-button svg path { fill: #3330; stroke: #333; stroke-width: 2px; - } - - .filter-button.active svg path { +} + +.filter-button.active svg path { fill: #333; - } - - .filter-title { +} + +.filter-title { width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; - } - - .filter-buttons-dropdown button:last-child { +} + +.filter-buttons-dropdown button:last-child { border-bottom: 0; - } - - .filter-buttons .filter-button.active { +} + +.filter-buttons .filter-button.active { background: #c2c2ff; - } - - .disable-button { +} + +.disable-button { display: none !important; - } - - .page-nav { +} + + .page-nav { display: flex; justify-content: center; margin: 20px auto 50px; - } - - .nextpage { + } + + .nextpage { padding: 15px; position: relative; color: #333; text-decoration: none; margin: 0px 20px; font-size: 38px; - } - - .nextpage:after { + } + + .nextpage:after { content: ""; height: 50%; width: 100%; @@ -1361,69 +1361,69 @@ bottom: 0; position: absolute; left: 0; - } - - - /* ### Timeline ### */ - - /* Timeline Tags */ - .timeline-tags { + } + + +/* ### Timeline ### */ + +/* Timeline Tags */ +.timeline-tags { margin-bottom: 50px; display: flex; align-items: center; width: 90vw; font-size: 1.4vw; - } - - .timeline-tags-headline { +} + +.timeline-tags-headline { margin-right: 10px; - } - - .timeline-tags ul { +} + +.timeline-tags ul { list-style: none; padding-left: 0; white-space: nowrap; overflow: scroll; -ms-overflow-style: none; scrollbar-width: none; - } - - .timeline-tags ul::-webkit-scrollbar { +} + +.timeline-tags ul::-webkit-scrollbar { display: none; - } - - .timeline-tags ul li { +} + +.timeline-tags ul li { display: inline-block; margin-right: 10px; - } - - .timeline-tags ul li.timeline-tag { +} + +.timeline-tags ul li.timeline-tag { display: inline-block; margin-right: 10px; padding: 10px 35px; background: #007f76; border-radius: 50px; - } - - .timeline-tags ul li a { +} + +.timeline-tags ul li a { color: #fff; text-decoration: none; - } - - /* Timeline Container and Line */ - .timeline-container { +} + +/* Timeline Container and Line */ +.timeline-container { position: relative; display: flex; flex-direction: column; - } - - .timeline-start { +} + +.timeline-start { font-size: 3vw; text-align: center; padding: 1.5vw 0 4.5vw; - } - - .timeline-end { +} + +.timeline-end { font-size: 3vw; text-align: center; padding: 10vw 0 10vw; @@ -1431,9 +1431,9 @@ background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); width: 100vw; margin-left: -10vw; - } - - .timeline-start span { +} + +.timeline-start span { padding: 1.5vw 3vw; border: 2px solid; background: #fff; @@ -1442,9 +1442,9 @@ width: fit-content; margin: auto; font-weight: 700; - } - - .timeline-line { +} + +.timeline-line { position: absolute; z-index: -1; width: 35vw; @@ -1454,9 +1454,9 @@ left: 0; right: 0; margin: 0 auto; - } - - .timeline-line-head { +} + +.timeline-line-head { background-image: url(/img/timeline-head.svg); background-repeat: no-repeat; background-size: 100%; @@ -1468,9 +1468,9 @@ left: 0; right: 0; margin: 0 auto; - } - - .timeline-line-body { +} + +.timeline-line-body { background-image: url(/img/timeline-body.svg); background-repeat: repeat-y; background-size: 100%; @@ -1483,15 +1483,15 @@ left: 0; right: 0; margin: 0 auto; - } - - /* Timeline Events and Position */ - .timeline-events { +} + +/* Timeline Events and Position */ +.timeline-events { display: flex; flex-direction: column; - } - - .timeline-event { +} + +.timeline-event { width: 20vw; height: 12vw; display: flex; @@ -1499,119 +1499,119 @@ margin-top: -3.1vw !important; opacity: 0; transition: opacity 1.4s ease; - } - - .timeline-event.inView { +} + +.timeline-event.inView { opacity: 1; - } - - .timeline-url { +} + +.timeline-url { font-size: 1.8vw; color: #333; text-decoration: unset; - } - - a.timeline-url { +} + +a.timeline-url { text-decoration: underline; - } - - .link-svg { +} + +.link-svg { height: 1.2vw; width: 1.2vw; margin-left: 0.8vw; - } - - /* Timeline Events - Left Side (sort margin)*/ - .timeline-event:nth-child(36n + 7), .timeline-event:nth-child(36n + 9), .timeline-event:nth-child(36n + 33) { +} + +/* Timeline Events - Left Side (sort margin)*/ +.timeline-event:nth-child(36n + 7), .timeline-event:nth-child(36n + 9), .timeline-event:nth-child(36n + 33) { margin-left: 2vw; - } - - .timeline-event:nth-child(36n + 1) { +} + +.timeline-event:nth-child(36n + 1) { margin-left: 8vw; - } - - .timeline-event:nth-child(36n + 25), .timeline-event:nth-child(36n + 35) { +} + +.timeline-event:nth-child(36n + 25), .timeline-event:nth-child(36n + 35) { margin-left: 10vw; - } - - .timeline-event:nth-child(1), .timeline-event:nth-child(36n + 11), .timeline-event:nth-child(36n + 17), .timeline-event:nth-child(36n + 23), .timeline-event:nth-child(36n + 27) { +} + +.timeline-event:nth-child(1), .timeline-event:nth-child(36n + 11), .timeline-event:nth-child(36n + 17), .timeline-event:nth-child(36n + 23), .timeline-event:nth-child(36n + 27) { margin-left: 12vw; - } - - .timeline-event:nth-child(36n + 3), .timeline-event:nth-child(36n + 15), .timeline-event:nth-child(36n + 21) { +} + +.timeline-event:nth-child(36n + 3), .timeline-event:nth-child(36n + 15), .timeline-event:nth-child(36n + 21) { margin-left: 14vw; - } - - .timeline-event:nth-child(3), .timeline-event:nth-child(36n + 5), .timeline-event:nth-child(36n + 13), .timeline-event:nth-child(36n + 19), .timeline-event:nth-child(36n + 29) { +} + +.timeline-event:nth-child(3), .timeline-event:nth-child(36n + 5), .timeline-event:nth-child(36n + 13), .timeline-event:nth-child(36n + 19), .timeline-event:nth-child(36n + 29) { margin-left: 16vw; - } - - /* Timeline Events - Right Side */ - .timeline-event:nth-child(2n) { +} + +/* Timeline Events - Right Side */ +.timeline-event:nth-child(2n) { margin-left: auto; - } - - .timeline-event:nth-child(36n + 2), .timeline-event:nth-child(36n + 6), .timeline-event:nth-child(36n + 20), .timeline-event:nth-child(36n + 32) { +} + +.timeline-event:nth-child(36n + 2), .timeline-event:nth-child(36n + 6), .timeline-event:nth-child(36n + 20), .timeline-event:nth-child(36n + 32) { margin-right: 4vw; - } - - .timeline-event:nth-child(36n + 34) { +} + +.timeline-event:nth-child(36n + 34) { margin-right: 6vw; - } - - .timeline-event:nth-child(36n + 36) { +} + +.timeline-event:nth-child(36n + 36) { margin-right: 8vw; - } - - .timeline-event:nth-child(36n + 8), .timeline-event:nth-child(36n + 24) { +} + +.timeline-event:nth-child(36n + 8), .timeline-event:nth-child(36n + 24) { margin-right: -3vw; - } - - .timeline-event:nth-child(36n + 14), .timeline-event:nth-child(36n + 16) { +} + +.timeline-event:nth-child(36n + 14), .timeline-event:nth-child(36n + 16) { margin-right: -4vw; - } - - .timeline-event:nth-child(36n + 26) { +} + +.timeline-event:nth-child(36n + 26) { margin-right: -5vw; - } - - /* Timeline Events - Rotate */ - .timeline-event:nth-child(2n) { +} + +/* Timeline Events - Rotate */ +.timeline-event:nth-child(2n) { transform: rotate(2deg); - } - - .timeline-event:nth-child(5n) { +} + +.timeline-event:nth-child(5n) { transform: rotate(3deg); - } - - .timeline-event:nth-child(2n + 1) { +} + +.timeline-event:nth-child(2n + 1) { transform: rotate(-1.5deg); - } - - .timeline-event:nth-child(18n + 5), .timeline-event:nth-child(18n + 17) { +} + +.timeline-event:nth-child(18n + 5), .timeline-event:nth-child(18n + 17) { transform: rotate(5deg); - } - - .timeline-event:nth-child(18n + 13), .timeline-event:nth-child(18n + 36) { +} + +.timeline-event:nth-child(18n + 13), .timeline-event:nth-child(18n + 36) { transform: rotate(-3deg); - } - - .timeline-event:nth-child(18n + 9), .timeline-event:nth-child(18n + 12), .timeline-event:nth-child(18n + 22) { +} + +.timeline-event:nth-child(18n + 9), .timeline-event:nth-child(18n + 12), .timeline-event:nth-child(18n + 22) { transform: rotate(-5deg); - } - - /* Event Single */ - .back-button { +} + +/* Event Single */ +.back-button { width: fit-content; padding: 10px 20px; border: 0; background: #007f76; color: #fff; cursor: pointer; - } - - /* PopUp */ - .popup-container { +} + +/* PopUp */ +.popup-container { position: fixed; z-index: 999; top: 0; @@ -1624,15 +1624,15 @@ opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0s ease 0.6s; - } - - .popup-container.view { +} + +.popup-container.view { opacity: 1; visibility: visible; transition: opacity 0.6s ease, visibility 0s ease 0s; - } - - .popup { +} + +.popup { background: #fff; padding: 0 30px 30px; border: 2px solid; @@ -1642,20 +1642,20 @@ z-index: 2; max-height: 80%; overflow-y: scroll; - } - - .popup-header { +} + +.popup-header { display: flex; justify-content: space-between; padding-top: 30px; - } - - .popup-header h3 { +} + +.popup-header h3 { margin: 0; padding-right: 10px; - } - - .popup-close { +} + +.popup-close { position: relative; height: 30px; width: 30px; @@ -1665,9 +1665,9 @@ cursor: pointer; border: 0; background: none; - } - - .popup-close:after, .popup-close:before { +} + +.popup-close:after, .popup-close:before { content: ""; height: 30px; width: 2px; @@ -1675,13 +1675,13 @@ background: #333; position: absolute; transform: rotate(45deg); - } - - .popup-close:before { +} + +.popup-close:before { transform: rotate(-45deg); - } - - .popup-bg { +} + +.popup-bg { position: absolute; background: #00000059; top: 0; @@ -1689,65 +1689,65 @@ left: 0; right: 0; z-index: -1; - } - - - /* EVENT LIST */ - - .event-list { +} + + +/* EVENT LIST */ + +.event-list { border: 2px solid var(--calendar-dark); background-color: var(--calendar-light); color: var(--calendar-dark); margin: 1rem 0 4rem; - } - - .event-list .tape-label span { +} + +.event-list .tape-label span { background-color: var(--calendar-dark); - } - - .event-list-item { +} + +.event-list-item { border-top: 1px solid; display: flex; flex-wrap: wrap; - } - - .event-list-item-head { +} + +.event-list-item-head { display: flex; - } - - .event-list-item a { +} + +.event-list-item a { color: var(--calendar-dark); - } - - .event-list-item .date-start, .event-list-item .title, .event-list-item .time, .event-list-item .duration, .event-list-item .location { +} + +.event-list-item .date-start, .event-list-item .title, .event-list-item .time, .event-list-item .duration, .event-list-item .location { display: flex; align-items: center; border-right: 1px solid var(--calendar-dark); padding: 0.8rem 0; overflow: hidden; - } - - .event-list-item .date-start { +} + +.event-list-item .date-start { font-size: 1.2rem; width: 110px; padding-left: 0.4rem; border-right: 0; - } - - .event-list-item .title { +} + +.event-list-item .title { width: calc(45% - 110px); padding-left: 0.4rem; - } - - .event-list-item .p-name { +} + +.event-list-item .p-name { margin: 0; font-size: 1.2rem; padding: 0; display: block; width: 100%; - } - - .event-list-item .p-name a { +} + +.event-list-item .p-name a { color: var(--calendar-dark); text-decoration: none; white-space: nowrap; @@ -1755,193 +1755,193 @@ text-overflow: ellipsis; width: calc(100% - 20px); display: block; - } - - .event-list-item .time { +} + +.event-list-item .time { width: 20%; - } - - .event-list-item .time .start-scroller { +} + +.event-list-item .time .start-scroller { border-bottom: 0px; - } - - .event-list-item .duration { +} + +.event-list-item .duration { width: 12.5%; font-size: 0.8rem; padding: 0.8rem 0.4rem; - } - - .event-list-item .duration b { +} + +.event-list-item .duration b { margin-left: 3px; - } - - .event-list-item .location { +} + +.event-list-item .location { min-width: unset; width: 15%; font-size: 0.8rem; padding: 0.8rem 0.4rem; - } - - .event-list-item .button { +} + +.event-list-item .button { width: 7.5%; - } - - .event-list-item .calendar { +} + +.event-list-item .calendar { width: 7.5%; display: flex; align-items: center; padding: 0.8rem 0.4rem; cursor: pointer; - } - - .event-list-item .description { +} + +.event-list-item .description { display: none; border-top: 1px solid; font-size: 1.2rem; - } - - input:checked + label + .description { +} + +input:checked + label + .description { display: block; transition: ease .5s; } - - /* Page footer */ - - #footer { + +/* Page footer */ + +#footer { position: relative; margin-top: 10px; font-size: 18px; - } - - #footer.blue .f-main { +} + +#footer.blue .f-main { background: var(--social-light); - } - - #footer.blue .f-credits { +} + +#footer.blue .f-credits { background: var(--social-dark); - } - - #footer.orange .f-main { +} + +#footer.orange .f-main { background: var(--kios-light); - } - - #footer.orange .f-credits { +} + +#footer.orange .f-credits { background: var(--kios-dark); - } - - #footer.green .f-main { +} + +#footer.green .f-main { background: var(--tv-light); - } - - #footer.green .f-credits { +} + +#footer.green .f-credits { background: var(--tv-dark); - } - - - .f-main { +} + + +.f-main { padding: 60px 2rem; display: flex; justify-content: space-between; - } - - .f-column { +} + +.f-column { margin-right: 6vw; - } - - .f-column:first-child { +} + +.f-column:first-child { margin-right: 8vw; - } - - .f-column:last-child { +} + +.f-column:last-child { margin-right: 0; - } - - .f-main .logo { +} + +.f-main .logo { width: 280px; max-height: unset; filter: brightness(0); max-width: 20vw; margin-top: 0; opacity: 0.8; - } - - .f-menu-headline { +} + +.f-menu-headline { font-weight: bold; margin-bottom: 5px; - } - - .f-main a { +} + +.f-main a { color: #000; display: block; font-size: 18px; margin-bottom: 5px; text-decoration: none; white-space: nowrap; - } - - .f-main .login { +} + +.f-main .login { font-weight: bold; padding: 8px 28px; border: 1.5px solid; - } - - .f-credits { +} + +.f-credits { color: #fff; font-size: 15px; padding: 20px 2rem; - } - - .f-credits a { +} + +.f-credits a { color: #fff; text-decoration: none; - } - - .f-credits a:hover { +} + +.f-credits a:hover { cursor: pointer; text-decoration: underline; - } - - /* about styles */ - - #about-img { +} + +/* about styles */ + +#about-img { width: 50%; height: auto; display:block; margin:auto; - } - - - /* single page styles */ - .single header { +} + + +/* single page styles */ +.single header { flex-direction: column; margin-bottom: 4rem; - } - - .single .p-name a { +} + +.single .p-name a { color: black; text-decoration: none; font-size: 2.2rem; - } - - .single .p-name a:hover { +} + +.single .p-name a:hover { text-decoration: underline; - } - - .single .h-entry img { +} + +.single .h-entry img { object-fit: contain; height: auto; - } - - .single .h-entry figure{ +} + +.single .h-entry figure{ margin: 0 0 20px; - } - - .single .h-entry figure figure{ +} + +.single .h-entry figure figure{ margin: 0; - } - - /* lumbung radio player widget */ - .lumbung-radio-player { +} + +/* lumbung radio player widget */ +.lumbung-radio-player { display: flex; color: var(--sounds-dark); border: 1px solid var(--sounds-dark); @@ -1956,50 +1956,50 @@ bottom: 2rem; right: 2rem; cursor: pointer; - } - - - @media all and (min-width: 980px) and (max-width: 1180px) { - #top-menu a, .menu .has-submenu { +} + + +@media all and (min-width: 980px) and (max-width: 1180px) { + #top-menu a, .menu .has-submenu { font-size: 1.8vw; vertical-align: top; } - + .menu-row { font-size: 1.78vw; } - } - - - /* tablet styles */ - - @media (max-width: 980px) { +} + + +/* tablet styles */ + +@media (max-width: 980px) { body { display: initial; } - + #top-menu { width: 100%; } - + .logo { max-height: 50px; } - + /* menu styles */ - + .menu-row, #top-menu { position: fixed !important; z-index: 97; } - + .menu-row { z-index: 98; width: fit-content; margin-top: 3vw; right: 5%; } - + .menu { display: none; position: fixed; @@ -2010,20 +2010,20 @@ height: calc(100% - 90px); padding: 0.5rem 1.5rem; } - + .menu.active { display: block; } - + .menu ul { margin: 0; display: block; } - + .menu-row .login { display: none; } - + .menu-button { display: flex; position: fixed; @@ -2039,17 +2039,17 @@ padding-left: 20px !important; display: none; } - + .menu .submenu li { margin: 0; padding: 0.5rem 0; } - + .menu ul.submenu.active { display: block; visibility: visible; } - + .login-menu { display: block; padding: 0.5rem 2rem; @@ -2058,15 +2058,15 @@ width: fit-content; margin: 0.5rem 0 1rem; } - + .login-menu a { color: #fff !important; } - + .menu-button--line{ transition: all 0.3s ease-in-out; } - + .menu-button.active { -webkit-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; @@ -2080,7 +2080,7 @@ -o-transform: rotate(45deg); transform: rotate(45deg); } - + .menu-button.active .menu-button--line:nth-child(1) { -webkit-transform: translateY(8px); -ms-transform: translateY(8px); @@ -2090,11 +2090,11 @@ -o-transition-delay: 0.3s; transition-delay: 0.3s; } - + .menu-button.active .menu-button--line:nth-child(2) { width: 0px; } - + .menu-button.active .menu-button--line:nth-child(3) { -webkit-transform: translateY(-6px) rotate(90deg); -ms-transform: translateY(-6px) rotate(90deg); @@ -2104,13 +2104,13 @@ -o-transition-delay: 0.3s; transition-delay: 0.3s; } - + .filter { position: fixed; right: 20px; top: clamp(25px, 7vw, 35px); } - + .filter-container { flex-wrap: wrap; border-top: 2px solid #333; @@ -2120,11 +2120,11 @@ margin-top: 30px; display: none !important; } - + #filter.active .filter-container { display: block !important; } - + .filter-information { width: 100%; margin-bottom: 15px; @@ -2132,65 +2132,65 @@ align-items: center; justify-content: space-between; } - + .filter-buttons-container { display: block; width: 100%; } - + .filter-buttons-container.open { display: block !important; } - + .filter-buttons-dropdown { z-index: 99; } - + .filter-buttons { margin-right: 0px; margin-bottom: 10px; width: 100%; } - + .container { padding-top: 60px; } - + .filter-link { background: unset; padding: 0; } - + .filter-link span { display: none; } - + .filter-icon { height: 20px; margin-right: 0; } - + .filter-icon path { fill: #333; } - + .filter-buttons-dropdown.active { display: block; } - + .filter-by.active:after { transform: rotate(180deg); } - + #top-menu div.mobile-menu { display: flex; justify-content: space-between; } - + #top-menu .login-link { display: none; } - + .hamburger { border: none; background: none; @@ -2198,12 +2198,12 @@ z-index: 3; cursor: pointer; } - + .hamburger.opened { position: fixed; margin-top: 3px; } - + .drawer { display: block; position: fixed; @@ -2219,12 +2219,12 @@ overflow-x: hidden; overflow-y: scroll; } - + .drawer * { display: none; opacity: 0; } - + #top-menu .drawer ul { display: flex; flex-direction: column; @@ -2233,47 +2233,47 @@ margin: 0; padding: 0; } - + #top-menu ul.submenu { position: initial; } - + .drawer ul li { padding: 1em 0; /* border-bottom: 1px solid #333; */ } - + .drawer ul > li:last-child { padding-bottom: 2em; } - + .drawer ul li a { color: white; text-decoration: none; text-transform: lowercase; margin-left: 1em; } - + .drawer.opened { width: 80%; } - + .drawer.opened * { display: block; opacity: 1; } - + /* Landingpage */ .app-column { width: 33%; padding: 2.5%; } - + /* Landingpage */ .f-main { flex-wrap: wrap; } - + .f-column { margin-right: 0vw; @@ -2282,156 +2282,156 @@ .f-column:nth-child(1), .f-column:nth-child(2){ margin-bottom: 45px; } - + .f-main .logo { max-width: unset; } - + /* EVENT LIST */ - + .event-list .event-list-item:nth-child(2n) { background: #c8efff; } - + .event-list-item .date-start { border-bottom: 1px solid; } - + .event-list-item .title { width: calc(100% - 110px); border-bottom: 1px solid; border-right: 0; } - + .event-list-item .time { width: 100%; border-bottom: 1px solid; border-right: 0; padding: 0; } - + .event-list-item .duration, .event-list-item .location { width: 42%; } - + .event-list-item .calendar { width: 16%; } - - } - - /* mobile styles */ - - @media (max-width: 768px) { - + +} + +/* mobile styles */ + +@media (max-width: 768px) { + /* card styles */ .card, .card.network { max-width: 83vw; } - + .card .summary-text { font-size: 17px; min-width: 30ch; } - + .card h2 a { font-size: 26px; } - + /* Landingpage */ .app-column { width: 50%; padding: 2.5%; } - + /* Timeline Tags */ .timeline-tags { font-size: 3vw; } - + /* Timeline Container and Line */ .timeline-start { font-size: 5vw; padding: 1.5vw 0 9vw; } - + .timeline-line { height: calc(100% - 18vw); top: 18vw; width: 25vw; } - + .timeline-line-head { height: 18.5vw; } - + .timeline-line-body { height: calc(100% - 18.2vw); top: 18.2vw; } - + /* Timeline Events and Position */ .timeline-events { padding-top: 15vw; } - + .timeline-event { width: 30vw; height: 35vw; margin-top: -12vw !important; } - + .timeline-url { font-size: 3.4vw; } - + .link-svg { height: 2.4vw; width: 2.4vw; margin-left: 1.6vw; } - + /* Timeline Events - Left Side (sort margin)*/ .timeline-event:nth-child(36n + 7), .timeline-event:nth-child(36n + 9), .timeline-event:nth-child(36n + 33) { margin-left: 1vw; } - + .timeline-event:nth-child(36n + 1), .timeline-event:nth-child(36n + 3), .timeline-event:nth-child(36n + 15), .timeline-event:nth-child(36n + 21), .timeline-event:nth-child(36n + 11), .timeline-event:nth-child(36n + 17), .timeline-event:nth-child(36n + 23), .timeline-event:nth-child(36n + 27) { margin-left: 2vw; } - + .timeline-event:nth-child(3), .timeline-event:nth-child(36n + 5), .timeline-event:nth-child(36n + 13), .timeline-event:nth-child(36n + 19), .timeline-event:nth-child(36n + 29), .timeline-event:nth-child(36n + 25), .timeline-event:nth-child(36n + 35) { margin-left: -3vw; } - + /* Timeline Events - Right Side */ .timeline-event:nth-child(2n) { margin-right: -5vw; } - + .timeline-event:nth-child(36n + 8), .timeline-event:nth-child(36n + 24) { margin-right: -6vw; } - + .timeline-event:nth-child(36n + 26) { margin-right: -8vw; } - } - - @media (max-width: 480px) { +} + +@media (max-width: 480px) { .pagination-container { width: 71vw; margin: 2em 0; } - + .pagination .page-item { font-size: 26px; } - } - - @media (max-width: 960px) { +} + +@media (max-width: 960px) { .menu ul:first-child { padding: 0; } - } \ No newline at end of file +} From 9d4cf8d394c090e151adb1acee1020b05af70442 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 09:24:21 +0100 Subject: [PATCH 14/38] Merge pull request 'front page redesign & post filtering' (#63) from r/lumbung.space:main into main Reviewed-on: https://git.autonomic.zone/ruangrupa/lumbung.space/pulls/63 --- config.toml | 4 + .../{contributors.md => ls-contributors.md} | 0 .../layouts/_default/baseof.html | 91 ++++-- .../lumbung-theme/layouts/_default/list.html | 70 ++--- themes/lumbung-theme/layouts/events/list.html | 39 +++ themes/lumbung-theme/layouts/index.html | 67 +++-- themes/lumbung-theme/layouts/page/filter.html | 262 ++++++++++++++++++ .../layouts/partials/book_card.html | 39 +++ .../layouts/partials/calendar_card.html | 2 +- .../lumbung-theme/layouts/partials/card.html | 2 +- .../layouts/partials/data/authors.html | 1 + .../layouts/partials/data/categories.html | 1 + .../layouts/partials/data/contributors.html | 1 + .../layouts/partials/data/sources.html | 1 + .../layouts/partials/data/tags.html | 1 + .../layouts/partials/event_list_item.html | 19 ++ .../layouts/partials/filter-nav.html | 91 ++++++ .../layouts/partials/footer.html | 2 +- .../lumbung-theme/layouts/partials/head.html | 1 + .../layouts/partials/header.html | 67 ++--- .../layouts/partials/network_card.html | 47 ---- .../layouts/partials/pen_card.html | 2 +- .../layouts/partials/shout_card.html | 93 +++---- .../layouts/partials/social_card.html | 49 ++++ .../layouts/partials/video_box.html | 2 +- themes/lumbung-theme/static/img/black-dot.svg | 16 ++ themes/lumbung-theme/static/img/logo-big.svg | 21 ++ themes/lumbung-theme/static/img/logo.svg | 36 ++- .../static/js/hugotagsfilter-1.2.2.min.js | 221 +++++++++++++++ 29 files changed, 1008 insertions(+), 240 deletions(-) rename content/{contributors.md => ls-contributors.md} (100%) create mode 100644 themes/lumbung-theme/layouts/events/list.html create mode 100644 themes/lumbung-theme/layouts/page/filter.html create mode 100644 themes/lumbung-theme/layouts/partials/book_card.html create mode 100644 themes/lumbung-theme/layouts/partials/data/authors.html create mode 100644 themes/lumbung-theme/layouts/partials/data/categories.html create mode 100644 themes/lumbung-theme/layouts/partials/data/contributors.html create mode 100644 themes/lumbung-theme/layouts/partials/data/sources.html create mode 100644 themes/lumbung-theme/layouts/partials/data/tags.html create mode 100644 themes/lumbung-theme/layouts/partials/event_list_item.html create mode 100644 themes/lumbung-theme/layouts/partials/filter-nav.html delete mode 100644 themes/lumbung-theme/layouts/partials/network_card.html create mode 100644 themes/lumbung-theme/layouts/partials/social_card.html create mode 100644 themes/lumbung-theme/static/img/black-dot.svg create mode 100644 themes/lumbung-theme/static/img/logo-big.svg create mode 100644 themes/lumbung-theme/static/js/hugotagsfilter-1.2.2.min.js diff --git a/config.toml b/config.toml index 647c46f..1489f8a 100644 --- a/config.toml +++ b/config.toml @@ -5,6 +5,7 @@ theme = "lumbung-theme" pluralizeListTitles = "false" paginate = 20 + [params] logo = "/img/logo.svg" favicon = "/img/favicon.ico" @@ -24,6 +25,9 @@ paginate = 20 tag = "tags" source = "sources" timeline = "timelines" + [permalinks] timelines = "/timeline/:slug/" + + diff --git a/content/contributors.md b/content/ls-contributors.md similarity index 100% rename from content/contributors.md rename to content/ls-contributors.md diff --git a/themes/lumbung-theme/layouts/_default/baseof.html b/themes/lumbung-theme/layouts/_default/baseof.html index 638faaa..007eb1a 100644 --- a/themes/lumbung-theme/layouts/_default/baseof.html +++ b/themes/lumbung-theme/layouts/_default/baseof.html @@ -11,6 +11,8 @@ {{- partial "news-ticker.html" . -}} {{- partial "footer.html" . -}} + + diff --git a/themes/lumbung-theme/layouts/_default/list.html b/themes/lumbung-theme/layouts/_default/list.html index e93d0c7..9178d35 100644 --- a/themes/lumbung-theme/layouts/_default/list.html +++ b/themes/lumbung-theme/layouts/_default/list.html @@ -1,48 +1,48 @@ {{ define "main" }}
-
- {{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }} - - {{ if in .Params.categories "tv"}} +
+ {{ $range := where .Pages "Params.hidden" "ne" "true" }} + {{ $paginator := .Paginate $range }} + {{ $pageSize := $paginator.PageSize }} + {{ $totalPostsToShow := mul $paginator.PageNumber $pageSize }} + {{ range $index, $el := (first $totalPostsToShow $range) }} - {{- partial "video_box.html" . -}} +
+ {{if eq .Section "tv"}} + {{- partial "video_box.html" . -}} - {{ else if in .Params.categories "calendar" }} + {{ else if eq .Section "events" }} + {{- partial "partials/calendar_card.html" . -}} - {{- partial "calendar_card.html" . -}} + {{ else if eq .Section "shouts" }} + {{ if in .Params.sources "pen.lumbung.space" }} + {{- partial "partials/pen_card.html" . -}} + {{ else }} + {{- partial "partials/shout_card.html" . -}} + {{ end }} - {{ else if in .Params.categories "network" }} + {{ else if eq .Section "social" }} + {{- partial "partials/social_card.html" . -}} - {{- partial "network_card.html" . -}} + {{ else if eq .Section "publications"}} + {{- partial "partials/book_card.html" . -}} - {{ else if in .Params.categories "shouts" }} - - {{- partial "shout_card.html" . -}} - - {{ else if in .Params.categories "pen" }} - - {{- partial "pen_card.html" . -}} - - {{ else if in .Params.categories "book" }} - - {{- partial "book.html" . -}} - - {{ else if in .Params.categories "page" }} - - {{- partial "blank.html" . -}} - - {{ else }} - - {{- partial "card.html" . -}} - - {{ end }} + {{ else if eq .Section "sounds"}} + {{- partial "sounds_card.html" . -}} + {{ else }} + {{- partial "card.html" . -}} + {{ end }} +
{{ end }}
- - + + +
-{{ end }} +{{ end }} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/events/list.html b/themes/lumbung-theme/layouts/events/list.html new file mode 100644 index 0000000..739ad2c --- /dev/null +++ b/themes/lumbung-theme/layouts/events/list.html @@ -0,0 +1,39 @@ +{{ define "main" }} +
+
+ + {{ $now := (now.Format "060102" ) }} + + {{ $upcoming := slice }} + {{ $past := slice}} + + {{ range .Pages }} + {{ $t := (substr .Params.event_end 2 8) }} + {{ $time := ( replace $t "-" "") }} + {{ if ge $time $now }} + {{ $upcoming = $upcoming | append . }} + {{ else if gt $now $time }} + {{ $past = $past | append . }} + {{ end }} + {{ end }} + + {{ with $upcoming }} +
+
upcoming events
+ {{ range $upcoming}} + {{- partial "event_list_item.html" . -}} + {{end}} +
+ {{end}} + {{ with $past }} +
+
past events
+ {{ range $past }} + {{- partial "event_list_item.html" . -}} + {{ end }} +
+ {{ end }} + +
+
+{{ end }} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/index.html b/themes/lumbung-theme/layouts/index.html index 0f9408f..190ba06 100644 --- a/themes/lumbung-theme/layouts/index.html +++ b/themes/lumbung-theme/layouts/index.html @@ -1,32 +1,50 @@ {{ define "main" }}
-
-{{ range (.Paginate (.Site.RegularPages.GroupByDate "January 2006") 20 ).PageGroups }} + +
+ {{ $range := .Site.RegularPages }} + {{ $paginator := .Paginate $range }} + {{ $pageSize := $paginator.PageSize }} + {{ $totalPostsToShow := mul $paginator.PageNumber $pageSize }} + {{ range $index, $el := (first $totalPostsToShow .Site.RegularPages) }} + +
+ {{if eq .Section "tv"}} + {{- partial "video_box.html" . -}} - {{ .Key }} - {{ range .Pages }} - {{ if in .Params.categories "tv"}} - {{- partial "video_box.html" . -}} - {{ else if in .Params.categories "calendar" }} - {{- partial "calendar_card.html" . -}} - {{ else if in .Params.categories "network" }} - {{- partial "network_card.html" . -}} - {{ else if in .Params.categories "pen" }} - {{- partial "pen_card.html" . -}} - {{ else if in .Params.categories "shouts" }} - {{- partial "shout_card.html" . -}} - {{ else if in .Params.categories "books.lumbung.space"}} - {{- partial "book_card.html" . -}} - {{ else }} - {{- partial "card.html" . -}} - {{ end }} - {{ end }} + {{ else if eq .Section "events" }} + {{- partial "partials/calendar_card.html" . -}} + + {{ else if eq .Section "shouts" }} + {{ if in .Params.sources "pen.lumbung.space" }} + {{- partial "partials/pen_card.html" . -}} + {{ else }} + {{- partial "partials/shout_card.html" . -}} + {{ end }} + + {{ else if eq .Section "social" }} + {{- partial "partials/social_card.html" . -}} + + {{ else if eq .Section "publications"}} + {{- partial "partials/book_card.html" . -}} + + {{ else if eq .Section "sounds"}} + {{- partial "sounds_card.html" . -}} + + {{ else }} + {{- partial "card.html" . -}} + {{ end }} +
{{ end }}
- + + +
@@ -34,5 +52,8 @@ lumbung radio
+ +
+ {{ end }} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/page/filter.html b/themes/lumbung-theme/layouts/page/filter.html new file mode 100644 index 0000000..af5f844 --- /dev/null +++ b/themes/lumbung-theme/layouts/page/filter.html @@ -0,0 +1,262 @@ + + + + + + + + + + + + + + + +
+ + +{{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} +{{ $sections := .Site.Params.mainSections }} + +{{ $.Scratch.Set "authors" (slice ) }} +{{ $.Scratch.Set "noAuthors" 0 }} + +{{ range where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} + {{ with .Params.authors }} + {{ if eq ( printf "%T" . ) "[]string" }} + {{ if ( not ( in ($.Scratch.Get "authors") . ) ) }} + {{ $.Scratch.Add "authors" . }} + {{ end }} + {{ else if ( printf "%T" . ) "[]string" }} + {{ range . }} + {{ if ( not ( in ($.Scratch.Get "authors") . ) ) }} + {{ $.Scratch.Add "authors" . }} + {{ end }} + {{ end }} + {{ end }} + {{ else }} + {{ $.Scratch.Add "noAuthors" 1 }} + {{ end }} +{{ end }} + + +{{ $tags := $.Site.Taxonomies.tags.ByCount }} + +{{ $.Scratch.Set "untagged" 0 }} +{{ range $pages }} + {{ with .Params.tags }}{{ else }}{{ $.Scratch.Add "untagged" 1 }}{{ end }} +{{ end }} + + +
+
+

Sections

+ + {{ range $sections }} + + {{ end }} + + + +

Authors

+ + {{ range $.Scratch.Get "authors" }} + + {{ end }} + {{ if gt ( $.Scratch.Get "noAuthors") 0 }} + + {{ end }} + + + +

Tags

+ + {{ range $tags }} + {{ if .Term }} + + {{ end }} + {{ end }} + {{ if gt ( $.Scratch.Get "untagged") 0 }} + + {{ end }} + + +
+
+ + + +
+

Items

+
+ {{ range $pages.ByPublishDate.Reverse }} + {{ if in .Params.categories "tv"}} + {{- partial "video_box.html" . -}} +{{ else if in .Params.categories "calendar" }} + {{- partial "calendar_card.html" . -}} +{{ else if in .Params.categories "network" }} + {{- partial "network_card.html" . -}} +{{ else if in .Params.categories "pen" }} + {{- partial "pen_card.html" . -}} +{{ else if in .Params.categories "shouts" }} + {{- partial "shout_card.html" . -}} +{{ else if in .Params.categories "books.lumbung.space"}} +{{- partial "book_card.html" . -}} +{{ else }} + {{- partial "card.html" . -}} +{{ end }} + {{ end }} +
+ +
+ + + + + + +
+ + + + + diff --git a/themes/lumbung-theme/layouts/partials/book_card.html b/themes/lumbung-theme/layouts/partials/book_card.html new file mode 100644 index 0000000..2bd0975 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/book_card.html @@ -0,0 +1,39 @@ +
+
+
+ + {{ $postPermalink := .Permalink}} + + + {{ with (index (.Resources.ByType "image") 0) }} + {{ $height := add .Height 0.0}} + {{ $ratio := div $height .Width}} + {{ $thumb := .Fit "540x540 q80 webp"}} +
+
+ {{ .Title }} +
+ {{ else }} +
+ {{ end }} +
+

+ {{.Title}}

+
+
+ {{ .Summary }} +
+
+
+ +
+
+
+
diff --git a/themes/lumbung-theme/layouts/partials/calendar_card.html b/themes/lumbung-theme/layouts/partials/calendar_card.html index c41cfa9..3a20ffc 100644 --- a/themes/lumbung-theme/layouts/partials/calendar_card.html +++ b/themes/lumbung-theme/layouts/partials/calendar_card.html @@ -1,5 +1,5 @@ {{ $t := (time .Params.event_end) }} -
+
{{ substr .Params.date 0 11}}
diff --git a/themes/lumbung-theme/layouts/partials/card.html b/themes/lumbung-theme/layouts/partials/card.html index 9154a32..5cbaa86 100644 --- a/themes/lumbung-theme/layouts/partials/card.html +++ b/themes/lumbung-theme/layouts/partials/card.html @@ -1,4 +1,4 @@ -
+

{{ .Title }}

diff --git a/themes/lumbung-theme/layouts/partials/data/authors.html b/themes/lumbung-theme/layouts/partials/data/authors.html new file mode 100644 index 0000000..69be009 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/data/authors.html @@ -0,0 +1 @@ +{{ with .Params.authors }}{{ if eq ( printf "%T" . ) "string" }}{{ . | replaceRE "[.]" "_" | urlize }}{{ else if eq ( printf "%T" . ) "[]string" }}{{ range . }}{{ . | replaceRE "[.]" "_" | urlize }} {{end}}{{end}}{{else}}no-author{{end}} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/data/categories.html b/themes/lumbung-theme/layouts/partials/data/categories.html new file mode 100644 index 0000000..9303037 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/data/categories.html @@ -0,0 +1 @@ +{{ with .Params.categories }}{{ if eq ( printf "%T" . ) "string" }}{{ . | replaceRE "[.]" "_" | urlize }}{{ else if eq ( printf "%T" . ) "[]string" }}{{ range . }}{{ . | replaceRE "[.]" "_" | urlize }} {{end}}{{end}}{{else}}no-cat{{end}} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/data/contributors.html b/themes/lumbung-theme/layouts/partials/data/contributors.html new file mode 100644 index 0000000..20dce32 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/data/contributors.html @@ -0,0 +1 @@ +{{ with .Params.contributors }}{{ if eq ( printf "%T" . ) "string" }}{{ . | replaceRE "[.]" "_" | urlize }}{{ else if eq ( printf "%T" . ) "[]string" }}{{ range . }}{{ . | replaceRE "[.]" "_" | urlize }} {{end}}{{end}}{{else}}no-contributor{{end}} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/data/sources.html b/themes/lumbung-theme/layouts/partials/data/sources.html new file mode 100644 index 0000000..d39e141 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/data/sources.html @@ -0,0 +1 @@ +{{ with .Params.sources }}{{ if eq ( printf "%T" . ) "string" }}{{ . | replaceRE "[.]" "_" | urlize }}{{ else if eq ( printf "%T" . ) "[]string" }}{{ range . }}{{ . | replaceRE "[.]" "_" | urlize }} {{end}}{{end}}{{else}}no-sources{{end}} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/data/tags.html b/themes/lumbung-theme/layouts/partials/data/tags.html new file mode 100644 index 0000000..6cb4851 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/data/tags.html @@ -0,0 +1 @@ +{{ with .Params.tags }}{{ range . }}{{ . | replaceRE "[.]" "_" | urlize }} {{ end }}{{ else }} tfuntagged{{ end }} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/event_list_item.html b/themes/lumbung-theme/layouts/partials/event_list_item.html new file mode 100644 index 0000000..524ea99 --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/event_list_item.html @@ -0,0 +1,19 @@ +{{ $t := (time .Params.event_end) }} +
+
{{ substr .Params.event_begin 0 11}}
+ +
+
+ + {{ .Params.localized_begin | markdownify }} + +
+
+
Duration: {{ .Params.duration }}
+
{{ .Params.location | markdownify }}
+ + +
+ {{.Content}} +
+
\ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/filter-nav.html b/themes/lumbung-theme/layouts/partials/filter-nav.html new file mode 100644 index 0000000..373c62b --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/filter-nav.html @@ -0,0 +1,91 @@ +
+ + + {{ $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }} + {{ $sections := .Site.Params.mainSections }} + {{ $tags := $.Site.Taxonomies.tags.ByCount }} + {{ $.Scratch.Set "untagged" 0 }} + {{ range $pages }} + {{ with .Params.tags }}{{ else }}{{ $.Scratch.Add "untagged" 1 }}{{ end }} + {{ end }} + +
+
+
Cards
+
load more cards
+
+
+
+ +
+ {{ range $sections }} + + {{ end }} + +
+
+ +
+ +
+ {{ range .Site.Taxonomies.contributors }} + + {{ end }} + + + +
+
+ +
+ +
+ {{ range .Site.Taxonomies.sources }} + + {{ end }} + + +
+
+ +
+ +
+ {{ range $tags }} + {{ if .Term }} + + {{ end }} + {{ end }} + + +
+
+ +
+
+ +
\ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/footer.html b/themes/lumbung-theme/layouts/partials/footer.html index c8c9ced..c75a630 100644 --- a/themes/lumbung-theme/layouts/partials/footer.html +++ b/themes/lumbung-theme/layouts/partials/footer.html @@ -1,7 +1,7 @@
- +
lumbung.space is a social and publishing platform for sharing harvests by all members online. It is non-extractive, co governed by the users, and is built on open platforms.
diff --git a/themes/lumbung-theme/layouts/partials/head.html b/themes/lumbung-theme/layouts/partials/head.html index 38b375f..11ab989 100644 --- a/themes/lumbung-theme/layouts/partials/head.html +++ b/themes/lumbung-theme/layouts/partials/head.html @@ -25,4 +25,5 @@ {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + diff --git a/themes/lumbung-theme/layouts/partials/header.html b/themes/lumbung-theme/layouts/partials/header.html index 41f0da3..ba3b1a0 100644 --- a/themes/lumbung-theme/layouts/partials/header.html +++ b/themes/lumbung-theme/layouts/partials/header.html @@ -1,36 +1,26 @@
-
- - login + - - - - - -
+
+ + +
diff --git a/themes/lumbung-theme/layouts/partials/network_card.html b/themes/lumbung-theme/layouts/partials/network_card.html deleted file mode 100644 index dae6e92..0000000 --- a/themes/lumbung-theme/layouts/partials/network_card.html +++ /dev/null @@ -1,47 +0,0 @@ -
-
-
- {{ $postPermalink := .Permalink}} - -

{{ .Title }}

-
- -
From {{ if .Params.authors }}{{range .Params.authors}} {{ . }} {{end}} at {{ end }}{{ .Params.feed_name }}
- - {{ if .Params.featured_image }} - {{ $img := .Resources.GetMatch .Params.featured_image }} - {{ $height := add $img.Height 0.0}} - {{ $ratio := div $height $img.Width}} - {{ $thumb := $img.Fit "540x540 q80 webp"}} -
-
- {{ .Title }} -
- {{ else if (.Resources.ByType "image") }} - {{ with (index (.Resources.ByType "image") 0) }} - {{ $img := . }} - {{ $height := add .Height 0.0}} - {{ $ratio := div $height .Width}} - {{ $thumb := .Fit "540x540 q80 webp"}} -
-
- {{ .Title }} -
- {{ end }} - {{ else }} -
- {{ end }} -
- {{ .Summary }} -
-
- - -
-
diff --git a/themes/lumbung-theme/layouts/partials/pen_card.html b/themes/lumbung-theme/layouts/partials/pen_card.html index ef2b213..4accc6d 100644 --- a/themes/lumbung-theme/layouts/partials/pen_card.html +++ b/themes/lumbung-theme/layouts/partials/pen_card.html @@ -1,4 +1,4 @@ -
+
From {{ if .Params.author }}{{.Params.author}} at {{ end }}{{ .Params.feed_name }}
diff --git a/themes/lumbung-theme/layouts/partials/shout_card.html b/themes/lumbung-theme/layouts/partials/shout_card.html index 625164e..c3ee38b 100644 --- a/themes/lumbung-theme/layouts/partials/shout_card.html +++ b/themes/lumbung-theme/layouts/partials/shout_card.html @@ -1,49 +1,48 @@ -
-
-
- {{ $postPermalink := .Permalink}} -

- {{ range $i, $e := .Params.tags -}} - {{- if $i -}} {{ end -}} - #{{ $e | humanize | lower }} - {{- end -}} -

-
+
+
+
+ {{ $postPermalink := .Permalink}} + +

{{ .Title }}

+
+ +
From {{ if .Params.contributors }}{{range .Params.contributors}} {{ . }} {{end}} at {{ end }}{{ .Params.feed_name }}
- {{ with (index (.Resources.ByType "video") 0) }} - {{/* TODO this current logic does not suport video & image mixed */}} -
- - {{ else}} - {{ with (index (.Resources.ByType "image") 0) }} - {{ $height := add .Height 0.0}} - {{ $ratio := div $height .Width}} - {{ $thumb := .Fit "540x540 q80 webp"}} -
-
- {{ .Title }} -
- {{ else }} -
- {{ end }} - {{ end }} -
- {{ .Summary }} -
-
-
- -
- - {{ if .Truncated }} - - - {{ end }} -
-
+ {{ if .Params.featured_image }} + {{ with $img := .Resources.GetMatch .Params.featured_image }} + {{ $height := add $img.Height 0.0}} + {{ $ratio := div $height $img.Width}} + {{ $thumb := $img.Fit "540x540 q80 webp"}} +
+
+ {{ .Title }} +
+ {{end}} + {{ else if (.Resources.ByType "image") }} + {{ with (index (.Resources.ByType "image") 0) }} + {{ $img := . }} + {{ $height := add .Height 0.0}} + {{ $ratio := div $height .Width}} + {{ $thumb := .Fit "540x540 q80 webp"}} +
+
+ {{ .Title }} +
+ {{ end }} + {{ else }} +
+ {{ end }} +
+ {{ .Summary }} +
+ + +
+
diff --git a/themes/lumbung-theme/layouts/partials/social_card.html b/themes/lumbung-theme/layouts/partials/social_card.html new file mode 100644 index 0000000..464150e --- /dev/null +++ b/themes/lumbung-theme/layouts/partials/social_card.html @@ -0,0 +1,49 @@ + \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/partials/video_box.html b/themes/lumbung-theme/layouts/partials/video_box.html index 54170a6..4a9f418 100644 --- a/themes/lumbung-theme/layouts/partials/video_box.html +++ b/themes/lumbung-theme/layouts/partials/video_box.html @@ -1,4 +1,4 @@ -
+
+ + + + + + + + + diff --git a/themes/lumbung-theme/static/img/logo-big.svg b/themes/lumbung-theme/static/img/logo-big.svg new file mode 100644 index 0000000..9409ee3 --- /dev/null +++ b/themes/lumbung-theme/static/img/logo-big.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/lumbung-theme/static/img/logo.svg b/themes/lumbung-theme/static/img/logo.svg index 9409ee3..c60c548 100644 --- a/themes/lumbung-theme/static/img/logo.svg +++ b/themes/lumbung-theme/static/img/logo.svg @@ -1,21 +1,17 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/themes/lumbung-theme/static/js/hugotagsfilter-1.2.2.min.js b/themes/lumbung-theme/static/js/hugotagsfilter-1.2.2.min.js new file mode 100644 index 0000000..e89770b --- /dev/null +++ b/themes/lumbung-theme/static/js/hugotagsfilter-1.2.2.min.js @@ -0,0 +1,221 @@ +!(function l(r, a, o) { + function h(e, t) { + if (!a[e]) { + if (!r[e]) { + var s = "function" == typeof require && require; + if (!t && s) return s(e, !0); + if (u) return u(e, !0); + var i = new Error("Cannot find module '" + e + "'"); + throw ((i.code = "MODULE_NOT_FOUND"), i); + } + var n = (a[e] = { exports: {} }); + r[e][0].call( + n.exports, + function (t) { + return h(r[e][1][t] || t); + }, + n, + n.exports, + l, + r, + a, + o + ); + } + return a[e].exports; + } + for (var u = "function" == typeof require && require, t = 0; t < o.length; t++) h(o[t]); + return h; +})( + { + 1: [ + function (t, e, s) { + "use strict"; + var i = (function () { + function i(t, e) { + for (var s = 0; s < e.length; s++) { + var i = e[s]; + (i.enumerable = i.enumerable || !1), (i.configurable = !0), "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i); + } + } + return function (t, e, s) { + return e && i(t.prototype, e), s && i(t, s), t; + }; + })(); + /** + * @name 'Hugo Tags Filter' + * @version 1.2.2 + * @license MIT + * @author PointyFar + */ + var n = (function () { + function l(t) { + !(function (t, e) { + if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function"); + })(this, l); + (this.FILTERS = + t && t.filters + ? t.filters + : [ + { name: "tag", prefix: "tft-", buttonClass: "tft-button", allSelector: "#tfSelectAllTags", attrName: "data-tags" }, + { name: "section", prefix: "tfs-", buttonClass: "tfs-button", allSelector: "#tfSelectAllSections", attrName: "data-section" }, + ]), + (this.showItemClass = t && t.showItemClass ? t.showItemClass : "tf-show"), + (this.activeButtonClass = t && t.activeButtonClass ? t.activeButtonClass : "active"), + (this.filterItemClass = t && t.filterItemClass ? t.filterItemClass : "tf-filter-item"), + (this.counterSelector = t && t.counterSelector ? t.counterSelector : "selectedItemCount"), + (this.populateCount = !(!t || !t.populateCount) && t.populateCount), + (this.setDisabledButtonClass = !(!t || !t.setDisabledButtonClass) && t.setDisabledButtonClass), + (this.filterItems = document.getElementsByClassName(this.filterItemClass)), + (this.selectedItemCount = 0), + (this.filterValues = {}); + for (var e = 0; e < this.FILTERS.length; e++) { + (this.FILTERS[e].buttonTotal = document.getElementsByClassName(this.FILTERS[e].buttonClass).length), (this.FILTERS[e].selected = []), (this.FILTERS[e].values = []); + var s = document.getElementsByClassName(this.FILTERS[e].buttonClass); + this.filterValues[this.FILTERS[e].name] = []; + for (var i = 0; i < s.length; i++) { + var n = s[i].id.replace(this.FILTERS[e].prefix, ""); + this.filterValues[this.FILTERS[e].name][n] = { count: 0, selected: 0 }; + } + } + this.showCheck(this.FILTERS[0].name, !0); + } + return ( + i(l, [ + { + key: "initFilterCount", + value: function (t, e) { + if (e) for (var s in t) for (var i = 0; i < this.filterItems.length; i++) for (var n = this.getAttrs(s, this.filterItems[i]), l = 0; l < n.length; l++) t[s][n[l]].count++, t[s][n[l]].selected++; + else { + var r = document.getElementsByClassName(this.showItemClass); + for (var s in t) for (var a in t[s]) t[s][a].selected = 0; + for (l = 0; l < r.length; l++) + for (s in t) { + n = this.getAttrs(s, r[l]); + for (var o = 0; o < n.length; o++) t[s][n[o]].selected++; + } + } + return t; + }, + }, + { + key: "populateCounters", + value: function (t) { + if (this.populateCount) + for (var e = 0; e < this.FILTERS.length; e++) { + var s = this.FILTERS[e].name, + i = this.FILTERS[e].countPrefix, + n = this.FILTERS[e].selectedPrefix; + if (i || n) + for (var l in t[s]) { + if (i) document.getElementById("" + i + l).textContent = t[s][l].count; + if (n) { + var r = document.getElementById("" + n + l); + (r.textContent = t[s][l].selected), + this.setDisabledButtonClass && + (0 == r.textContent + ? this.addClassIfMissing(document.getElementById(this.FILTERS[e].prefix + l), this.setDisabledButtonClass) + : this.delClassIfPresent(document.getElementById(this.FILTERS[e].prefix + l), this.setDisabledButtonClass)); + } + } + } + }, + }, + { + key: "getAttrs", + value: function (t, e) { + return e + .getAttribute("data-" + t) + .split(" ") + .filter(function (t) { + return 0 < t.length; + }); + }, + }, + { + key: "showAll", + value: function (t) { + for (var e = 0; e < this.FILTERS.length; e++) t ? this.FILTERS[e].name === t && (this.FILTERS[e].selected = []) : (this.FILTERS[e].selected = []); + this.showCheck(t); + }, + }, + { + key: "checkFilter", + value: function (t, e) { + for (var s = document.querySelector("#" + e + t), i = 0; i < this.FILTERS.length; i++) + this.FILTERS[i].prefix === e && + (0 <= this.FILTERS[i].selected.indexOf(t) + ? (this.FILTERS[i].selected.splice(t, 1), this.delClassIfPresent(s, this.activeButtonClass)) + : (this.FILTERS[i].selected.push(t), this.addClassIfMissing(s, this.activeButtonClass)), + this.delClassIfPresent(document.querySelector(this.FILTERS[i].allSelector), this.activeButtonClass), + this.showCheck(this.FILTERS[i].name)); + }, + }, + { + key: "showCheck", + value: function (t, e) { + for (var s = 0; s < this.FILTERS.length; s++) + if (this.FILTERS[s].name === t && (0 === this.FILTERS[s].selected.length || this.FILTERS[s].selected.length === this.FILTERS[s].buttonTotal)) { + for (var i = document.getElementsByClassName(this.FILTERS[s].buttonClass), n = 0; n < i.length; n++) this.delClassIfPresent(i[n], this.activeButtonClass); + this.addClassIfMissing(document.querySelector(this.FILTERS[s].allSelector), this.activeButtonClass); + } + for (s = this.selectedItemCount = 0; s < this.filterItems.length; s++) { + this.delClassIfPresent(this.filterItems[s], this.showItemClass); + var l = 0; + for (n = 0; n < this.FILTERS.length; n++) this.checkVisibility(this.FILTERS[n].selected, this.filterItems[s].getAttribute(this.FILTERS[n].attrName)) && l++; + l === this.FILTERS.length && (this.filterItems[s].classList.contains(this.showItemClass) || (this.selectedItemCount++, this.addClassIfMissing(this.filterItems[s], this.showItemClass))); + } + document.getElementById(this.counterSelector) && (document.getElementById(this.counterSelector).textContent = "" + this.selectedItemCount), this.checkButtonCounts(e); + }, + }, + { + key: "checkButtonCounts", + value: function (t) { + (this.filterValues = this.initFilterCount(this.filterValues, t)), this.populateCounters(this.filterValues); + }, + }, + { + key: "checkVisibility", + value: function (t, e) { + if (0 < t.length) { + for (var s = 0; s < t.length; s++) { + if ( + 0 <= + e + .split(" ") + .filter(function (t) { + return 0 < t.length; + }) + .indexOf(t[s]) + ) + return !0; + } + return !1; + } + return !0; + }, + }, + { + key: "addClassIfMissing", + value: function (t, e) { + t.classList.contains(e) || t.classList.add(e); + }, + }, + { + key: "delClassIfPresent", + value: function (t, e) { + t.classList.contains(e) && t.classList.remove(e); + }, + }, + ]), + l + ); + })(); + window.HugoTagsFilter = n; + }, + {}, + ], + }, + {}, + [1] +); From e0fe888eb9a78da11121b4d4f6df499a6143f27b Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 13:27:26 +0500 Subject: [PATCH 15/38] hide contributors map --- content/ls-contributors.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/ls-contributors.md b/content/ls-contributors.md index 46626b9..dbf9c15 100644 --- a/content/ls-contributors.md +++ b/content/ls-contributors.md @@ -5,6 +5,8 @@ draft: false hidden: true --- + + ## Lumbung members - **The Question of Funding** - Adele Jarrar From fca32b9b04be4b261fd202291e299fb95f6deb42 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 14:21:40 +0500 Subject: [PATCH 16/38] hide contributors map --- content/ls-contributors.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/content/ls-contributors.md b/content/ls-contributors.md index dbf9c15..46626b9 100644 --- a/content/ls-contributors.md +++ b/content/ls-contributors.md @@ -5,8 +5,6 @@ draft: false hidden: true --- - - ## Lumbung members - **The Question of Funding** - Adele Jarrar From 2c81341f86757f0424cfe106a169af24b75356a9 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Tue, 18 Oct 2022 10:35:42 +0500 Subject: [PATCH 17/38] fix author color in lumbung callery cards --- themes/lumbung-theme/static/css/main.css | 866 +++-------------------- 1 file changed, 112 insertions(+), 754 deletions(-) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index b0508f9..b2cdaf3 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -53,11 +53,6 @@ /*Main Stuff*/ -html { - scroll-behavior: smooth; -} - - body { font-size: 21px; font-family: Gudea, sans-serif; @@ -78,14 +73,9 @@ body > iframe { box-sizing: border-box; } -a { - color: #000; -} - .container { margin: 2em auto; max-width: 80%; - width: 100%; margin-bottom: 0; } @@ -132,15 +122,15 @@ a { max-width: 400px; } -.post:nth-child(even) { +.card:nth-child(even) { transform: rotate(-1deg); } -.post:nth-child(odd) { +.card:nth-child(odd) { transform: rotate(1deg); } -.post:nth-child(5) { +.card:nth-child(5) { transform: rotate(2deg); } @@ -169,133 +159,37 @@ a { /* base header & menu */ -.header-row { - margin: 1.5rem; - display: flex; - justify-content: space-between; - align-items: center; +#top-menu { + padding: 1.5rem 1rem 0; + display: grid; + grid-template-columns: 300px 1fr auto; + align-items: flex-start; } .home-link { - display: block; - max-width: 700px; - width: 70%; - padding: 0; - margin: auto; + text-decoration: none; } .logo { - display: block; - width: 100%; - height: auto; + width: 283px; + margin-top: 2rem; } -#top-menu .login-link { - background: #009d9b; - padding: 5px 30px; - color: #fff; - font-weight: 900; - position: absolute; - right: 1.5rem; -} - -.menu-row { - margin: 0 auto; - max-width: 80%; - width: 100%; - display: flex; - justify-content: center; - align-items: center; - position: sticky; - top: 15px; - z-index: 99; - max-width: fit-content; -} - -.menu-row .menu .filter-link { - background: #333; - height: 100%; - display: flex; - align-items: center; - padding: 0.5rem 1.5rem; - color: #fff; - cursor: pointer; -} - -.filter-icon { - height: 14px; - width: auto; - display: block; - margin-right: 10px; -} - -.filter-icon path { - fill:#fff; -} - -.menu-button { - width: 30px; - height: 16px; - display: none; - flex-direction: column; - justify-content: space-between; - color: pointer; -} - -.menu-button--line { - width: 100%; - height: 2px; - background: #333; -} - -.menu { - border: 2px solid #333; - padding: 0 1rem; - display: flex; - align-items: center; - background: #fff; - position: relative; -} - -.menu-dot { - width: 10px; - height: 10px; - margin-right: 3rem; -} - -.menu ul { - list-style-type: none; - margin: 0 auto; - padding-left: 0; - display: flex; - justify-content: space-between; - text-transform: lowercase; -} - -.menu ul li { - margin-right: 1.5rem; - padding: 0.5rem 0; -} - -.menu ul li:last-child { - margin-right: 0; -} - -.menu-nav-item { - border-right: 2px solid var(--border-color); - padding: 0.5em; -} - -.menu a { +#top-menu a { text-decoration: none; color: #333; } -.menu a:hover, -.menu a:focus { +#top-menu a:hover, +#top-menu a:focus { color: black; } +#top-menu #login { + font-weight: bold; + margin-top: 8px; +} + #top-menu div { display: flex; } @@ -305,7 +199,7 @@ a { display: none; } -.menu input { +#top-menu input { border: none; border-bottom: 1px solid #333; margin-right: 2rem; @@ -313,8 +207,8 @@ a { margin-left: 5px; } -.menu input:focus, -.menu input:hover { +#top-menu input:focus, +#top-menu input:hover { outline: none; border-bottom: 1px solid #333; } @@ -328,25 +222,27 @@ a { display: none; } -.login-menu { - display: none; +.menu { + margin-top: 8px; } -.menu-row .login { - height: 100%; +.menu ul { + list-style-type: none; + margin: 0 auto; + padding-left: 3rem; display: flex; - align-items: center; - border: 2px solid #333; - padding: 0 1.5rem; - background: #fff; + justify-content: space-between; + text-transform: lowercase; + max-width: 1100px; } -.login a { - text-decoration: none; +.menu-nav-item { + border-right: 2px solid var(--border-color); + padding: 0.5em; } /* styles for "tools" dropdown menu */ -.menu ul.submenu { +#top-menu ul.submenu { flex-direction: column; margin-left: 0; position: absolute; @@ -361,7 +257,6 @@ a { .menu .submenu li { margin: 2px 0; - padding: 0; } .menu .has-submenu { @@ -377,37 +272,49 @@ a { visibility: visible; } -.menu ul.submenu { - margin-left: -0.5em; - margin-top: 8px; - border: 2px solid ; +#top-menu .menu ul.submenu { + margin-left: 11px; + margin-top: 10px; + border: 1px solid ; gap: 0.25em; padding: 0.5em; } -.menu .menu .submenu a { +#top-menu a { + padding: 0 5px; +} + +#top-menu .menu .submenu a { margin: 0; display: flex; } -.menu .drawer .submenu { +#top-menu .drawer .submenu { position: initial; display: none; } -.menu .drawer .submenu.opened { +#top-menu .drawer .submenu.opened { display: flex; } -.menu .drawer .submenu li { +#top-menu .drawer .submenu li { padding: 0; padding-top: 1em; } -.menu .drawer .opened .submenu { +#top-menu .drawer .opened .submenu { visibility: visible; } +.drawer .has-submenu { + padding-left: 1em; + margin-left: 5px; + color: #333; + display: flex; + flex-direction: column; +} + /*Article Summary Cards*/ @@ -498,9 +405,9 @@ footer.post-footer { } -/* shout cards */ +/* network cards */ -.card.shout { +.card.network { border: 2px solid var(--shouts-dark); background-color: var(--shouts-light); max-width: min-content; @@ -512,70 +419,70 @@ footer.post-footer { } -.h-entry.shout header { +.h-entry.network header { display: flex; flex-direction: column; } -.h-entry.shout header h2 { +.h-entry.network header h2 { padding: 0.2em 0.5em 0.5em 0.5em; margin: 0; border: none; } -.h-entry.shout header h2:hover { +.h-entry.network header h2:hover { cursor: pointer; } -.h-entry.shout header h2 a { +.h-entry.network header h2 a { text-decoration: none; color: var(--shouts-dark); } -.h-entry.shout header time { +.h-entry.network header time { text-align: right; padding: 0.6em 0.8em; font-size: 1rem; } -.shout .header-metadata { +.network .header-metadata { align-items: center; } -.shout .header-metadata .dt-published { +.network .header-metadata .dt-published { border-bottom: 2px solid var(--shouts-dark); } -.shout .filler { +.network .filler { min-height: 1rem; } -.shout .author.p-author { +.network .author.p-author { border-color: var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; } -.shout .p-summary { +.network .p-summary { display: flex; } -.shout .p-summary.portrait { +.network .p-summary.portrait { /* flex-direction: row; */ } -.shout .p-summary.landscape { +.network .p-summary.landscape { flex-direction: column; } -.shout .summary-image > img { +.network .summary-image > img { display: inherit; } -.shout .summary-text { +.network .summary-text { font-size: 18px; } -div.shout-source { +div.network-source { padding: 1em; padding-right: 2em; width: fit-content; @@ -588,28 +495,29 @@ div.shout-source { right: 1em; } -.shout-source .triangle { +.network-source::before { + content: ""; position: absolute; - right: 0px; + right: -20px; bottom: 0; - width: auto; - height: calc(100% + 0.5px); - top: -0.5px; - transform: translateX(calc(100% - 0.5px)); - fill: var(--shouts-dark); + width: 0; + height: 0; + border-left: 20px solid var(--shouts-dark); + border-top: 23px solid transparent; + border-bottom: 23px solid transparent; } -.shout-source a { +.network-source a { font-weight: bold; color: white; } -.shout .footer-filler { +.network .footer-filler { border-left: 2px solid var(--shouts-dark); border-top: none; } -.shout footer.post-footer { +.network footer.post-footer { border-top: 2px solid var(--shouts-dark); flex-flow: row; font-size: 0.9rem; @@ -618,17 +526,17 @@ div.shout-source { padding: 1em; } -.shout footer svg { +.network footer svg { fill: var(--shouts-dark) } -.shout .read-more { +.network .read-more { border: none; border-left: 2px solid var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; } -.shout .footer-metadata { +.network .footer-metadata { padding: 0.5em 1.2em 0.5em 1.2em; } @@ -759,9 +667,9 @@ div.pen-source { padding: 0.5em 1.2em 0.5em 1.2em; } -/* social / hashtag cards */ +/* shouts cards */ -.card.social { +.card.shout { border-color: steelblue; border: 2px solid; background-color: aliceblue; @@ -773,24 +681,24 @@ div.pen-source { color: steelblue; } -.card.social h2 a { +.card.shout h2 a { color: var(--social-dark); cursor: pointer; display: block; word-wrap: anywhere; } -.card .card.social h2 a:hover { +.card .card.shout h2 a:hover { border: none; text-decoration: none; } -.card.social .post-footer { +.card.shout .post-footer { background: var(--social-light); color: var(--social-dark); } -.card.social .post-footer a{ +.card.shout .post-footer a { background: var(--social-light); color: var(--social-dark); text-decoration: underline; @@ -798,42 +706,47 @@ div.pen-source { /* gallery cards */ -.card.social.lumbunggallery, .card.social.lumbunggallery .post-footer a { +.card.shout.lumbung-gallery { border-color: var(--gallery-dark); background-color: var(--gallery-light); color: var(--gallery-dark); } -.card.social.lumbunggallery h2 a { +.card.shout.lumbung-gallery h2 a { color: var(--gallery-dark); } -.card.social.lumbunggallery .post-footer { +.card.shout.lumbung-gallery .post-footer { background: var(--gallery-light); color: var(--gallery-dark); border-top: 2px solid; } +.card.shout.lumbung-gallery .post-footer a { + background: var(--gallery-light); + color: var(--gallery-dark); +} + /* kios cards */ -.card.social.lumbungkios { +.card.shout.lumbung-kios { border-color: var(--kios-dark); background-color: var(--kios-light); color: var(--kios-dark); } -.card.social.lumbungkios h2 a { +.card.shout.lumbung-kios h2 a { color: var(--kios-dark); } -.card.social.lumbungkios .post-footer { +.card.shout.lumbung-kios .post-footer { background: var(--kios-light); color: var(--kios-dark); border-top: 2px solid; } -.card.social.lumbungkios .post-footer a { +.card.shout.lumbung-kios .post-footer a { background: none; color: var(--kios-dark); } @@ -1103,8 +1016,6 @@ li.page-item:after { z-index: -100; } - - /* Landingpage */ .welcome-text { text-align: center; @@ -1155,215 +1066,6 @@ li.page-item:after { margin-right: auto; } - -/* FILTER */ - -.filter-item, .card, .video-box { - display: none; -} - -.show-item { - display: block !important; -} - -.filter-container { - display: none; - background: #fff; - padding: 1.5rem; - border: 2px solid #333; - border-top: 0; - position: absolute; - left: 0; - z-index: 99; - width: 100%; - justify-content: space-between; -} - -.filter-information { - width: 15%; -} - -#load-more { - font-size: 0.8rem; - text-decoration: underline; - cursor: pointer; -} - -.filter-buttons-container { - align-items: center; - display: flex; - width: calc(85% - 30px); -} - -.filter-buttons-container-header { - display: flex; - margin-right: 20px; -} - -.filter-link { - height: 100%; - display: flex; - align-items: center; - background: #333; - color: #fff; - padding: calc(0.5rem + 2px) 1rem; - cursor: pointer; -} - -.filter-link:hover + .filter-container { - display: flex; -} - -.filter-container:hover { - display: flex; -} - -.filter-buttons-dropdown { - position: absolute; - top: 41px; - width: calc(100% + 2px); - left: -1px; - background: #fff; - max-height: 35vh; - min-height: 100%; - overflow-y: scroll; - overflow-x: hidden; - border: 1px solid #333; - border-top: 0; - display: none; -} - -.post.tv { - margin: auto; -} - -@media all and (min-width: 980px) { - .filter-buttons:hover .filter-buttons-dropdown { - display: block; - } - - .filter-buttons:hover { - display: block; - } -} - -.filter-buttons { - width: fit-content; - display: flex; - white-space: nowrap; - flex-direction: column; - position: relative; - border: 1px solid #333; - margin-right: 10px; - padding-right: 30px; - width: calc(25% - 7.5px); -} - -.filter-buttons:last-child { - margin-right: 0px; -} - -.filter-buttons > button { - height: 40px; -} - -.filter-by:after { - content:""; - width: 0; - height: 0; - border-style: solid; - border-width: 5px 5px 0 5px; - border-color: #333333 transparent transparent transparent; - position: absolute; - right: 0.5rem; -} - -.filter-buttons button { - display: flex; - align-items: center; - justify-content: space-between; - border: 0; - background: unset; - border-radius: 0; - width: 100%; - padding: 0.6rem; - cursor: pointer; - white-space: nowrap; - text-transform: lowercase; -} - -.filter-buttons-dropdown button { - border-bottom: 1px solid; -} - -.filter-buttons .filter-button { - padding: 0.6rem 0.6rem 0.6rem 1.6rem; -} - -.filter-button svg { - width: 10px; - position: absolute; - left: 0.6rem; -} - -.filter-button svg path { - fill: #3330; - stroke: #333; - stroke-width: 2px; -} - -.filter-button.active svg path { - fill: #333; -} - -.filter-title { - width: calc(100% - 20px); - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - text-align: left; -} - -.filter-buttons-dropdown button:last-child { - border-bottom: 0; -} - -.filter-buttons .filter-button.active { - background: #c2c2ff; -} - -.disable-button { - display: none !important; -} - - .page-nav { - display: flex; - justify-content: center; - margin: 20px auto 50px; - } - - .nextpage { - padding: 15px; - position: relative; - color: #333; - text-decoration: none; - margin: 0px 20px; - font-size: 38px; - } - - .nextpage:after { - content: ""; - height: 50%; - width: 100%; - display: block; - border: 2px solid #333; - border-top: 0; - bottom: 0; - position: absolute; - left: 0; - } - - /* ### Timeline ### */ /* Timeline Tags */ @@ -1692,119 +1394,6 @@ a.timeline-url { } -/* EVENT LIST */ - -.event-list { - border: 2px solid var(--calendar-dark); - background-color: var(--calendar-light); - color: var(--calendar-dark); - margin: 1rem 0 4rem; -} - -.event-list .tape-label span { - background-color: var(--calendar-dark); -} - -.event-list-item { - border-top: 1px solid; - display: flex; - flex-wrap: wrap; -} - -.event-list-item-head { - display: flex; -} - -.event-list-item a { - color: var(--calendar-dark); -} - -.event-list-item .date-start, .event-list-item .title, .event-list-item .time, .event-list-item .duration, .event-list-item .location { - display: flex; - align-items: center; - border-right: 1px solid var(--calendar-dark); - padding: 0.8rem 0; - overflow: hidden; -} - -.event-list-item .date-start { - font-size: 1.2rem; - width: 110px; - padding-left: 0.4rem; - border-right: 0; -} - -.event-list-item .title { - width: calc(45% - 110px); - padding-left: 0.4rem; -} - -.event-list-item .p-name { - margin: 0; - font-size: 1.2rem; - padding: 0; - display: block; - width: 100%; -} - -.event-list-item .p-name a { - color: var(--calendar-dark); - text-decoration: none; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - width: calc(100% - 20px); - display: block; -} - -.event-list-item .time { - width: 20%; -} - -.event-list-item .time .start-scroller { - border-bottom: 0px; -} - -.event-list-item .duration { - width: 12.5%; - font-size: 0.8rem; - padding: 0.8rem 0.4rem; -} - -.event-list-item .duration b { - margin-left: 3px; -} - -.event-list-item .location { - min-width: unset; - width: 15%; - font-size: 0.8rem; - padding: 0.8rem 0.4rem; -} - -.event-list-item .button { - width: 7.5%; -} - -.event-list-item .calendar { - width: 7.5%; - display: flex; - align-items: center; - padding: 0.8rem 0.4rem; - cursor: pointer; -} - -.event-list-item .description { - display: none; - border-top: 1px solid; - font-size: 1.2rem; -} - -input:checked + label + .description { - display: block; - transition: ease .5s; - } - /* Page footer */ #footer { @@ -1857,8 +1446,6 @@ input:checked + label + .description { } .f-main .logo { - width: 280px; - max-height: unset; filter: brightness(0); max-width: 20vw; margin-top: 0; @@ -1964,10 +1551,6 @@ input:checked + label + .description { font-size: 1.8vw; vertical-align: top; } - - .menu-row { - font-size: 1.78vw; - } } @@ -1979,216 +1562,23 @@ input:checked + label + .description { } #top-menu { - width: 100%; + grid-template-columns: 1fr; } - .logo { - max-height: 50px; + .menu, + #login { + display: none; } /* menu styles */ - - .menu-row, #top-menu { - position: fixed !important; - z-index: 97; - } - - .menu-row { - z-index: 98; - width: fit-content; - margin-top: 3vw; - right: 5%; - } - - .menu { - display: none; - position: fixed; - left: 20px; - top: 80px; - width: calc(100vw - 40px); - overflow: scroll; - height: calc(100% - 90px); - padding: 0.5rem 1.5rem; - } - - .menu.active { - display: block; - } - - .menu ul { - margin: 0; - display: block; - } - - .menu-row .login { - display: none; - } - - .menu-button { - display: flex; - position: fixed; - left: 20px; - top: clamp(25px, 7vw, 35px); - } - - .menu ul.submenu { - margin-left: 0; - margin-top: 4px; - position: unset; - border: 0; - padding-left: 20px !important; - display: none; - } - - .menu .submenu li { - margin: 0; - padding: 0.5rem 0; - } - - .menu ul.submenu.active { - display: block; - visibility: visible; - } - - .login-menu { - display: block; - padding: 0.5rem 2rem; - background: #333; - transform: rotate(-3deg); - width: fit-content; - margin: 0.5rem 0 1rem; - } - - .login-menu a { - color: #fff !important; - } - - .menu-button--line{ - transition: all 0.3s ease-in-out; - } - - .menu-button.active { - -webkit-transition: all 0.3s ease-in-out; - -o-transition: all 0.3s ease-in-out; - transition: all 0.3s ease-in-out; - transition-delay: 0s; - -webkit-transition-delay: 0.6s; - -o-transition-delay: 0.6s; - transition-delay: 0.6s; - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - -o-transform: rotate(45deg); - transform: rotate(45deg); - } - - .menu-button.active .menu-button--line:nth-child(1) { - -webkit-transform: translateY(8px); - -ms-transform: translateY(8px); - -o-transform: translateY(8px); - transform: translateY(8px); - -webkit-transition-delay: 0.3s; - -o-transition-delay: 0.3s; - transition-delay: 0.3s; - } - - .menu-button.active .menu-button--line:nth-child(2) { - width: 0px; - } - - .menu-button.active .menu-button--line:nth-child(3) { - -webkit-transform: translateY(-6px) rotate(90deg); - -ms-transform: translateY(-6px) rotate(90deg); - -o-transform: translateY(-6px) rotate(90deg); - transform: translateY(-6px) rotate(90deg); - -webkit-transition-delay: 0.3s; - -o-transition-delay: 0.3s; - transition-delay: 0.3s; - } - - .filter { - position: fixed; - right: 20px; - top: clamp(25px, 7vw, 35px); - } - - .filter-container { - flex-wrap: wrap; - border-top: 2px solid #333; - left: 20px; - width: calc(100vw - 40px); - position: fixed; - margin-top: 30px; - display: none !important; - } - - #filter.active .filter-container { - display: block !important; - } - - .filter-information { - width: 100%; - margin-bottom: 15px; - display: flex; - align-items: center; - justify-content: space-between; - } - - .filter-buttons-container { - display: block; - width: 100%; - } - - .filter-buttons-container.open { - display: block !important; - } - - .filter-buttons-dropdown { - z-index: 99; - } - - .filter-buttons { - margin-right: 0px; - margin-bottom: 10px; - width: 100%; - } - - .container { - padding-top: 60px; - } - - .filter-link { - background: unset; - padding: 0; - } - - .filter-link span { - display: none; - } - - .filter-icon { - height: 20px; - margin-right: 0; - } - - .filter-icon path { - fill: #333; - } - - .filter-buttons-dropdown.active { - display: block; - } - - .filter-by.active:after { - transform: rotate(180deg); - } - #top-menu div.mobile-menu { display: flex; justify-content: space-between; } - #top-menu .login-link { - display: none; + .mobile-menu #login { + display: inline-flex; + margin: 0 0 0 auto; } .hamburger { @@ -2286,38 +1676,6 @@ input:checked + label + .description { .f-main .logo { max-width: unset; } - - /* EVENT LIST */ - - .event-list .event-list-item:nth-child(2n) { - background: #c8efff; - } - - .event-list-item .date-start { - border-bottom: 1px solid; - } - - .event-list-item .title { - width: calc(100% - 110px); - border-bottom: 1px solid; - border-right: 0; - } - - .event-list-item .time { - width: 100%; - border-bottom: 1px solid; - border-right: 0; - padding: 0; - } - - .event-list-item .duration, .event-list-item .location { - width: 42%; - } - - .event-list-item .calendar { - width: 16%; - } - } /* mobile styles */ From 9463b8bacfe17c7e9b96a3dc209f2b04df3d8958 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Mon, 19 Dec 2022 12:40:59 +0500 Subject: [PATCH 18/38] fix reversed coordinates --- data/geojsonContributors.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/geojsonContributors.json b/data/geojsonContributors.json index b171ffd..9f66002 100644 --- a/data/geojsonContributors.json +++ b/data/geojsonContributors.json @@ -30,4 +30,4 @@ } } ] -} \ No newline at end of file +} From 51d7520ec9026e559938fe2ff15c88dee4c91885 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Tue, 2 May 2023 23:05:23 +0500 Subject: [PATCH 19/38] Revert "fix author color in lumbung callery cards" This reverts commit 2c81341f86757f0424cfe106a169af24b75356a9. --- themes/lumbung-theme/static/css/main.css | 866 ++++++++++++++++++++--- 1 file changed, 754 insertions(+), 112 deletions(-) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index b2cdaf3..b0508f9 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -53,6 +53,11 @@ /*Main Stuff*/ +html { + scroll-behavior: smooth; +} + + body { font-size: 21px; font-family: Gudea, sans-serif; @@ -73,9 +78,14 @@ body > iframe { box-sizing: border-box; } +a { + color: #000; +} + .container { margin: 2em auto; max-width: 80%; + width: 100%; margin-bottom: 0; } @@ -122,15 +132,15 @@ body > iframe { max-width: 400px; } -.card:nth-child(even) { +.post:nth-child(even) { transform: rotate(-1deg); } -.card:nth-child(odd) { +.post:nth-child(odd) { transform: rotate(1deg); } -.card:nth-child(5) { +.post:nth-child(5) { transform: rotate(2deg); } @@ -159,37 +169,133 @@ body > iframe { /* base header & menu */ -#top-menu { - padding: 1.5rem 1rem 0; - display: grid; - grid-template-columns: 300px 1fr auto; - align-items: flex-start; +.header-row { + margin: 1.5rem; + display: flex; + justify-content: space-between; + align-items: center; } .home-link { - text-decoration: none; + display: block; + max-width: 700px; + width: 70%; + padding: 0; + margin: auto; } .logo { - width: 283px; - margin-top: 2rem; + display: block; + width: 100%; + height: auto; } -#top-menu a { +#top-menu .login-link { + background: #009d9b; + padding: 5px 30px; + color: #fff; + font-weight: 900; + position: absolute; + right: 1.5rem; +} + +.menu-row { + margin: 0 auto; + max-width: 80%; + width: 100%; + display: flex; + justify-content: center; + align-items: center; + position: sticky; + top: 15px; + z-index: 99; + max-width: fit-content; +} + +.menu-row .menu .filter-link { + background: #333; + height: 100%; + display: flex; + align-items: center; + padding: 0.5rem 1.5rem; + color: #fff; + cursor: pointer; +} + +.filter-icon { + height: 14px; + width: auto; + display: block; + margin-right: 10px; +} + +.filter-icon path { + fill:#fff; +} + +.menu-button { + width: 30px; + height: 16px; + display: none; + flex-direction: column; + justify-content: space-between; + color: pointer; +} + +.menu-button--line { + width: 100%; + height: 2px; + background: #333; +} + +.menu { + border: 2px solid #333; + padding: 0 1rem; + display: flex; + align-items: center; + background: #fff; + position: relative; +} + +.menu-dot { + width: 10px; + height: 10px; + margin-right: 3rem; +} + +.menu ul { + list-style-type: none; + margin: 0 auto; + padding-left: 0; + display: flex; + justify-content: space-between; + text-transform: lowercase; +} + +.menu ul li { + margin-right: 1.5rem; + padding: 0.5rem 0; +} + +.menu ul li:last-child { + margin-right: 0; +} + +.menu-nav-item { + border-right: 2px solid var(--border-color); + padding: 0.5em; +} + +.menu a { text-decoration: none; color: #333; } -#top-menu a:hover, -#top-menu a:focus { +.menu a:hover, +.menu a:focus { color: black; } -#top-menu #login { - font-weight: bold; - margin-top: 8px; -} - #top-menu div { display: flex; } @@ -199,7 +305,7 @@ body > iframe { display: none; } -#top-menu input { +.menu input { border: none; border-bottom: 1px solid #333; margin-right: 2rem; @@ -207,8 +313,8 @@ body > iframe { margin-left: 5px; } -#top-menu input:focus, -#top-menu input:hover { +.menu input:focus, +.menu input:hover { outline: none; border-bottom: 1px solid #333; } @@ -222,27 +328,25 @@ body > iframe { display: none; } -.menu { - margin-top: 8px; +.login-menu { + display: none; } -.menu ul { - list-style-type: none; - margin: 0 auto; - padding-left: 3rem; +.menu-row .login { + height: 100%; display: flex; - justify-content: space-between; - text-transform: lowercase; - max-width: 1100px; + align-items: center; + border: 2px solid #333; + padding: 0 1.5rem; + background: #fff; } -.menu-nav-item { - border-right: 2px solid var(--border-color); - padding: 0.5em; +.login a { + text-decoration: none; } /* styles for "tools" dropdown menu */ -#top-menu ul.submenu { +.menu ul.submenu { flex-direction: column; margin-left: 0; position: absolute; @@ -257,6 +361,7 @@ body > iframe { .menu .submenu li { margin: 2px 0; + padding: 0; } .menu .has-submenu { @@ -272,49 +377,37 @@ body > iframe { visibility: visible; } -#top-menu .menu ul.submenu { - margin-left: 11px; - margin-top: 10px; - border: 1px solid ; +.menu ul.submenu { + margin-left: -0.5em; + margin-top: 8px; + border: 2px solid ; gap: 0.25em; padding: 0.5em; } -#top-menu a { - padding: 0 5px; -} - -#top-menu .menu .submenu a { +.menu .menu .submenu a { margin: 0; display: flex; } -#top-menu .drawer .submenu { +.menu .drawer .submenu { position: initial; display: none; } -#top-menu .drawer .submenu.opened { +.menu .drawer .submenu.opened { display: flex; } -#top-menu .drawer .submenu li { +.menu .drawer .submenu li { padding: 0; padding-top: 1em; } -#top-menu .drawer .opened .submenu { +.menu .drawer .opened .submenu { visibility: visible; } -.drawer .has-submenu { - padding-left: 1em; - margin-left: 5px; - color: #333; - display: flex; - flex-direction: column; -} - /*Article Summary Cards*/ @@ -405,9 +498,9 @@ footer.post-footer { } -/* network cards */ +/* shout cards */ -.card.network { +.card.shout { border: 2px solid var(--shouts-dark); background-color: var(--shouts-light); max-width: min-content; @@ -419,70 +512,70 @@ footer.post-footer { } -.h-entry.network header { +.h-entry.shout header { display: flex; flex-direction: column; } -.h-entry.network header h2 { +.h-entry.shout header h2 { padding: 0.2em 0.5em 0.5em 0.5em; margin: 0; border: none; } -.h-entry.network header h2:hover { +.h-entry.shout header h2:hover { cursor: pointer; } -.h-entry.network header h2 a { +.h-entry.shout header h2 a { text-decoration: none; color: var(--shouts-dark); } -.h-entry.network header time { +.h-entry.shout header time { text-align: right; padding: 0.6em 0.8em; font-size: 1rem; } -.network .header-metadata { +.shout .header-metadata { align-items: center; } -.network .header-metadata .dt-published { +.shout .header-metadata .dt-published { border-bottom: 2px solid var(--shouts-dark); } -.network .filler { +.shout .filler { min-height: 1rem; } -.network .author.p-author { +.shout .author.p-author { border-color: var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; } -.network .p-summary { +.shout .p-summary { display: flex; } -.network .p-summary.portrait { +.shout .p-summary.portrait { /* flex-direction: row; */ } -.network .p-summary.landscape { +.shout .p-summary.landscape { flex-direction: column; } -.network .summary-image > img { +.shout .summary-image > img { display: inherit; } -.network .summary-text { +.shout .summary-text { font-size: 18px; } -div.network-source { +div.shout-source { padding: 1em; padding-right: 2em; width: fit-content; @@ -495,29 +588,28 @@ div.network-source { right: 1em; } -.network-source::before { - content: ""; +.shout-source .triangle { position: absolute; - right: -20px; + right: 0px; bottom: 0; - width: 0; - height: 0; - border-left: 20px solid var(--shouts-dark); - border-top: 23px solid transparent; - border-bottom: 23px solid transparent; + width: auto; + height: calc(100% + 0.5px); + top: -0.5px; + transform: translateX(calc(100% - 0.5px)); + fill: var(--shouts-dark); } -.network-source a { +.shout-source a { font-weight: bold; color: white; } -.network .footer-filler { +.shout .footer-filler { border-left: 2px solid var(--shouts-dark); border-top: none; } -.network footer.post-footer { +.shout footer.post-footer { border-top: 2px solid var(--shouts-dark); flex-flow: row; font-size: 0.9rem; @@ -526,17 +618,17 @@ div.network-source { padding: 1em; } -.network footer svg { +.shout footer svg { fill: var(--shouts-dark) } -.network .read-more { +.shout .read-more { border: none; border-left: 2px solid var(--shouts-dark); padding: 0.5em 1.2em 0.5em 1.2em; } -.network .footer-metadata { +.shout .footer-metadata { padding: 0.5em 1.2em 0.5em 1.2em; } @@ -667,9 +759,9 @@ div.pen-source { padding: 0.5em 1.2em 0.5em 1.2em; } -/* shouts cards */ +/* social / hashtag cards */ -.card.shout { +.card.social { border-color: steelblue; border: 2px solid; background-color: aliceblue; @@ -681,24 +773,24 @@ div.pen-source { color: steelblue; } -.card.shout h2 a { +.card.social h2 a { color: var(--social-dark); cursor: pointer; display: block; word-wrap: anywhere; } -.card .card.shout h2 a:hover { +.card .card.social h2 a:hover { border: none; text-decoration: none; } -.card.shout .post-footer { +.card.social .post-footer { background: var(--social-light); color: var(--social-dark); } -.card.shout .post-footer a { +.card.social .post-footer a{ background: var(--social-light); color: var(--social-dark); text-decoration: underline; @@ -706,47 +798,42 @@ div.pen-source { /* gallery cards */ -.card.shout.lumbung-gallery { +.card.social.lumbunggallery, .card.social.lumbunggallery .post-footer a { border-color: var(--gallery-dark); background-color: var(--gallery-light); color: var(--gallery-dark); } -.card.shout.lumbung-gallery h2 a { +.card.social.lumbunggallery h2 a { color: var(--gallery-dark); } -.card.shout.lumbung-gallery .post-footer { +.card.social.lumbunggallery .post-footer { background: var(--gallery-light); color: var(--gallery-dark); border-top: 2px solid; } -.card.shout.lumbung-gallery .post-footer a { - background: var(--gallery-light); - color: var(--gallery-dark); -} - /* kios cards */ -.card.shout.lumbung-kios { +.card.social.lumbungkios { border-color: var(--kios-dark); background-color: var(--kios-light); color: var(--kios-dark); } -.card.shout.lumbung-kios h2 a { +.card.social.lumbungkios h2 a { color: var(--kios-dark); } -.card.shout.lumbung-kios .post-footer { +.card.social.lumbungkios .post-footer { background: var(--kios-light); color: var(--kios-dark); border-top: 2px solid; } -.card.shout.lumbung-kios .post-footer a { +.card.social.lumbungkios .post-footer a { background: none; color: var(--kios-dark); } @@ -1016,6 +1103,8 @@ li.page-item:after { z-index: -100; } + + /* Landingpage */ .welcome-text { text-align: center; @@ -1066,6 +1155,215 @@ li.page-item:after { margin-right: auto; } + +/* FILTER */ + +.filter-item, .card, .video-box { + display: none; +} + +.show-item { + display: block !important; +} + +.filter-container { + display: none; + background: #fff; + padding: 1.5rem; + border: 2px solid #333; + border-top: 0; + position: absolute; + left: 0; + z-index: 99; + width: 100%; + justify-content: space-between; +} + +.filter-information { + width: 15%; +} + +#load-more { + font-size: 0.8rem; + text-decoration: underline; + cursor: pointer; +} + +.filter-buttons-container { + align-items: center; + display: flex; + width: calc(85% - 30px); +} + +.filter-buttons-container-header { + display: flex; + margin-right: 20px; +} + +.filter-link { + height: 100%; + display: flex; + align-items: center; + background: #333; + color: #fff; + padding: calc(0.5rem + 2px) 1rem; + cursor: pointer; +} + +.filter-link:hover + .filter-container { + display: flex; +} + +.filter-container:hover { + display: flex; +} + +.filter-buttons-dropdown { + position: absolute; + top: 41px; + width: calc(100% + 2px); + left: -1px; + background: #fff; + max-height: 35vh; + min-height: 100%; + overflow-y: scroll; + overflow-x: hidden; + border: 1px solid #333; + border-top: 0; + display: none; +} + +.post.tv { + margin: auto; +} + +@media all and (min-width: 980px) { + .filter-buttons:hover .filter-buttons-dropdown { + display: block; + } + + .filter-buttons:hover { + display: block; + } +} + +.filter-buttons { + width: fit-content; + display: flex; + white-space: nowrap; + flex-direction: column; + position: relative; + border: 1px solid #333; + margin-right: 10px; + padding-right: 30px; + width: calc(25% - 7.5px); +} + +.filter-buttons:last-child { + margin-right: 0px; +} + +.filter-buttons > button { + height: 40px; +} + +.filter-by:after { + content:""; + width: 0; + height: 0; + border-style: solid; + border-width: 5px 5px 0 5px; + border-color: #333333 transparent transparent transparent; + position: absolute; + right: 0.5rem; +} + +.filter-buttons button { + display: flex; + align-items: center; + justify-content: space-between; + border: 0; + background: unset; + border-radius: 0; + width: 100%; + padding: 0.6rem; + cursor: pointer; + white-space: nowrap; + text-transform: lowercase; +} + +.filter-buttons-dropdown button { + border-bottom: 1px solid; +} + +.filter-buttons .filter-button { + padding: 0.6rem 0.6rem 0.6rem 1.6rem; +} + +.filter-button svg { + width: 10px; + position: absolute; + left: 0.6rem; +} + +.filter-button svg path { + fill: #3330; + stroke: #333; + stroke-width: 2px; +} + +.filter-button.active svg path { + fill: #333; +} + +.filter-title { + width: calc(100% - 20px); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + text-align: left; +} + +.filter-buttons-dropdown button:last-child { + border-bottom: 0; +} + +.filter-buttons .filter-button.active { + background: #c2c2ff; +} + +.disable-button { + display: none !important; +} + + .page-nav { + display: flex; + justify-content: center; + margin: 20px auto 50px; + } + + .nextpage { + padding: 15px; + position: relative; + color: #333; + text-decoration: none; + margin: 0px 20px; + font-size: 38px; + } + + .nextpage:after { + content: ""; + height: 50%; + width: 100%; + display: block; + border: 2px solid #333; + border-top: 0; + bottom: 0; + position: absolute; + left: 0; + } + + /* ### Timeline ### */ /* Timeline Tags */ @@ -1394,6 +1692,119 @@ a.timeline-url { } +/* EVENT LIST */ + +.event-list { + border: 2px solid var(--calendar-dark); + background-color: var(--calendar-light); + color: var(--calendar-dark); + margin: 1rem 0 4rem; +} + +.event-list .tape-label span { + background-color: var(--calendar-dark); +} + +.event-list-item { + border-top: 1px solid; + display: flex; + flex-wrap: wrap; +} + +.event-list-item-head { + display: flex; +} + +.event-list-item a { + color: var(--calendar-dark); +} + +.event-list-item .date-start, .event-list-item .title, .event-list-item .time, .event-list-item .duration, .event-list-item .location { + display: flex; + align-items: center; + border-right: 1px solid var(--calendar-dark); + padding: 0.8rem 0; + overflow: hidden; +} + +.event-list-item .date-start { + font-size: 1.2rem; + width: 110px; + padding-left: 0.4rem; + border-right: 0; +} + +.event-list-item .title { + width: calc(45% - 110px); + padding-left: 0.4rem; +} + +.event-list-item .p-name { + margin: 0; + font-size: 1.2rem; + padding: 0; + display: block; + width: 100%; +} + +.event-list-item .p-name a { + color: var(--calendar-dark); + text-decoration: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + width: calc(100% - 20px); + display: block; +} + +.event-list-item .time { + width: 20%; +} + +.event-list-item .time .start-scroller { + border-bottom: 0px; +} + +.event-list-item .duration { + width: 12.5%; + font-size: 0.8rem; + padding: 0.8rem 0.4rem; +} + +.event-list-item .duration b { + margin-left: 3px; +} + +.event-list-item .location { + min-width: unset; + width: 15%; + font-size: 0.8rem; + padding: 0.8rem 0.4rem; +} + +.event-list-item .button { + width: 7.5%; +} + +.event-list-item .calendar { + width: 7.5%; + display: flex; + align-items: center; + padding: 0.8rem 0.4rem; + cursor: pointer; +} + +.event-list-item .description { + display: none; + border-top: 1px solid; + font-size: 1.2rem; +} + +input:checked + label + .description { + display: block; + transition: ease .5s; + } + /* Page footer */ #footer { @@ -1446,6 +1857,8 @@ a.timeline-url { } .f-main .logo { + width: 280px; + max-height: unset; filter: brightness(0); max-width: 20vw; margin-top: 0; @@ -1551,6 +1964,10 @@ a.timeline-url { font-size: 1.8vw; vertical-align: top; } + + .menu-row { + font-size: 1.78vw; + } } @@ -1562,23 +1979,216 @@ a.timeline-url { } #top-menu { - grid-template-columns: 1fr; + width: 100%; } - .menu, - #login { - display: none; + .logo { + max-height: 50px; } /* menu styles */ + + .menu-row, #top-menu { + position: fixed !important; + z-index: 97; + } + + .menu-row { + z-index: 98; + width: fit-content; + margin-top: 3vw; + right: 5%; + } + + .menu { + display: none; + position: fixed; + left: 20px; + top: 80px; + width: calc(100vw - 40px); + overflow: scroll; + height: calc(100% - 90px); + padding: 0.5rem 1.5rem; + } + + .menu.active { + display: block; + } + + .menu ul { + margin: 0; + display: block; + } + + .menu-row .login { + display: none; + } + + .menu-button { + display: flex; + position: fixed; + left: 20px; + top: clamp(25px, 7vw, 35px); + } + + .menu ul.submenu { + margin-left: 0; + margin-top: 4px; + position: unset; + border: 0; + padding-left: 20px !important; + display: none; + } + + .menu .submenu li { + margin: 0; + padding: 0.5rem 0; + } + + .menu ul.submenu.active { + display: block; + visibility: visible; + } + + .login-menu { + display: block; + padding: 0.5rem 2rem; + background: #333; + transform: rotate(-3deg); + width: fit-content; + margin: 0.5rem 0 1rem; + } + + .login-menu a { + color: #fff !important; + } + + .menu-button--line{ + transition: all 0.3s ease-in-out; + } + + .menu-button.active { + -webkit-transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + transition: all 0.3s ease-in-out; + transition-delay: 0s; + -webkit-transition-delay: 0.6s; + -o-transition-delay: 0.6s; + transition-delay: 0.6s; + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + } + + .menu-button.active .menu-button--line:nth-child(1) { + -webkit-transform: translateY(8px); + -ms-transform: translateY(8px); + -o-transform: translateY(8px); + transform: translateY(8px); + -webkit-transition-delay: 0.3s; + -o-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .menu-button.active .menu-button--line:nth-child(2) { + width: 0px; + } + + .menu-button.active .menu-button--line:nth-child(3) { + -webkit-transform: translateY(-6px) rotate(90deg); + -ms-transform: translateY(-6px) rotate(90deg); + -o-transform: translateY(-6px) rotate(90deg); + transform: translateY(-6px) rotate(90deg); + -webkit-transition-delay: 0.3s; + -o-transition-delay: 0.3s; + transition-delay: 0.3s; + } + + .filter { + position: fixed; + right: 20px; + top: clamp(25px, 7vw, 35px); + } + + .filter-container { + flex-wrap: wrap; + border-top: 2px solid #333; + left: 20px; + width: calc(100vw - 40px); + position: fixed; + margin-top: 30px; + display: none !important; + } + + #filter.active .filter-container { + display: block !important; + } + + .filter-information { + width: 100%; + margin-bottom: 15px; + display: flex; + align-items: center; + justify-content: space-between; + } + + .filter-buttons-container { + display: block; + width: 100%; + } + + .filter-buttons-container.open { + display: block !important; + } + + .filter-buttons-dropdown { + z-index: 99; + } + + .filter-buttons { + margin-right: 0px; + margin-bottom: 10px; + width: 100%; + } + + .container { + padding-top: 60px; + } + + .filter-link { + background: unset; + padding: 0; + } + + .filter-link span { + display: none; + } + + .filter-icon { + height: 20px; + margin-right: 0; + } + + .filter-icon path { + fill: #333; + } + + .filter-buttons-dropdown.active { + display: block; + } + + .filter-by.active:after { + transform: rotate(180deg); + } + #top-menu div.mobile-menu { display: flex; justify-content: space-between; } - .mobile-menu #login { - display: inline-flex; - margin: 0 0 0 auto; + #top-menu .login-link { + display: none; } .hamburger { @@ -1676,6 +2286,38 @@ a.timeline-url { .f-main .logo { max-width: unset; } + + /* EVENT LIST */ + + .event-list .event-list-item:nth-child(2n) { + background: #c8efff; + } + + .event-list-item .date-start { + border-bottom: 1px solid; + } + + .event-list-item .title { + width: calc(100% - 110px); + border-bottom: 1px solid; + border-right: 0; + } + + .event-list-item .time { + width: 100%; + border-bottom: 1px solid; + border-right: 0; + padding: 0; + } + + .event-list-item .duration, .event-list-item .location { + width: 42%; + } + + .event-list-item .calendar { + width: 16%; + } + } /* mobile styles */ From 8a479290958170df84f793bc6d49fa5372a00f0e Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 3 May 2023 14:21:12 +0500 Subject: [PATCH 20/38] add geojson list of lumbung contributors --- data/lumbung-publishers-members.json | 318 +++++++++++++++++++++++++++ 1 file changed, 318 insertions(+) create mode 100644 data/lumbung-publishers-members.json diff --git a/data/lumbung-publishers-members.json b/data/lumbung-publishers-members.json new file mode 100644 index 0000000..7fc25f2 --- /dev/null +++ b/data/lumbung-publishers-members.json @@ -0,0 +1,318 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [18.473952560246335, -67.02312138226604] + }, + "properties": { + "groupName": "La Impresora", + "listOfNames": [ + "Amanda Hernández", + "Nicole Delgado Poueymirou" + ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [31.248587159325307, 121.48494201935183] + }, + "properties": { + "groupName": "Bananafish Books", + "listOfNames": [ "Qing / Wei" ], + "website": "https://instagram.com/bananafishbooks" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [43.26413418446196, -2.9342512170102952] + }, + "properties": { + "groupName": "Consonni", + "listOfNames": [ + "Maria Mur Dean", + "Munts Brunet" + ], + "website": "https://www.consonni.org" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [19.452826396857443, -99.1347000127044] + }, + "properties": { + "groupName": "Cooperativa Cráter Invertido", + "listOfNames": [ + "Jazael Olguinzapata", + "Sari Denisse", + "Mario Dominguez" + ], + "website": "https://www.visibleproject.org/blog/project/editorialmovement-mexico-city-mexico/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [41.396244293766436, 2.1649055407407434] + }, + "properties": { + "groupName": "Erick Beltrán" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-33.442317042843925, -70.66692136271297] + }, + "properties": { + "groupName": "HAMBRE", + "listOfNames": [ + "Daniela Sepúlveda Guzmán", + "Camila González Simon" + ], + "website": "https://hambrehambrehambre.com" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [30.04863553908884, 31.23460265148997] + }, + "properties": { + "groupName": "Kayfa-ta", + "listOfNames": [ + "Maha Maamoun", + "Ala Younis" + ], + "website": "www.kayfa-ta.com" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [31.969726971911616, 35.90847989847126] + }, + "properties": { + "groupName": "Kayfa-ta", + "listOfNames": [ + "Maha Maamoun", + "Ala Younis" + ], + "website": "www.kayfa-ta.com" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [56.97988198342907, 24.100226353313147] + }, + "properties": { + "groupName": "kuš!", + "listOfNames": [ + "David Schilter", + "Monika Grūzīte" + ], + "website": "http://www.komikss.lv" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [60.1883622930113, 24.932134774628967] + }, + "properties": { + "groupName": "Kutikuti", + "listOfNames": [ + "Petra Virtanen", + "Johanna Rojola or roju (they /them)" + ], + "website": "https://kutikutisf.wordpress.com/category/news/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-6.20175313758691, 106.84599411307272] + }, + "properties": { + "groupName": "Marjin Kiri", + "listOfNames": [ + "Ronny Agustinus", + "Pradewi Tri Chatami" + ], + "website": "https://marjinkiri.com" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-34.899210176795584, -56.18580127552417] + }, + "properties": { + "groupName": "microutopías", + "listOfNames": [ + "Darío Marroche", + "Magui Testoni" + ], + "website": "https://microutopias.press" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [47.38275909850193, 8.541196230458853] + }, + "properties": { + "groupName": "Nieves", + "listOfNames": ["Benjamin Sommerhalder"], + "website": "https://www.nieves.ch" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [4.7283471458218695, -74.06936870435806] + }, + "properties": { + "groupName": "Relampago", + "listOfNames": ["Andrés and Valeria"], + "website": "https://instagram.com/proyectorelampago" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [51.31700304920649, 9.479151985185684] + }, + "properties": { + "groupName": "Rotopol Press", + "listOfNames": ["Rita Fürstenau"], + "website": "http://www.rotopolpress.de" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [47.38275909850193, 8.541196230458853] + }, + "properties": { + "groupName": "Strapazin", + "listOfNames": [ + "(David Basler) Milva Stutz", + "Lika Nüssli" + ], + "website": "https://strapazin.ch" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [46.062038080618365, 14.506004050784611] + }, + "properties": { + "groupName": "Stripburger", + "listOfNames": [ + "Katerina Mirovic", + "Tanja Skale" + ], + "website": "https://www.stripburger.org/en/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [9.081206604987218, 7.394589665360936] + }, + "properties": { + "groupName": "Jalada Africa", + "listOfNames": ["Richard Ali"], + "website": "https://www.jaladaafrica.org" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [0.18736237622547486, 37.88198388123684] + }, + "properties": { + "groupName": "Jalada Africa", + "listOfNames": ["Wanjeri Gakuru"], + "website": "https://www.jaladaafrica.org" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [8.040603024970357, 80.72724100901736] + }, + "properties": { + "groupName": "The Packet", + "listOfNames": ["Abdul Halik Azeez"], + "website": "https://www.instagram.com/the_packet" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [17.67169725681633, -4.159429300086695] + }, + "properties": { + "groupName": "Les Editions TAKABA", + "listOfNames": ["N’fana DIAKITE"], + "website": "https://www.facebook.com/editions.takaba" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [23.16313833792756, 113.25937734969307] + }, + "properties": { + "groupName": "BOLOHO", + "listOfNames": [ + "Di Liu", + "Jiaxin Li (Xiaotian)", + "Siyan" + ], + "website": "https://instagram.com/readingroom2191" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [1.5643986962732304, 32.32078434190578] + }, + "properties": { + "groupName": "David Kaiza", + "website": "https://cipesa.org/2016/09/david-kaiza-ugandan-writer-and-journalist/" + } + } + ] +} From d50bf0ebbaa8f76800bbd53255522568c09a49fe Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 3 May 2023 14:25:42 +0500 Subject: [PATCH 21/38] move kios map to its own page --- content/kios/_index.html | 5 +++++ content/publishers/_index.html | 2 -- themes/lumbung-theme/layouts/kios/list.html | 16 ++++++++++++++++ .../{publishers_map.html => kios_map.html} | 0 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 content/kios/_index.html create mode 100644 themes/lumbung-theme/layouts/kios/list.html rename themes/lumbung-theme/layouts/shortcodes/{publishers_map.html => kios_map.html} (100%) diff --git a/content/kios/_index.html b/content/kios/_index.html new file mode 100644 index 0000000..49e618f --- /dev/null +++ b/content/kios/_index.html @@ -0,0 +1,5 @@ +--- +draft: false +--- + +{{< kios_map >}} \ No newline at end of file diff --git a/content/publishers/_index.html b/content/publishers/_index.html index 01d6718..b24dea4 100644 --- a/content/publishers/_index.html +++ b/content/publishers/_index.html @@ -2,5 +2,3 @@ draft: false ---

Lumbung of Publishers

- -{{< publishers_map >}} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/kios/list.html b/themes/lumbung-theme/layouts/kios/list.html new file mode 100644 index 0000000..2eef8dd --- /dev/null +++ b/themes/lumbung-theme/layouts/kios/list.html @@ -0,0 +1,16 @@ +{{ define "main" }} +
+ {{.Content}} + +
+
+ {{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }} + {{- partial "publishers_post_card.html" . -}} + {{ end }} +
+ + +
+{{ end }} \ No newline at end of file diff --git a/themes/lumbung-theme/layouts/shortcodes/publishers_map.html b/themes/lumbung-theme/layouts/shortcodes/kios_map.html similarity index 100% rename from themes/lumbung-theme/layouts/shortcodes/publishers_map.html rename to themes/lumbung-theme/layouts/shortcodes/kios_map.html From 91f5a092e5050cb6928986d87bea406ddf1d4874 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 3 May 2023 14:26:09 +0500 Subject: [PATCH 22/38] add title to kios page --- content/kios/_index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/kios/_index.html b/content/kios/_index.html index 49e618f..0e37cfc 100644 --- a/content/kios/_index.html +++ b/content/kios/_index.html @@ -2,4 +2,6 @@ draft: false --- +

Lumbung Kios

+ {{< kios_map >}} \ No newline at end of file From 3dcb7712dba8816863e42861cf5d5915be4a2e8c Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 3 May 2023 14:41:33 +0500 Subject: [PATCH 23/38] add website field to publishers map popup --- themes/lumbung-theme/layouts/shortcodes/map.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/lumbung-theme/layouts/shortcodes/map.html b/themes/lumbung-theme/layouts/shortcodes/map.html index eb32332..b75cdef 100644 --- a/themes/lumbung-theme/layouts/shortcodes/map.html +++ b/themes/lumbung-theme/layouts/shortcodes/map.html @@ -64,6 +64,8 @@ return '' } else if (key === 'audio') { return '' + } else if (key === 'website') { + return '

website: ' + objectOrder[key] + '

' } else { return '

' + objectOrder[key] + '

' } From 798e30ad46fe3c44599b78387239c414b448d18a Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 3 May 2023 15:27:19 +0500 Subject: [PATCH 24/38] add posts list to lumbung publishers page --- content/publishers/_index.html | 2 + .../partials/publishers_post_card.html | 64 ++++++++++++------- .../layouts/publishers/list.html | 13 ++-- themes/lumbung-theme/static/css/main.css | 10 +++ 4 files changed, 59 insertions(+), 30 deletions(-) diff --git a/content/publishers/_index.html b/content/publishers/_index.html index b24dea4..e2fb7b6 100644 --- a/content/publishers/_index.html +++ b/content/publishers/_index.html @@ -2,3 +2,5 @@ draft: false ---

Lumbung of Publishers

+ +{{< map geoJson="data/lumbung-publishers-members.json">}} diff --git a/themes/lumbung-theme/layouts/partials/publishers_post_card.html b/themes/lumbung-theme/layouts/partials/publishers_post_card.html index ae4f6c5..0814aec 100644 --- a/themes/lumbung-theme/layouts/partials/publishers_post_card.html +++ b/themes/lumbung-theme/layouts/partials/publishers_post_card.html @@ -1,26 +1,46 @@ -
-
- {{ $postPermalink := .Permalink}} - -
-

+

+
+ + {{ with (index (.Resources.ByType "video") 0) }} + {{/* TODO this current logic does not suport video & image mixed */}}
-
- {{ .Summary }}... -
+ + {{ else}} + {{ with (index (.Resources.ByType "image") 0) }} + {{ $height := add .Height 0.0}} + {{ $ratio := div $height .Width}} + {{ $thumb := .Fit "540x540 q80 webp"}} +
+
+ {{ .Title }} +
+ {{ else }} +
+ {{ end }} + {{ end }} +
+ {{ .Summary }}
- -
- - - - -
- +
+ + +
+ + {{ if .Truncated }} + + + {{ end }} +
-
+
\ No newline at end of file diff --git a/themes/lumbung-theme/layouts/publishers/list.html b/themes/lumbung-theme/layouts/publishers/list.html index 55ca335..0e8fa25 100644 --- a/themes/lumbung-theme/layouts/publishers/list.html +++ b/themes/lumbung-theme/layouts/publishers/list.html @@ -1,16 +1,13 @@ {{ define "main" }}
{{.Content}} -
-
- {{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }} - {{- partial "publishers_post_card.html" . -}} +
+ {{ range where site.RegularPages "Type" "publishers" }} +
+ {{ partial "partials/publishers_post_card.html" . -}} +
{{ end }}
- -
{{ end }} diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index b0508f9..0ab0ef7 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -1011,6 +1011,16 @@ label:hover { text-align: center; } +/* publishers card */ +.publishers.card { + display: flex; +} + +/* publishers map */ +#map { + margin-bottom: 4rem; +} + /* Paginator */ From f47d869348f306188df82f0d666a429c9cc2a953 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Wed, 3 May 2023 15:30:08 +0500 Subject: [PATCH 25/38] remove duplicate titles --- content/publishers/about-lumbung-publishers.md | 1 - content/publishers/comics-reading.md | 1 - 2 files changed, 2 deletions(-) diff --git a/content/publishers/about-lumbung-publishers.md b/content/publishers/about-lumbung-publishers.md index eeab3b4..b609ef7 100644 --- a/content/publishers/about-lumbung-publishers.md +++ b/content/publishers/about-lumbung-publishers.md @@ -4,7 +4,6 @@ date: 2022-10-18T13:33:21+05:00 draft: false authors: ["lumbung publishers"] categories: ["shouts"] -title: lumbung books tutorial tags: [ "publishers" ] --- diff --git a/content/publishers/comics-reading.md b/content/publishers/comics-reading.md index f375f44..ae11231 100644 --- a/content/publishers/comics-reading.md +++ b/content/publishers/comics-reading.md @@ -4,7 +4,6 @@ date: 2022-10-18T13:31:58+05:00 draft: false authors: ["lumbung publishers"] categories: ["shouts"] -title: lumbung books tutorial tags: [ "publishers" ] --- From f1a87a899fc6e168aa7fd8f7ffd5605636eb6ed7 Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Fri, 5 May 2023 20:36:10 +0500 Subject: [PATCH 26/38] add lumbung gallery members geojson --- data/lumbung-gallery-members.json | 726 ++++++++++++++++++++++++++++++ 1 file changed, 726 insertions(+) create mode 100644 data/lumbung-gallery-members.json diff --git a/data/lumbung-gallery-members.json b/data/lumbung-gallery-members.json new file mode 100644 index 0000000..3728d79 --- /dev/null +++ b/data/lumbung-gallery-members.json @@ -0,0 +1,726 @@ +{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-26.18811188213306, 28.05126784053829] + }, + "properties": { + "groupName": "MADEYOULOOK", + "listOfNames": [ + "Molemo Moiloa", + "Nare Mokgotho" + ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [52.38345761569911, 4.921095562762168] + }, + "properties": { + "groupName": "Sebastián Díaz Morales and Simon Danang Anggoro", + "listOfNames": [ "Sebastián Díaz Morales" ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-6.209103114184621, 106.84559800973969] + }, + "properties": { + "groupName": "Sebastián Díaz Morales and Simon Danang Anggoro", + "listOfNames": [ "Simon Danang Anggoro" ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [52.543149790771785, 13.391732390622503] + }, + "properties": { + "groupName": "Pınar Öğrenci" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-1.311340478163294, 36.87292048273729] + }, + "properties": { + "groupName": "Wajukuu Art Project", + "website": "https://wajukuuarts.wordpress.com/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [47.4974407113006, 19.04074926483718] + }, + "properties": { + "groupName": "OFF Biennale Budapest", + "website": "https://offbiennale.hu/en" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-1.2913790929958984, 36.8210868919118] + }, + "properties": { + "groupName": "The Nest Collective" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [36.614272722947824, 37.341655483513954] + }, + "properties": { + "groupName": "Komîna Fîlm a Rojava" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [52.365442896272214, 4.927170644287114] + }, + "properties": { + "groupName": "The Black Archives", + "website": "https://www.theblackarchives.nl/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [0.3025615657505082, 32.54160046767289] + }, + "properties": { + "groupName": "Wakaliga Uganda" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-6.318681259022263, 106.8152467487047] + }, + "properties": { + "groupName": "Gudskul", + "website": "https://gudskul.art/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-6.318681259022263, 106.8152467487047] + }, + "properties": { + "groupName": "Gudskul", + "website": "https://gudskul.art/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [34.46684826773766, 31.501803673432892] + }, + "properties": { + "groupName": "The Question of Funding", + "video": "https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm", + "iframe": "https://tv.lumbung.space/videos/embed/d5b26273-cb7e-4f5e-9041-5694a504405e?title=0", + "audio": "https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [22.285773210867482, 114.14808699429824] + }, + "properties": { + "groupName": "Asia Art Archive" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [45.80355430512375, 24.142581834526784] + }, + "properties": { + "groupName": "Dan Perjovschi" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [52.49725443336134, 13.451665710773648] + }, + "properties": { + "groupName": "Fehras Publishing Practices" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-11.669492189481062, 27.479276909569442] + }, + "properties": { + "groupName": "Centre D'Art Waza" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [51.311336885707874, 9.483263587967974] + }, + "properties": { + "groupName": "Jimmie Durham & A Stick in the Forest by the Side of the Road", + "listOfNames": [ + "Elisa Strinna", + "Iain Chambers", + "Joen Vedel", + "Jone Kvie", + "Maria Thereza Alves", + "Wilma Lukatsch", + "Bev Koski" + ] + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [23.140811669557994, -82.35571615950754] + }, + "properties": { + "groupName": "Instituto de Artivismo Hannah Arendt", + "website": "https://instar.org/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [40.70638743938322, -74.03191681767166] + }, + "properties": { + "groupName": "Cem A.", + "website": "https://www.cem-a.com" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-26.021853817682118, 28.187136183103206] + }, + "properties": { + "groupName": "Chimurenga" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [21.02738137153254, 105.83318618918943] + }, + "properties": { + "groupName": "Nhà Sàn Collective (NSC)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [30.596661772736404, 104.06038244023074] + }, + "properties": { + "groupName": "Cao Minghao & Chen Jianjun" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [51.51108741919797, -0.12635939699148332] + }, + "properties": { + "groupName": "Sourabh Phadke" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [51.51108741919797, -0.12635939699148332] + }, + "properties": { + "groupName": "Sourabh Phadke" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [25.045507983044228, 121.55187310159481] + }, + "properties": { + "groupName": "Chang En Man" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-35.00052677593316, -64.793726034763721] + }, + "properties": { + "groupName": "Serigrafistas queer" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [5.548794593377144, 95.32801180954161] + }, + "properties": { + "groupName": "Putra Hidayatullah" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [39.69832524563301, 3.0432826285443357] + }, + "properties": { + "groupName": "INLAND", + "website": "https://inland.org/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [13.431662547983477, -6.250754596309028] + }, + "properties": { + "groupName": "Fondation Festival sur le Niger", + "website": "www.festivalsegou.org" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-23.556237159033135, -46.61458343459141] + }, + "properties": { + "groupName": "Graziela Kunsch" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [51.930411030394396, 4.479831292633461] + }, + "properties": { + "groupName": "ook_Reinaart Vanhoe" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [36.802404978640865, 10.169482425564317] + }, + "properties": { + "groupName": "El Warcha" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [55.77537912930211, 37.61060021677117] + }, + "properties": { + "groupName": "Victoria Lomasko" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [28.22678726798165, 1.8919786435451587] + }, + "properties": { + "groupName": "Archives des luttes des femmes en Algérie" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [33.32616738818097, 44.35310240776209] + }, + "properties": { + "groupName": "Sada [regroup]" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [33.32616738818097, 44.35310240776209] + }, + "properties": { + "groupName": "Sada [regroup]" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [39.957131328350094, -75.17983927158943] + }, + "properties": { + "groupName": "Black Quantum Futurism" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [31.903997468677233, 35.20407938450352] + }, + "properties": { + "groupName": "Subversive Film" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [14.172656191989363, 121.23539284529193] + }, + "properties": { + "groupName": "Kiri Dalena" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [35.298166892078385, 139.58008052241715] + }, + "properties": { + "groupName": "Cinema Caravan and Takashi Kuribayashi" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-37.271646816944155, -63.91481978132442] + }, + "properties": { + "groupName": "La Intermundial Holobiente", + "website": "https://holobiente.org/about/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [18.59984541903225, -72.3064366079957] + }, + "properties": { + "groupName": "Atis Rezistans" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [41.298989074031375, 69.2560081089711] + }, + "properties": { + "groupName": "Saodat Ismailova" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [28.728014858593568, 77.10141217533906] + }, + "properties": { + "groupName": "Party Office B2B Fadescha" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [52.523934403771726, 13.386239006356751] + }, + "properties": { + "groupName": "ZK/U – Center for Art and Urbanistics" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [52.523934403771726, 13.386239006356751] + }, + "properties": { + "groupName": "Nino Bulling" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [33.26264298419205, 35.23875689474873] + }, + "properties": { + "groupName": "yasmine eid sabbagh" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [10.663776068500031, -61.52186947690228] + }, + "properties": { + "groupName": "Alice Yard", + "website": "http://aliceyard.blogspot.com/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [31.6340362904925, -7.989797589960902] + }, + "properties": { + "groupName": "LE 18" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-33.837356065631454, 151.20642737231316] + }, + "properties": { + "groupName": "Safdar Ahmed" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-7.835659219552806, 110.33826588266909] + }, + "properties": { + "groupName": "Taring Padi" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [51.504249420096194, -0.14833205332746574] + }, + "properties": { + "groupName": "Hamja Ahsan" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [21.02706091062608, 105.83249954367894] + }, + "properties": { + "groupName": "Nguyen Trinh Thi" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [4.619179535235933, -74.07431121925988] + }, + "properties": { + "groupName": "Más Arte Más Acción (MAMA)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-36.84946405341891, 174.76237712681743] + }, + "properties": { + "groupName": "FAFSWAG" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-6.720709701265572, 108.25427555011319] + }, + "properties": { + "groupName": "Jatiwangi art Factory (JaF)" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [23.74689226511707, 90.3858719270149] + }, + "properties": { + "groupName": "Britto Arts Trust" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [55.67181297847226, 12.551056511093718] + }, + "properties": { + "groupName": "Trampoline House", + "website": "https://www.trampolinehouse.dk/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [19.08736847618492, 72.87087082003174] + }, + "properties": { + "groupName": "Amol K Patil" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [33.89690601954764, 35.49964657559596] + }, + "properties": { + "groupName": "Marwa Arsanios" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [41.38635744222116, 2.1774396189445953] + }, + "properties": { + "groupName": "Erick Beltrán" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-6.214020968815874, 106.85902768797646] + }, + "properties": { + "groupName": "Agus Nur Amal PMTOH" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [52.51892080935371, 13.41370482677673] + }, + "properties": { + "groupName": "*foundationClass* Collective" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [50.85790334202201, 0.5734484820058058] + }, + "properties": { + "groupName": "Project Art Works", + "website": "https://projectartworks.org/" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [36.097240, 127.512700] + }, + "properties": { + "groupName": "ikkibawiKrrr" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [-33.92877363576041, 18.47199050575708] + }, + "properties": { + "groupName": "Abdul Dube" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [23.17726085396477, 113.27980956280086] + }, + "properties": { + "groupName": "BOLOHO" + } + }, + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [13.74139295651044, 99.91390756934803] + }, + "properties": { + "groupName": "Baan Noorg Collaborative Arts and Culture" + } + } + ] +} From 131d17f89cd1acee9d5c96a8e658d08be7f4dccc Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Fri, 5 May 2023 22:41:34 +0500 Subject: [PATCH 27/38] fix map floating above menu --- themes/lumbung-theme/static/css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/lumbung-theme/static/css/main.css b/themes/lumbung-theme/static/css/main.css index 0ab0ef7..a8776c1 100644 --- a/themes/lumbung-theme/static/css/main.css +++ b/themes/lumbung-theme/static/css/main.css @@ -1019,6 +1019,7 @@ label:hover { /* publishers map */ #map { margin-bottom: 4rem; + z-index: -1; } From 5347b9ae206b8bb91f86c3d1ed21439a74f0a60d Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Fri, 5 May 2023 22:41:42 +0500 Subject: [PATCH 28/38] add publishers page to menu --- themes/lumbung-theme/layouts/partials/header.html | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/lumbung-theme/layouts/partials/header.html b/themes/lumbung-theme/layouts/partials/header.html index ba3b1a0..b6b2fa5 100644 --- a/themes/lumbung-theme/layouts/partials/header.html +++ b/themes/lumbung-theme/layouts/partials/header.html @@ -22,6 +22,7 @@
  • social
  • pen
  • shouts
  • +
  • publishers
  • ekonomi