-
{{ page.title }}
+
+
+
+ {{ content }}
-
-
- {{content}}
-
-
- {% if page.comments == true %}
-
-
-
- {% endif %}
-
-
\ No newline at end of file
+
diff --git a/_layouts/post.html b/_layouts/post.html
index 2586ce20..7afc1785 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,130 +1,101 @@
---
layout: default
-archive: false
-post_class: post-template
---
+{%- assign icons = '/assets/images/icons.svg' | relative_url -%}
+{%- assign is_community = false -%}
+{%- if page.categories contains "community" -%}{%- assign is_community = true -%}{%- endif -%}
+{%- assign words = content | strip_html | number_of_words -%}
+{%- assign minutes = words | divided_by: 200 | at_least: 1 -%}
+{%- if page.image -%}
+ {%- if page.image contains "://" -%}{%- assign cover = page.image -%}{%- else -%}{%- assign cover = page.image | relative_url -%}{%- endif -%}
+{%- endif -%}
-
-
-
-
-
-
- {% include share.html %}
-
-
-
-
-
- {% for author in page.authors %}
- {% if forloop.first %}
- {% assign primary_author = site.authors | where: 'username', author | first %}
-
- {% endif %}
- {% endfor %}
-
-
- {% if page.authors.size > 1 %}
-
-
-
- Co-Author{% if page.authors.size > 2 %}s{% endif %}
-
-
+
+
-
- {% for author in page.authors %}
- {% if forloop.first %}
- {% else %}
- {% assign co-author = site.authors | where: 'username', author | first %}
-
+ {%- if cover %}
+
+
+
+ {%- endif %}
- {% endif %}
- {% endfor %}
-
-
+
+ {{ content }}
+
- {% endif %}
-
+
-
-
-
-
-
-
-
-
- {{content}}
-
-
-
-
-
- {{ page.date | date_to_string }}
- {% if page.last_modified_at %}
- (Updated: {{ page.last_modified_at | date: "%b %-d, %Y" }} )
- {% endif %}
-
-
-
-
-
-
+ {% include share.html %}
-
-
- {% if page.previous.url %}
-
« {{page.previous.title}}
- {% endif %}
- {% if page.next.url %}
-
{{page.next.title}} »
- {% endif %}
-
-
-
+ {%- for username in page.authors %}
+ {%- assign author = site.authors | where: "username", username | first %}
+ {%- if author %}
+
+
+
+
+ {%- endif %}
+ {%- endfor %}
- {% include giscus.html %}
+ {%- if page.previous.url or page.next.url %}
+
+ {%- if page.previous.url %}
+ Previous post {{ page.previous.title }}
+ {%- endif %}
+ {%- if page.next.url %}
+ Next post {{ page.next.title }}
+ {%- endif %}
+
+ {%- endif %}
-
-
-
-
-
-
+ {% include giscus.html %}
+
+
diff --git a/about.md b/about.md
index 29417c95..dc2880cb 100644
--- a/about.md
+++ b/about.md
@@ -9,8 +9,8 @@ BangPypers, the Bangalore Python Usergroup is one of the largest and oldest Pyth
-The group maintains a mailing list to discuss about various python-related topics and organizes monthly meetups regularly. Meetups usually happen on the third Saturday of every month. Look at our Meetup.com page for upcoming meetups.
+The group maintains a mailing list to discuss about various python-related topics and organizes monthly meetups regularly. Meetups usually happen on the third Saturday of every month. Look at our Meetup.com page for upcoming meetups.
-Join our mailing list | Visit our meetup page | Join us on Discord.
+Join our mailing list | Visit our meetup page | Join us on Discord.
diff --git a/archives.html b/archives.html
index 0651c45d..d5682d09 100644
--- a/archives.html
+++ b/archives.html
@@ -1,40 +1,7 @@
---
layout: page
-title: Archives
-description: List of all posts by "BangPypers – The Bangalore Python User Group".
+title: All posts
+lede: Every post on this site, including meetup write-ups and community articles.
+description: Every post published by BangPypers – The Bangalore Python User Group.
---
-
-
-
-
-
-
-
- {% for post in site.posts %}
- {% assign currentDate = post.date | date: "%Y" %}
- {% if currentDate != myDate %}
- {% unless forloop.first %}{% endunless %}
-
{{ currentDate }}
-
{% endif %}
- {% endfor %}
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+{% include year-list.html posts=site.posts %}
diff --git a/assets/css/main.scss b/assets/css/main.scss
index 4109bc6c..debd09a1 100644
--- a/assets/css/main.scss
+++ b/assets/css/main.scss
@@ -1,117 +1,1685 @@
---
-# Add a comment to make this file sass-y.
-# Change this file for any custom CSS.
+# Site stylesheet. Jekyll compiles this file with Sass.
---
+@use "syntax";
-/* We need to add display:inline in order to align the '>>' of the 'read more' link */
-.post-excerpt p {
- display:inline;
+/* Tokens
+ Navy and yellow are the BangPypers logo colours (github.com/bangpypers/assets).
+ --blue is the link colour: a lighter navy that stays distinct from body text.
+ Text sizes follow the classic typographic scale: 14, 16, 18, 21, 24, 36, 48, 72. */
+:root {
+ color-scheme: light;
+
+ --navy: #002750;
+ --ink: #002750;
+ --ink-soft: #45576d;
+ --paper: #ffffff;
+ --mist: #eef3f8;
+ --line: #d4dde8;
+ --blue: #0a58a8;
+ --blue-strong: #00407f;
+ --block: #002750;
+ --yellow: #ffca00;
+ --yellow-strong: #e6b600;
+ --on-yellow: #002750;
+ --code-bg: #f4f7fa;
+
+ --font-display: "Anek Latin", "Segoe UI", system-ui, sans-serif;
+ --font-text: "Source Serif 4", "Iowan Old Style", Georgia, serif;
+ --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
+
+ --step--1: 0.875rem;
+ --step-0: 1rem;
+ --step-1: 1.125rem;
+ --step-2: 1.3125rem;
+ --step-3: 1.5rem;
+ --step-4: 2.25rem;
+ --step-5: 3rem;
+ --step-6: 4.5rem;
+
+ --wrap: 74rem;
+ --wrap-text: 42rem;
+ --wrap-media: 56rem;
+ --gutter: clamp(1rem, 4vw, 2rem);
+ --radius: 6px;
+ --header-height: 4rem;
+}
+
+/* Dark theme. It follows the system setting unless the reader picked a theme
+ with the header button (data-theme on , set by assets/js/theme.js).
+ Print always uses the light theme. */
+@mixin dark-theme {
+ color-scheme: dark;
+
+ --ink: #e8eef6;
+ --ink-soft: #a8b8cb;
+ --paper: #071a2e;
+ --mist: #0f2740;
+ --line: #223f5e;
+ --blue: #8cc0f5;
+ --blue-strong: #bcdaf8;
+ --block: #3d6fa6;
+
+ .brand-mark {
+ background-image: url("../images/brand/mark-white.png");
+ }
+
+ .theme-toggle .icon-moon {
+ display: none;
+ }
+
+ .theme-toggle .icon-sun {
+ display: block;
+ }
+}
+
+@media screen and (prefers-color-scheme: dark) {
+ :root:not([data-theme="light"]) {
+ @include dark-theme;
+ }
+}
+
+@media screen {
+ :root[data-theme="dark"] {
+ @include dark-theme;
+ }
+}
+
+/* Base */
+*,
+*::before,
+*::after {
+ box-sizing: border-box;
+}
+
+html {
+ -webkit-text-size-adjust: 100%;
+ text-size-adjust: 100%;
+ scroll-padding-top: calc(var(--header-height) + 1rem);
+}
+
+body {
+ margin: 0;
+ background: var(--paper);
+ color: var(--ink);
+ font-family: var(--font-display);
+ font-size: var(--step-0);
+ line-height: 1.5;
+ -webkit-font-smoothing: antialiased;
+}
+
+main {
+ display: block;
+ min-height: 60vh;
+}
+
+main:focus {
+ outline: none;
+}
+
+img,
+svg,
+video,
+iframe {
+ max-width: 100%;
+}
+
+img {
+ height: auto;
+}
+
+h1,
+h2,
+h3,
+h4 {
+ margin: 0;
+ font-family: var(--font-display);
+ font-weight: 700;
+ line-height: 1.15;
+ text-wrap: balance;
+}
+
+p {
+ margin: 0;
+}
+
+a {
+ color: var(--blue);
+ text-decoration-thickness: 1px;
+ text-underline-offset: 0.18em;
+}
+
+a:hover {
+ color: var(--blue-strong);
+ text-decoration-thickness: 2px;
+}
+
+:focus-visible {
+ outline: 3px solid var(--blue);
+ outline-offset: 3px;
+ border-radius: 2px;
+}
+
+::selection {
+ background: var(--yellow);
+ color: var(--on-yellow);
+}
+
+svg {
+ width: 1.25rem;
+ height: 1.25rem;
+ fill: currentColor;
+ flex: none;
+}
+
+.visually-hidden {
+ position: absolute !important;
+ width: 1px;
+ height: 1px;
+ padding: 0;
+ margin: -1px;
+ overflow: hidden;
+ clip: rect(0 0 0 0);
+ white-space: nowrap;
+ border: 0;
+}
+
+.skip-link {
+ position: absolute;
+ top: 0.5rem;
+ left: 0.5rem;
+ z-index: 100;
+ padding: 0.6rem 1rem;
+ background: var(--yellow);
+ color: var(--on-yellow);
+ font-weight: 600;
+ border-radius: var(--radius);
+ transform: translateY(-200%);
+}
+
+.skip-link:focus {
+ transform: none;
+}
+
+.wrap,
+.wrap-text,
+.wrap-media {
+ width: 100%;
+ margin-inline: auto;
+ padding-inline: var(--gutter);
+}
+
+.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
+.wrap-text { max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }
+.wrap-media { max-width: calc(var(--wrap-media) + 2 * var(--gutter)); }
+
+/* Buttons and links */
+.button {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.5rem;
+ min-height: 2.75rem;
+ padding: 0.55rem 1.15rem;
+ border: 2px solid var(--ink);
+ border-radius: var(--radius);
+ color: var(--ink);
+ font-weight: 600;
+ font-size: var(--step-0);
+ text-decoration: none;
+}
+
+.button:hover {
+ color: var(--ink);
+ background: var(--mist);
+}
+
+.button-primary {
+ background: var(--yellow);
+ border-color: var(--yellow);
+ color: var(--on-yellow);
+}
+
+.button-primary:hover {
+ background: var(--yellow-strong);
+ border-color: var(--yellow-strong);
+ color: var(--on-yellow);
+}
+
+.icon-button {
+ display: inline-grid;
+ place-items: center;
+ width: 2.5rem;
+ height: 2.5rem;
+ padding: 0;
+ border: 0;
+ border-radius: var(--radius);
+ background: none;
+ color: var(--ink-soft);
+ cursor: pointer;
+}
+
+.icon-button:hover {
+ color: var(--ink);
+ background: var(--mist);
+}
+
+.text-link {
+ font-weight: 600;
+}
+
+/* Header */
+.site-header {
+ position: sticky;
+ top: 0;
+ z-index: 20;
+ background: var(--paper);
+ border-bottom: 1px solid var(--line);
+}
+
+.site-header-inner {
+ display: flex;
+ align-items: center;
+ gap: 1.25rem;
+ min-height: var(--header-height);
+}
+
+.brand {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.55rem;
+ color: var(--ink);
+ font-size: var(--step-2);
+ font-weight: 800;
+ font-stretch: 112%;
+ letter-spacing: -0.01em;
+ text-decoration: none;
+}
+
+.brand:hover {
+ color: var(--ink);
+}
+
+.brand-mark {
+ flex: none;
+ width: 2.25rem;
+ height: 2.25rem;
+ background: url("../images/brand/mark.png") center / contain no-repeat;
}
-// Import partials from `sass_dir` (defaults to `_sass`)
-@import
- "syntax"
-;
+.site-nav {
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ flex: 1;
+}
-/* Exclusive Tabs for Home Page */
-.exclusive-tabs-header {
- display: flex !important;
- flex-direction: row !important;
- border-bottom: 1px solid rgba(0, 0, 0, .125) !important;
- margin-bottom: 27px;
+.site-nav ul {
+ display: flex;
+ align-items: center;
+ margin: 0;
padding: 0;
+ list-style: none;
+}
+
+.site-nav .nav-links {
+ gap: 0.25rem;
+ margin-inline-start: auto;
+}
+
+.nav-links a {
+ display: block;
+ padding: 0.5rem 0.65rem;
+ color: var(--ink);
+ font-weight: 500;
+ text-decoration: none;
+ border-radius: var(--radius);
+}
+
+.nav-links a:hover {
+ background: var(--mist);
+}
+
+.nav-links a[aria-current="page"] {
+ box-shadow: inset 0 -3px 0 var(--yellow);
+ border-radius: 0;
}
-.exclusive-tab-link {
- cursor: pointer !important;
- opacity: 0.3 !important;
- transition: all 0.3s ease;
- margin-right: 40px !important;
- padding-bottom: 20px !important;
- display: inline-block !important;
- border-bottom: 1px solid transparent !important;
- margin-bottom: -1px !important;
- font-weight: 700 !important;
- font-size: 1.4rem !important;
- color: #292b2c !important;
-}
-.exclusive-tab-link.is-active {
- opacity: 1 !important;
- border-bottom: 1px solid rgba(0,0,0,0.44) !important;
-}
-.exclusive-tab-link:hover {
- opacity: 0.7 !important;
- text-decoration: none !important;
-}
-.exclusive-pane:not(.is-visible) {
- display: none !important;
-}
-.exclusive-pane.is-visible {
- display: block !important;
-}
-.exclusive-content-area {
- margin-top: 30px;
-}
-.pagination a {
+
+.nav-social {
+ gap: 0;
+}
+
+.nav-social .icon-button {
+ width: 2.25rem;
+ height: 2.25rem;
+}
+
+.nav-social svg {
+ width: 1.1rem;
+ height: 1.1rem;
+}
+
+.search-open {
+ display: none;
+ align-items: center;
+ gap: 0.5rem;
+ min-height: 2.5rem;
+ padding: 0.4rem 0.5rem 0.4rem 0.75rem;
+ border: 1px solid var(--line);
+ border-radius: var(--radius);
+ background: var(--paper);
+ color: var(--ink-soft);
+ font: inherit;
cursor: pointer;
}
-.navbar-nav .social-link {
- padding-right: .55rem !important;
- padding-left: .55rem !important;
+.has-search .search-open {
+ display: inline-flex;
+}
+
+.search-open:hover {
+ border-color: var(--ink-soft);
+ color: var(--ink);
+}
+
+.search-open svg {
+ width: 1rem;
+ height: 1rem;
+}
+
+kbd {
+ padding: 0.05rem 0.4rem;
+ border: 1px solid var(--line);
+ border-radius: 4px;
+ font-family: var(--font-mono);
+ font-size: var(--step--1);
+}
+
+.nav-toggle {
+ display: none;
+ margin-inline-start: auto;
+}
+
+/* Shown once theme.js has run, since switching needs JavaScript. */
+.theme-toggle {
+ margin-inline-start: -0.5rem;
+}
+
+html:not(.has-theme-toggle) .theme-toggle,
+.theme-toggle .icon-sun {
+ display: none;
+}
+
+.theme-toggle svg {
+ width: 1.1rem;
+ height: 1.1rem;
+}
+
+@media (max-width: 68rem) {
+ .nav-social {
+ display: none !important;
+ }
+}
+
+@media (max-width: 52rem) {
+ .site-header-inner {
+ gap: 0.25rem;
+ }
+
+ .nav-toggle {
+ display: inline-grid;
+ }
+
+ .theme-toggle {
+ margin-inline-start: 0;
+ }
+
+ .site-nav {
+ position: absolute;
+ inset: 100% 0 auto;
+ flex-direction: column;
+ align-items: stretch;
+ gap: 1rem;
+ padding: 1rem var(--gutter) 1.5rem;
+ background: var(--paper);
+ border-bottom: 1px solid var(--line);
+ box-shadow: 0 12px 24px -16px rgb(0 39 80 / 0.35);
+ }
+
+ .site-nav ul {
+ flex-direction: column;
+ align-items: stretch;
+ }
+
+ .site-nav .nav-links {
+ margin-inline-start: 0;
+ }
+
+ .nav-links a {
+ padding: 0.75rem 0.5rem;
+ font-size: var(--step-1);
+ }
+
+ .nav-links a[aria-current="page"] {
+ box-shadow: inset 3px 0 0 var(--yellow);
+ padding-inline-start: 0.85rem;
+ }
+
+ .nav-social {
+ display: flex !important;
+ flex-direction: row !important;
+ flex-wrap: wrap;
+ }
+
+ .search-open kbd {
+ display: none;
+ }
+
+ /* Without JavaScript the menu stays open, so it is always reachable. */
+ @media (scripting: enabled) {
+ .site-nav:not([data-open]) {
+ display: none;
+ }
+ }
+}
+
+/* Search dialog */
+.search-dialog {
+ width: min(40rem, calc(100% - 2rem));
+ max-height: min(36rem, calc(100dvh - 4rem));
+ margin: 4rem auto auto;
+ padding: 0;
+ border: 1px solid var(--line);
+ border-radius: 10px;
+ background: var(--paper);
+ color: var(--ink);
+ box-shadow: 0 24px 48px -12px rgb(0 39 80 / 0.4);
+}
+
+.search-dialog::backdrop {
+ background: rgb(0 20 40 / 0.6);
+}
+
+.search-form {
+ position: sticky;
+ top: 0;
+ z-index: 1;
+ display: flex;
+ align-items: center;
+ gap: 0.75rem;
+ padding: 0.5rem 0.5rem 0.5rem 1rem;
+ border-bottom: 1px solid var(--line);
+ background: var(--paper);
+}
+
+.search-form > svg {
+ color: var(--ink-soft);
+}
+
+.search-form input {
+ flex: 1;
+ min-width: 0;
+ padding: 0.6rem 0;
+ border: 0;
+ background: none;
+ color: var(--ink);
+ font: inherit;
+ font-size: var(--step-1);
+}
+
+.search-form input:focus {
+ outline: none;
+}
+
+/* The dialog has its own close button; hide the browser's clear button. */
+.search-form input::-webkit-search-cancel-button {
+ -webkit-appearance: none;
+ appearance: none;
+}
+
+.search-status {
+ padding: 0.75rem 1rem 0;
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+}
+
+.search-status:empty {
+ display: none;
+}
+
+.search-results {
+ margin: 0;
+ padding: 0.5rem;
+ list-style: none;
+}
+
+.search-results a {
+ display: grid;
+ gap: 0.15rem;
+ padding: 0.75rem;
+ border-radius: var(--radius);
+ color: var(--ink);
+ text-decoration: none;
+}
+
+.search-results a:hover,
+.search-results a:focus-visible {
+ background: var(--mist);
+}
+
+.search-results strong {
+ font-size: var(--step-1);
+}
+
+.search-results span {
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+}
+
+.search-results p {
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+ font-size: var(--step--1);
+ line-height: 1.5;
+}
+
+/* Homepage hero
+ The photo sits on two offset blocks in navy and yellow, after the
+ interlocking halves of the BangPypers logo. */
+.hero {
+ display: grid;
+ grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
+ align-items: center;
+ gap: clamp(2.5rem, 6vw, 5rem);
+ padding-block: clamp(2.5rem, 7vw, 5.5rem);
+}
+
+.hero h1 {
+ font-size: clamp(var(--step-4), 6.2vw, var(--step-6));
+ font-weight: 800;
+ font-stretch: 118%;
+ line-height: 0.98;
+ letter-spacing: -0.02em;
+}
+
+.hero-lede {
+ max-width: 34rem;
+ margin-top: 1.5rem;
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+ font-size: var(--step-2);
+ line-height: 1.55;
+}
+
+.hero-actions {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.75rem;
+ margin-top: 2rem;
+}
+
+.hero-note {
+ margin-top: 1.25rem;
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+}
+
+.hero-figure {
+ margin: 0.9rem;
+}
+
+.hero-photo {
+ position: relative;
+ isolation: isolate;
+}
+
+.hero-photo::before,
+.hero-photo::after {
+ content: "";
+ position: absolute;
+ z-index: -1;
+ border-radius: var(--radius);
+}
+
+.hero-photo::before {
+ inset: -0.9rem 45% 45% -0.9rem;
+ background: var(--block);
}
-@media (max-width: 991.98px) {
- .mediumnavigation .navbar-collapse {
- max-height: calc(100vh - 60px);
- overflow-y: auto;
+
+.hero-photo::after {
+ inset: 45% -0.9rem -0.9rem 45%;
+ background: var(--yellow);
+}
+
+.hero-photo img {
+ display: block;
+ width: 100%;
+ aspect-ratio: 4 / 3;
+ object-fit: cover;
+ border-radius: var(--radius);
+ background: var(--mist);
+}
+
+.hero-figure figcaption {
+ margin-top: 1.75rem;
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+}
+
+@media (max-width: 52rem) {
+ .hero {
+ grid-template-columns: 1fr;
}
}
-.community-intro {
- padding: 2rem;
- margin: 1rem 0 2.5rem;
- background: #f0f8f4;
- border-left: 4px solid #008553;
- border-radius: .25rem;
- color: #345248;
+/* Sections */
+.section {
+ padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
-.community-intro h2 {
- color: #213c30;
- font-size: 2rem;
- font-weight: 700;
+
+.band {
+ background: var(--mist);
}
-.community-contribute {
- background: #007a4c;
- color: #fff;
- white-space: normal;
+
+.section-head {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: baseline;
+ justify-content: space-between;
+ gap: 0.5rem 1.5rem;
+ margin-bottom: 2rem;
+ padding-bottom: 0.9rem;
+ border-bottom: 2px solid var(--ink);
}
-.community-contribute:hover,
-.community-contribute:focus {
- background: #005c39;
- color: #fff;
+
+.section-head h1,
+.section-head h2 {
+ font-size: clamp(var(--step-3), 3.5vw, var(--step-4));
+ font-stretch: 108%;
+ letter-spacing: -0.01em;
}
-.community-posts .card-group {
- flex: 0 0 100%;
- max-width: 100%;
+
+.section-head > a {
+ font-weight: 600;
}
-.community-posts h4.card-text a {
- color: #59635e;
+
+.section-count {
+ color: var(--ink-soft);
+ font-size: var(--step-1);
+ font-weight: 500;
+ font-stretch: 100%;
+ letter-spacing: 0;
+}
+
+.section-lede {
+ max-width: var(--wrap-text);
+ margin-bottom: 2rem;
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+ font-size: var(--step-1);
+ line-height: 1.6;
+}
+
+/* Post cards */
+.post-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
+ gap: 3rem 2rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.post-card {
+ position: relative;
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
}
-.community-posts .maxthumb img {
+
+.card-image {
+ order: -1;
width: 100%;
- height: 100%;
+ aspect-ratio: 3 / 2;
object-fit: cover;
+ margin-bottom: 0.6rem;
+ border-radius: var(--radius);
+ background: var(--mist);
+}
+
+.card-title {
+ font-size: var(--step-2);
+ font-weight: 700;
+ line-height: 1.2;
+}
+
+.card-title a {
+ color: var(--ink);
+ text-decoration: none;
+}
+
+.card-title a::after {
+ content: "";
+ position: absolute;
+ inset: 0;
}
-@media (min-width: 768px) {
- .community-posts .card {
+
+.post-card:hover .card-title a {
+ color: var(--blue);
+ text-decoration: underline;
+ text-decoration-thickness: 2px;
+}
+
+.card-title a:focus-visible {
+ outline: none;
+}
+
+.card-title a:focus-visible::after {
+ outline: 3px solid var(--blue);
+ outline-offset: 6px;
+ border-radius: var(--radius);
+}
+
+.card-meta {
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+}
+
+.card-excerpt {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 3;
+ overflow: hidden;
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+ font-size: var(--step-0);
+ line-height: 1.55;
+}
+
+/* Horizontal cards, used for short lists */
+.post-grid-list {
+ grid-template-columns: 1fr;
+ gap: 2rem;
+}
+
+@media (min-width: 40rem) {
+ .post-grid-list .post-card {
display: grid;
- grid-template-columns: 1fr 2fr;
+ grid-template-columns: minmax(10rem, 15rem) 1fr;
+ grid-template-rows: auto auto 1fr;
+ column-gap: 1.5rem;
+ row-gap: 0.4rem;
+ align-content: start;
}
- .community-posts .maxthumb {
- grid-row: span 2;
- max-height: none;
+
+ .post-grid-list .card-image {
+ grid-column: 1;
+ grid-row: 1 / span 3;
+ margin: 0;
}
- .community-posts .maxthumb a {
- display: block;
- height: 100%;
+}
+
+/* Pagination */
+.pagination {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: center;
+ gap: 0.5rem 1rem;
+ margin-top: 3.5rem;
+ font-weight: 600;
+}
+
+.pagination ol {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.25rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.pagination a,
+.pagination span {
+ display: inline-grid;
+ place-items: center;
+ min-width: 2.5rem;
+ min-height: 2.5rem;
+ padding-inline: 0.6rem;
+ border-radius: var(--radius);
+ text-decoration: none;
+}
+
+.pagination a:hover {
+ background: var(--mist);
+}
+
+.pagination [aria-current="page"] {
+ background: var(--ink);
+ color: var(--paper);
+}
+
+.pagination [aria-disabled="true"],
+.page-gap {
+ color: var(--ink-soft);
+ opacity: 0.6;
+}
+
+.page-gap {
+ display: inline-grid;
+ place-items: center;
+ min-width: 1.5rem;
+}
+
+/* Community and get-involved blocks on the homepage */
+.community-split {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
+ gap: clamp(2rem, 5vw, 4rem);
+ align-items: start;
+}
+
+.community-intro h2 {
+ font-size: clamp(var(--step-3), 3.5vw, var(--step-4));
+ font-stretch: 108%;
+}
+
+.community-intro p {
+ margin-block: 1rem 1.5rem;
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+ font-size: var(--step-1);
+ line-height: 1.6;
+}
+
+.community-intro .text-link {
+ display: block;
+ margin-top: 1rem;
+}
+
+.involve-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
+ gap: 2.5rem 2rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.involve-grid li {
+ display: flex;
+ flex-direction: column;
+ gap: 0.6rem;
+ padding-top: 1rem;
+ border-top: 4px solid var(--block);
+}
+
+.involve-grid li:nth-child(even) {
+ border-top-color: var(--yellow);
+}
+
+.involve-grid h3 {
+ font-size: var(--step-2);
+}
+
+.involve-grid p {
+ flex: 1;
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+ line-height: 1.55;
+}
+
+.involve-grid a {
+ font-weight: 600;
+}
+
+.further-reading {
+ margin-top: 2.5rem;
+ color: var(--ink-soft);
+}
+
+@media (max-width: 52rem) {
+ .community-split {
+ grid-template-columns: 1fr;
+ }
+}
+
+/* Community blog page */
+.community-hero {
+ display: grid;
+ grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
+ gap: clamp(2rem, 5vw, 4rem);
+ align-items: end;
+}
+
+.community-hero h1 {
+ font-size: clamp(var(--step-4), 5vw, var(--step-5));
+ font-stretch: 112%;
+ letter-spacing: -0.015em;
+}
+
+.callout {
+ padding: 1.5rem;
+ border-left: 4px solid var(--yellow);
+ background: var(--mist);
+ border-radius: 0 var(--radius) var(--radius) 0;
+}
+
+.callout h2 {
+ font-size: var(--step-2);
+}
+
+.callout p {
+ margin-block: 0.6rem 1.25rem;
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+}
+
+@media (max-width: 52rem) {
+ .community-hero {
+ grid-template-columns: 1fr;
+ }
+}
+
+/* Posts and pages */
+.post-header,
+.page-header {
+ padding-top: clamp(2.5rem, 6vw, 4.5rem);
+}
+
+.breadcrumb {
+ margin-bottom: 1rem;
+ font-weight: 600;
+}
+
+.post-header h1,
+.page-header h1 {
+ font-size: clamp(var(--step-4), 5.5vw, var(--step-5));
+ font-weight: 800;
+ font-stretch: 110%;
+ letter-spacing: -0.015em;
+ line-height: 1.05;
+}
+
+.post-lede {
+ margin-top: 1rem;
+ color: var(--ink-soft);
+ font-family: var(--font-text);
+ font-size: var(--step-2);
+ line-height: 1.5;
+}
+
+.byline {
+ display: flex;
+ align-items: center;
+ gap: 0.9rem;
+ margin-top: 1.75rem;
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+ line-height: 1.5;
+}
+
+.byline a {
+ color: var(--ink);
+ font-weight: 600;
+ text-decoration: none;
+}
+
+.byline a:hover {
+ text-decoration: underline;
+}
+
+.byline-avatars {
+ display: flex;
+ flex: none;
+}
+
+.byline-avatars img {
+ width: 2.75rem;
+ height: 2.75rem;
+ border: 2px solid var(--paper);
+ border-radius: 50%;
+ object-fit: cover;
+ background: var(--mist);
+}
+
+.byline-avatars img + img {
+ margin-left: -0.75rem;
+}
+
+.post-cover {
+ margin-block: 2.5rem 0;
+}
+
+.post-cover img {
+ display: block;
+ width: 100%;
+ max-height: 70vh;
+ object-fit: cover;
+ border-radius: var(--radius);
+ background: var(--mist);
+}
+
+.page-header + .prose {
+ padding-top: 2rem;
+}
+
+/* Long-form text */
+.prose {
+ padding-block: 2.5rem 1rem;
+ font-family: var(--font-text);
+ font-size: var(--step-1);
+ line-height: 1.7;
+ overflow-wrap: break-word;
+}
+
+.prose > * + * {
+ margin-top: 1.25em;
+}
+
+.prose h2,
+.prose h3,
+.prose h4 {
+ margin-top: 2em;
+ font-stretch: 105%;
+}
+
+.prose h2 { font-size: var(--step-3); }
+.prose h3 { font-size: var(--step-2); }
+.prose h4 { font-size: var(--step-1); }
+
+.prose h2 + *,
+.prose h3 + *,
+.prose h4 + * {
+ margin-top: 0.6em;
+}
+
+.prose ul,
+.prose ol {
+ padding-left: 1.4em;
+}
+
+.prose li + li {
+ margin-top: 0.4em;
+}
+
+.prose img {
+ border-radius: var(--radius);
+}
+
+.prose iframe {
+ display: block;
+ width: 100%;
+ border: 0;
+ border-radius: var(--radius);
+}
+
+.prose iframe[src*="youtube"] {
+ height: auto;
+ aspect-ratio: 16 / 9;
+}
+
+.prose blockquote {
+ margin-inline: 0;
+ padding: 0.25em 0 0.25em 1.25em;
+ border-left: 4px solid var(--yellow);
+ color: var(--ink-soft);
+}
+
+.prose hr {
+ height: 0;
+ margin-block: 2.5em;
+ border: 0;
+ border-top: 1px solid var(--line);
+}
+
+.prose table {
+ display: block;
+ width: 100%;
+ overflow-x: auto;
+ border-collapse: collapse;
+ font-family: var(--font-display);
+ font-size: var(--step-0);
+}
+
+.prose th,
+.prose td {
+ padding: 0.5rem 0.75rem;
+ border-bottom: 1px solid var(--line);
+ text-align: left;
+}
+
+.prose code {
+ padding: 0.1em 0.35em;
+ background: var(--mist);
+ border-radius: 4px;
+ font-family: var(--font-mono);
+ font-size: 0.85em;
+}
+
+.prose pre,
+.prose .highlight {
+ background: var(--code-bg);
+ color: var(--navy);
+ border-radius: var(--radius);
+}
+
+.prose pre {
+ overflow-x: auto;
+ padding: 1rem 1.25rem;
+ font-size: var(--step--1);
+ line-height: 1.6;
+}
+
+.prose pre code {
+ padding: 0;
+ background: none;
+ font-size: inherit;
+}
+
+.prose .twitter-tweet {
+ padding: 1rem 1.25rem;
+ border: 1px solid var(--line);
+ border-left-width: 4px;
+ border-left-color: var(--blue);
+ border-radius: var(--radius);
+ font-size: var(--step-0);
+}
+
+/* Bootstrap classes used inside older posts */
+.prose .row {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1rem;
+}
+
+.prose .row > * {
+ margin-top: 0;
+}
+
+.prose .col-6 {
+ flex: 1 1 calc(50% - 0.5rem);
+ min-width: min(100%, 14rem);
+}
+
+.prose .img-fluid {
+ max-width: 100%;
+ height: auto;
+}
+
+.prose .btn {
+ display: inline-block;
+ padding: 0.4rem 0.9rem;
+ border-radius: var(--radius);
+ background: var(--mist);
+ color: var(--ink);
+ font-family: var(--font-display);
+ font-size: var(--step-0);
+ font-weight: 600;
+ text-decoration: none;
+}
+
+.prose .btn-success { background: #1f7a4d; color: #fff; }
+.prose .btn-info { background: var(--blue); color: var(--paper); }
+.prose .btn-warning { background: var(--yellow); color: var(--on-yellow); }
+
+/* Post footer */
+.post-footer {
+ display: grid;
+ gap: 2.5rem;
+ padding-bottom: clamp(3rem, 8vw, 5rem);
+}
+
+.tags {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.tags a {
+ display: inline-block;
+ padding: 0.3rem 0.75rem;
+ border: 1px solid var(--line);
+ border-radius: 999px;
+ color: var(--ink);
+ font-size: var(--step--1);
+ text-decoration: none;
+}
+
+.tags a:hover {
+ border-color: var(--blue);
+ color: var(--blue);
+}
+
+.share {
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ gap: 0.75rem 1.25rem;
+ padding-block: 1.25rem;
+ border-block: 1px solid var(--line);
+}
+
+.share p {
+ font-weight: 600;
+}
+
+.share ul {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.share a,
+.share button {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.45rem;
+ min-height: 2.5rem;
+ padding: 0.4rem 0.8rem;
+ border: 1px solid var(--line);
+ border-radius: var(--radius);
+ background: none;
+ color: var(--ink);
+ font: inherit;
+ font-size: var(--step--1);
+ text-decoration: none;
+ cursor: pointer;
+}
+
+.share a:hover,
+.share button:hover {
+ border-color: var(--ink-soft);
+ background: var(--mist);
+}
+
+.share svg {
+ width: 1rem;
+ height: 1rem;
+}
+
+.share button {
+ display: none;
+}
+
+.can-copy .share button {
+ display: inline-flex;
+}
+
+.author-card {
+ display: flex;
+ gap: 1.25rem;
+ align-items: flex-start;
+}
+
+.author-card img {
+ width: 4rem;
+ height: 4rem;
+ border-radius: 50%;
+ object-fit: cover;
+ background: var(--mist);
+}
+
+.author-card > div {
+ display: grid;
+ gap: 0.3rem;
+ color: var(--ink-soft);
+}
+
+.author-name {
+ font-size: var(--step-2);
+ font-weight: 700;
+}
+
+.author-name a {
+ color: var(--ink);
+ text-decoration: none;
+}
+
+.author-links {
+ display: flex;
+ gap: 1rem;
+ font-weight: 600;
+}
+
+.post-nav {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
+ gap: 1rem;
+}
+
+.post-nav a {
+ display: grid;
+ gap: 0.25rem;
+ padding: 1rem 1.25rem;
+ border: 1px solid var(--line);
+ border-radius: var(--radius);
+ color: var(--ink);
+ font-weight: 600;
+ text-decoration: none;
+}
+
+.post-nav a:hover {
+ border-color: var(--blue);
+}
+
+.post-nav span {
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+ font-weight: 500;
+}
+
+.post-nav-next {
+ text-align: right;
+}
+
+#comments h2 {
+ font-size: var(--step-3);
+}
+
+#comments > p {
+ margin-block: 0.5rem 1.5rem;
+ color: var(--ink-soft);
+}
+
+/* Archives */
+.year-rail {
+ position: sticky;
+ top: var(--header-height);
+ z-index: 5;
+ margin-inline: calc(-1 * var(--gutter));
+ padding: 0.75rem var(--gutter);
+ background: var(--paper);
+ border-bottom: 1px solid var(--line);
+ font-family: var(--font-display);
+}
+
+.year-rail ul {
+ display: flex;
+ gap: 0.25rem;
+ margin: 0;
+ padding: 0;
+ overflow-x: auto;
+ list-style: none;
+ scrollbar-width: thin;
+}
+
+.prose .year-rail li + li {
+ margin-top: 0;
+}
+
+.year-rail a {
+ display: block;
+ padding: 0.35rem 0.6rem;
+ border-radius: var(--radius);
+ font-size: var(--step--1);
+ font-weight: 600;
+ text-decoration: none;
+}
+
+.year-rail a:hover {
+ background: var(--mist);
+}
+
+.prose .year-group {
+ margin-top: 2.5rem;
+}
+
+.year-group h2 {
+ display: flex;
+ align-items: baseline;
+ gap: 0.75rem;
+ font-size: var(--step-4);
+ font-stretch: 112%;
+}
+
+.year-count {
+ color: var(--ink-soft);
+ font-size: var(--step-0);
+ font-weight: 500;
+ font-stretch: 100%;
+}
+
+.prose .post-list {
+ margin-top: 1rem;
+ padding: 0;
+ list-style: none;
+}
+
+.post-list li {
+ display: grid;
+ grid-template-columns: 4.5rem 1fr;
+ gap: 1rem;
+ padding-block: 0.6rem;
+ border-bottom: 1px solid var(--line);
+ font-family: var(--font-display);
+}
+
+.prose .post-list li + li {
+ margin-top: 0;
+}
+
+.post-list time {
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+ padding-top: 0.2rem;
+}
+
+.post-list a {
+ color: var(--ink);
+ font-weight: 600;
+ text-decoration: none;
+}
+
+.post-list a:hover {
+ color: var(--blue);
+ text-decoration: underline;
+}
+
+.archive-count {
+ margin: -1rem 0 2rem;
+ color: var(--ink-soft);
+}
+
+.author-header {
+ display: flex;
+ gap: 1.5rem;
+ align-items: center;
+ margin-bottom: 3rem;
+}
+
+.author-header img {
+ width: 6rem;
+ height: 6rem;
+ border-radius: 50%;
+ object-fit: cover;
+ background: var(--mist);
+}
+
+.author-header h1 {
+ font-size: clamp(var(--step-4), 5vw, var(--step-5));
+ font-stretch: 110%;
+}
+
+.author-header .post-lede {
+ margin-top: 0.5rem;
+}
+
+.author-header .archive-count {
+ margin: 0.5rem 0 0;
+}
+
+.prose .author-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
+ gap: 0.75rem;
+ padding: 0;
+ list-style: none;
+ font-family: var(--font-display);
+}
+
+.author-grid li {
+ position: relative;
+ display: grid;
+ grid-template-columns: auto 1fr;
+ grid-template-rows: auto auto;
+ column-gap: 0.9rem;
+ align-items: center;
+ padding: 0.75rem;
+ border: 1px solid var(--line);
+ border-radius: var(--radius);
+}
+
+.prose .author-grid li + li {
+ margin-top: 0;
+}
+
+.author-grid li:hover {
+ border-color: var(--blue);
+}
+
+.author-grid img {
+ grid-row: span 2;
+ width: 3rem;
+ height: 3rem;
+ border-radius: 50%;
+ object-fit: cover;
+}
+
+.author-grid a {
+ color: var(--ink);
+ font-weight: 700;
+ line-height: 1.2;
+ text-decoration: none;
+}
+
+.author-grid a::after {
+ content: "";
+ position: absolute;
+ inset: 0;
+}
+
+.author-grid span {
+ color: var(--ink-soft);
+ font-size: var(--step--1);
+ line-height: 1.3;
+}
+
+/* Footer */
+.site-footer {
+ padding-block: 3.5rem 2rem;
+ background: var(--mist);
+ border-top: 1px solid var(--line);
+ font-size: var(--step--1);
+}
+
+.footer-grid {
+ display: grid;
+ grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
+ gap: 2.5rem 2rem;
+}
+
+.footer-about p {
+ max-width: 24rem;
+ margin-top: 1rem;
+ color: var(--ink-soft);
+ line-height: 1.6;
+}
+
+.site-footer h2 {
+ margin-bottom: 0.9rem;
+ font-size: var(--step-0);
+}
+
+.site-footer ul {
+ display: grid;
+ gap: 0.55rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.site-footer nav a {
+ color: var(--ink);
+ text-decoration: none;
+}
+
+.site-footer nav a:hover {
+ color: var(--blue);
+ text-decoration: underline;
+}
+
+.footer-social a {
+ display: inline-flex;
+ align-items: center;
+ gap: 0.55rem;
+}
+
+.footer-social svg {
+ width: 1rem;
+ height: 1rem;
+ color: var(--ink-soft);
+}
+
+.footer-legal {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ gap: 0.75rem 2rem;
+ margin-top: 3rem;
+ padding-top: 1.5rem;
+ border-top: 1px solid var(--line);
+ color: var(--ink-soft);
+}
+
+.footer-legal p {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem 1.5rem;
+}
+
+@media (max-width: 52rem) {
+ .footer-grid {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+
+ .footer-about {
+ grid-column: 1 / -1;
+ }
+}
+
+/* Motion */
+@media (prefers-reduced-motion: no-preference) {
+ @view-transition {
+ navigation: auto;
+ }
+
+ html {
+ scroll-behavior: smooth;
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ *,
+ *::before,
+ *::after {
+ animation-duration: 0.01ms !important;
+ transition-duration: 0.01ms !important;
+ }
+}
+
+@media print {
+ .site-header,
+ .site-footer,
+ .share,
+ .post-nav,
+ #comments,
+ .year-rail {
+ display: none !important;
}
}
diff --git a/assets/css/screen.css b/assets/css/screen.css
deleted file mode 100644
index 27aba02b..00000000
--- a/assets/css/screen.css
+++ /dev/null
@@ -1,903 +0,0 @@
-/*
-Template Name: Mediumish
-Copyright: Sal, WowThemes.net, https://www.wowthemes.net
-License: https://www.wowthemes.net/freebies-license/
-*/
-.mainheading {
- padding: 1rem 0rem;
-}
-
-a {
- color: #00ab6b;
- transition: all 0.2s;
-}
-
-a:hover {
- color: #038252;
- text-decoration: none;
-}
-
-pre {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- border: #E3EDF3 1px solid;
- width: 100%;
- padding: 7px;
- font-family: monospace, sans-serif;
- font-size: 14px;
- white-space: pre;
- overflow: auto;
- background: #fff;
- border-radius: 0px;
- line-height: 1.6;
- color: #333;
- margin-bottom: -rem;
-}
-
-.mediumnavigation {
- background: rgba(255, 255, 255, .97);
- box-shadow: 0 2px 2px -2px rgba(0, 0, 0, .15);
- transition: top 0.2s ease-in-out;
-}
-
-.main-content {
- min-height: 300px;
-}
-
-.site-content {
- min-height: 60vh;
- padding-top: 1.5rem;
- margin-top: 57px;
- transition: all 0.4s;
-}
-
-section {
- margin-bottom: 20px;
-}
-
-section.recent-posts {
- margin-bottom: 0;
-}
-
-.section-title h2 {
- border-bottom: 1px solid rgba(0, 0, 0, .125);
- margin-bottom: 25px;
- font-weight: 700;
- font-size: 1.4rem;
- margin-bottom: 27px;
-}
-
-.section-title span {
- border-bottom: 1px solid rgba(0, 0, 0, .44);
- display: inline-block;
- padding-bottom: 20px;
- margin-bottom: -1px;
-}
-
-.article-post ol,
-.article-post ul {
- margin-bottom: 1.5rem;
-}
-
-.article-post ol ol,
-.article-post ul ul {
- list-style: disc;
- margin-bottom: 0rem;
-}
-
-@media (min-width:576px) {
- .card-columns.listfeaturedtag {
- -webkit-column-count: 2;
- -moz-column-count: 2;
- column-count: 2;
- }
-}
-
-@media (min-width:992px) {
- .navbar-expand-lg .navbar-nav .nav-link {
- padding-right: 0.8rem;
- padding-left: 0.8rem;
- }
-}
-
-.listfeaturedtag {
- border: 1px solid rgba(0, 0, 0, .125);
- border-radius: .25rem;
- transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
-}
-
-.listfeaturedtag .wrapthumbnail {
- /* min-height:290px;
- flex:0 0 auto;
- height: 100%; */
-
- /* Error lesson */
- height: 290px;
- flex: 0 0 auto;
- height: 100%;
-}
-
-.maxthumb {
- max-height: 300px;
- overflow: hidden;
-}
-
-.listfeaturedtag .card,
-.card-footer {
- border: 0;
-}
-
-.listfeaturedtag .thumbnail {
- background-size: cover;
- height: 100%;
- display: block;
- background-position: 38% 22% !important;
- background-origin: border-box !important;
- border-top-left-radius: .25rem;
- border-bottom-left-radius: .25rem;
-}
-
-.listfeaturedtag .card-block {
- padding-left: 0;
-}
-
-.listfeaturedtag h2.card-title,
-.listrecent h2.card-title {
- font-size: 1.3rem;
- font-weight: 700;
- line-height: 1.25;
-}
-
-.listfeaturedtag h4.card-text,
-.listrecent h4.card-text {
- color: rgba(0, 0, 0, .44);
- font-size: 0.95rem;
- line-height: 1.6;
- font-weight: 400;
-}
-
-.listfeaturedtag h4.card-text a,
-.listrecent h4.card-text a {
- color: rgba(0, 0, 0, .44);
- font-size: 0.95rem;
- line-height: 1.6;
- font-weight: 400;
-}
-
-.featured-box-img-cover {
- object-fit: cover;
- width: 100%;
- height: 100%;
- max-height: 100%;
-}
-
-@media (max-width:991px) {
- .featured-box-img-cover {
- height: auto;
- width: 100%;
- }
-}
-
-.wrapfooter {
- font-size: 12px;
- display: flex;
- align-items: center;
- margin-bottom: 15px;
-}
-
-.author-thumb {
- width: 40px;
- height: 40px;
- margin-right: 13px;
- border-radius: 100%;
-}
-
-.post-top-meta {
- margin-bottom: 2rem;
-}
-
-.post-top-meta .author-thumb {
- width: 72px;
- height: 72px;
-}
-
-.post-top-meta.authorpage .author-thumb {
- margin-top: 40px;
-}
-
-.post-top-meta span {
- font-size: 0.9rem;
- color: rgba(0, 0, 0, .44);
- display: inline-block;
-}
-
-.post-top-meta .author-description {
- margin-bottom: 5px;
- margin-top: 5px;
- font-size: 0.95rem;
-}
-
-.author-meta {
- flex: 1 1 auto;
- white-space: nowrap !important;
- text-overflow: ellipsis !important;
- overflow: hidden !important;
-}
-
-span.post-name,
-span.post-date,
-span.author-meta {
- display: inline-block;
-}
-
-span.post-date,
-span.post-read {
- color: rgba(0, 0, 0, .44);
-}
-
-span.post-read-more {
- align-items: center;
- display: inline-block;
- float: right;
- margin-top: 8px;
-}
-
-span.post-read-more a {
- color: rgba(0, 0, 0, .44);
-}
-
-span.post-name a,
-span.post-read-more a:hover {
- color: rgba(0, 0, 0, .8);
-}
-
-.dot:after {
- content: "·";
- margin-left: 3px;
- margin-right: 3px;
-}
-
-.mediumnavigation .form-control {
- font-size: 0.8rem;
- border-radius: 30px;
- overflow: hidden;
- border: 1px solid rgba(0, 0, 0, 0.04);
- min-width: 180px;
-}
-
-.mediumnavigation .form-inline {
- margin-left: 15px;
-}
-
-.mediumnavigation .form-inline .btn {
- margin-left: -50px;
- border: 0;
- border-radius: 30px;
- cursor: pointer;
-}
-
-.mediumnavigation .form-inline .btn:hover,
-.mediumnavigation .form-inline .btn:active {
- background: transparent;
- color: green;
-}
-
-.mediumnavigation .navbar-brand {
- font-weight: 500;
-}
-
-.mediumnavigation .dropdown-menu {
- border: 1px solid rgba(0, 0, 0, 0.08);
- margin: .5rem 0 0;
-}
-
-.mediumnavigation .nav-item,
-.dropdown-menu {
- font-size: 0.9rem;
-}
-
-.mediumnavigation .search-icon {
- margin-left: -40px;
- display: inline-block;
- margin-top: 3px;
- cursor: pointer;
-}
-
-.mediumnavigation .navbar-brand img {
- max-height: 30px;
- margin-right: 5px;
-}
-
-.mainheading h1.sitetitle {
- font-family: Righteous;
-}
-
-.mainheading h1.posttitle {
- font-weight: 700;
- margin-bottom: 1rem;
-}
-
-.footer {
- border-top: 1px solid rgba(0, 0, 0, .05) !important;
- padding-top: 15px;
- padding-bottom: 12px;
- font-size: 0.8rem;
- color: rgba(0, 0, 0, .44);
- margin-top: 50px;
- margin-bottom: 62px;
- position: relative;
- background: #fff;
-}
-
-.link-dark {
- color: rgba(0, 0, 0, .8);
-}
-
-.article-post {
- font-family: Merriweather;
- font-size: 1.1rem;
- line-height: 1.84;
- color: rgba(0, 0, 0, .8);
-}
-
-blockquote {
- border-left: 4px solid #00ab6b;
- padding: 0 20px;
- font-style: italic;
- color: rgba(0, 0, 0, .5);
-}
-
-.article-post p,
-.article-post blockquote {
- margin: 0 0 1.5rem 0;
-}
-
-.featured-image {
- display: block;
- margin-bottom: 1.5rem;
-}
-
-.share {
- text-align: center;
-}
-
-.share p {
- margin-bottom: 10px;
- font-size: 0.95rem;
-}
-
-.share ul li {
- display: inline-block;
- margin-bottom: 9px;
-}
-
-.share ul {
- padding-left: 0;
- margin-left: 0;
-}
-
-.share ul li i.fa {
- border: 1px solid #ddd;
- width: 30px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- border-radius: 50%;
-}
-
-.svgIcon {
- vertical-align: middle;
-}
-
-.sticky-top-offset {
- top: 100px;
-}
-
-@media (min-width:1024px) {
- .share ul li {
- display: block;
- }
-}
-
-@media (max-width:999px) {
- .featured-box-img-cover {
- height: 359px;
- }
-
- .alertbar {
- position: relative !Important;
- margin-bottom: 20px;
- margin-top: 20px;
- box-shadow: none !Important;
- padding-right: 14px !Important;
- }
-
- #comments {
- margin-right: 15px;
- }
-
- .jumbotron.fortags {
- margin-bottom: 0 !Important;
- }
-
- .alertbar form {
- margin-top: 20px;
- }
-
- .alertbar span,
- .alertbar form {
- display: block;
- }
-
- .alertbar input[type="submit"] {
- border-radius: 3px !Important;
- }
-
- .alertbar input[type="email"] {
- margin-right: 0px !Important;
- display: block;
- border-right: 1px solid #ddd !Important;
- margin-bottom: 10px;
- }
-
- .jumbotron {
- margin-bottom: 0;
- border-radius: 0;
- }
-
- .listfeaturedtag .card {
- height: auto;
- }
-
- .listfeaturedtag .wrapfooter {
- position: relative;
- margin-top: 30px;
- }
-
- .listfeaturedtag .card-block {
- padding: 20px;
- }
-
- .footer {
- margin-top: 0px;
- margin-bottom: 0px;
- }
-}
-
-@media (max-width:1024px) {
- .post-top-meta .col-md-10 {
- text-align: center;
- }
-}
-
-@media (max-width:767px) {
- .post-top-meta.authorpage {
- text-align: center;
- }
-}
-
-.share,
-.share a {
- color: rgba(0, 0, 0, .44);
- fill: rgba(0, 0, 0, .44);
-}
-
-.graybg {
- background-color: #fafafa;
- padding: 40px 0 46px;
- position: relative;
-}
-
-.listrelated .card {
- box-shadow: 0 1px 7px rgba(0, 0, 0, .05);
- border: 0;
-}
-
-ul.tags {
- list-style: none;
- padding-left: 0;
- margin: 0 0 3rem 0;
-}
-
-ul.tags li {
- display: inline-block;
- font-size: 0.9rem;
-}
-
-ul.tags li a {
- background: rgba(0, 0, 0, .05);
- color: rgba(0, 0, 0, .6);
- border-radius: 3px;
- padding: 5px 10px;
-}
-
-ul.tags li a:hover {
- background: rgba(0, 0, 0, .07);
- text-decoration: none;
-}
-
-.margtop3rem {
- margin-top: 3rem;
-}
-
-.sep {
- height: 1px;
- width: 20px;
- background: #999;
- margin: 0px auto;
- margin-bottom: 1.2rem;
-}
-
-.btn.follow {
- border-color: #02B875;
- color: #1C9963;
- padding: 3px 10px;
- text-align: center;
- border-radius: 999em;
- font-size: 0.85rem;
- display: inline-block;
-}
-
-.btn.subscribe {
- background-color: #1C9963;
- border-color: #1C9963;
- color: rgba(255, 255, 255, 1);
- fill: rgba(255, 255, 255, 1);
- border-radius: 30px;
- font-size: 0.85rem;
- margin-left: 10px;
- font-weight: 600;
- text-transform: uppercase;
-}
-
-.post-top-meta .btn.follow {
- margin-left: 5px;
- margin-top: -4px;
-}
-
-.alertbar {
- box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, .0785);
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #fff;
- width: 100%;
- padding: 14px 0;
- z-index: 1;
- display: none;
-}
-
-.alertbar form {
- display: inline-block;
-}
-
-.alertbar input[type="email"] {
- font-size: 0.85rem;
- padding: 3px 5px 3px 10px;
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
- border: 1px solid #ddd;
- border-right: 0;
- margin-right: -10px;
- height: 34px;
- letter-spacing: 0.5px;
- margin-left: 5px;
-}
-
-.alertbar input[type="submit"] {
- background-color: #1C9963;
- border: 1px solid #1C9963;
- color: rgba(255, 255, 255, 1);
- fill: rgba(255, 255, 255, 1);
- font-size: 0.85rem;
- border-radius: 0;
- padding: 4px 10px;
- border-top-right-radius: 3px;
- border-bottom-right-radius: 3px;
- font-weight: 600;
- height: 34px;
- letter-spacing: 0.5px;
- cursor: pointer;
-}
-
-.form-control::-webkit-input-placeholder {
- color: rgba(0, 0, 0, .5);
-}
-
-.form-control:-moz-placeholder {
- color: rgba(0, 0, 0, .5);
-}
-
-.form-control::-moz-placeholder {
- color: rgba(0, 0, 0, .5);
-}
-
-.form-control:-ms-input-placeholder {
- color: rgba(0, 0, 0, .5);
-}
-
-.form-control::-ms-input-placeholder {
- color: rgba(0, 0, 0, .5);
-}
-
-.authorpage h1 {
- font-weight: 700;
- font-size: 30px;
-}
-
-.post-top-meta.authorpage .author-thumb {
- float: none;
-}
-
-.authorpage .author-description {
- font-size: 1rem;
- color: rgba(0, 0, 0, .6);
-}
-
-.post-top-meta.authorpage .btn.follow {
- padding: 7px 20px;
- margin-top: 10px;
- margin-left: 0;
- font-size: 0.9rem;
-}
-
-.graybg.authorpage {
- border-top: 1px solid #f0f0f0;
-}
-
-.authorpostbox {
- width: 760px;
- margin: 0px auto;
- margin-bottom: 1.5rem;
- max-width: 100%;
-}
-
-.authorpostbox .img-thumb {
- width: 100%;
-}
-
-.sociallinks {
- margin: 1rem 0;
-}
-
-.sociallinks a {
- background: #666;
- color: #fff;
- width: 22px;
- height: 22px;
- display: inline-block;
- text-align: center;
- line-height: 22px;
- border-radius: 50%;
- font-size: 12px;
-}
-
-#comments {
- margin-top: 3rem;
- margin-bottom: 1.5rem;
-}
-
-.h1,
-.h2,
-.h3,
-.h4,
-.h5,
-.h6,
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
-}
-
-.article-post .h1,
-.article-post .h2,
-.article-post .h3,
-.article-post .h4,
-.article-post .h5,
-.article-post .h6,
-.article-post h1,
-.article-post h2,
-.article-post h3,
-.article-post h4,
-.article-post h5,
-.article-post h6 {
- font-weight: 700;
- margin-bottom: 1.5rem;
-}
-
-.article-post img.shadow {
- -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
- -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
- box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.30);
-}
-
-.layout-page .article-post {
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- font-size: 1rem;
-}
-
-.layout-page .article-post p {
- margin-bottom: 1rem;
-}
-
-img {
- max-width: 100%;
-}
-
-.bottompagination span.navigation {
- display: block;
- font-size: 0.93rem;
- padding: 15px 0 0 0;
- text-align: center;
- margin-bottom: 0rem;
- color: #999;
- border-top: 1px solid #ddd;
-}
-
-.pointerup {
- margin-bottom: -17px;
- margin-left: 49%;
- font-size: 30px;
-}
-
-.pointerup i.fa {
- color: #eaeaea;
-}
-
-.bottompagination span.navigation i {
- display: inline-block;
-}
-
-span.navigation {
- display: inline-block;
- font-size: 0.93rem;
- font-weight: 700;
- text-align: center;
-}
-
-.pagination {
- display: block;
-}
-
-iframe {
- max-width: 100%;
-}
-
-.transpdark {
- background: rgba(0, 0, 0, 0.75);
- color: #fff;
-}
-
-@media (min-width:768px) {
- .jumbotron.fortags {
- margin-bottom: -50px;
- margin-top: 3rem;
- padding: 0;
- height: 350px;
- border-radius: 0;
- background-image: url(../images/bangpyperscover.jpg);
- background-size: cover;
- }
-
- .jumbotron.fortags .col-md-4 {
- background: rgba(0, 0, 0, 0.75);
- color: #fff;
- }
-
- .jumbotron.fortags .row {
- margin: 0;
- }
-}
-.jumbotron.fortags {
- margin-top: 3rem;
- padding: 0;
- border-radius: 0;
- background-image: url(../images/bangpyperscover.jpg);
- background-size: cover;
-}
-.jumbotron.fortags a {
- padding: 5px 10px 7px;
- background: #222;
- border-radius: 30px;
- color: #fff;
- font-weight: 500;
- text-transform: lowercase;
- font-size: 0.8rem;
- display: inline-block;
-}
-
-.layout-page .jumbotron.fortags {
- display: none;
-}
-
-.mb-30px {
- margin-bottom: 30px;
-}
-
-.flex-first {
- -webkit-box-ordinal-group: 0;
- -webkit-order: -1;
- -ms-flex-order: -1;
- order: -1;
-}
-
-@media (min-width: 768px) {
- .flex-md-unordered {
- -webkit-box-ordinal-group: 1;
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
- }
-
- .flex-first {
- -webkit-box-ordinal-group: 0;
- -webkit-order: 1;
- -ms-flex-order: 1;
- order: 1;
- }
-}
-
-@media (max-width: 768px) {
- .share {
- margin-top: 30px;
- }
-}
-
-.card .img-fluid {
- width: 100%;
-}
-
-.sticky-top-80 {
- top: 80px;
-}
-
-.spoiler {
- color: transparent;
- text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
- transition: all .4s;
- cursor: pointer;
- position: relative;
-}
-
-.spoiler:after {
- position: absolute;
- opacity: 0;
- content: 'Click to reveal spoiler';
- top: 45%;
- left: calc(50% - 100px);
- text-shadow: none;
- background: #222;
- color: #fff;
- display: inline-block;
- font-size: 13px;
- line-height: 1;
- padding: 2px 3px;
- width: 150px;
- font-family: Arial;
- text-align: center;
- border-radius: 3px;
- transition: all .4s;
-}
-
-.spoiler:hover:after {
- opacity: 1;
-}
-
-/** Lazy img **/
-.lazyimg {
- display: block;
- border: 0 none;
- opacity: 1;
- transition: opacity .25s;
- background: #f2f2f2;
- outline: 0 none;
-}
-
-.lazyimg[data-src],
-.lazyimg[data-srcset] {
- opacity: 0;
- transition: opacity .25s;
-}
\ No newline at end of file
diff --git a/assets/fonts/casper-icons.eot b/assets/fonts/casper-icons.eot
deleted file mode 100644
index 0bfce348..00000000
Binary files a/assets/fonts/casper-icons.eot and /dev/null differ
diff --git a/assets/fonts/casper-icons.svg b/assets/fonts/casper-icons.svg
deleted file mode 100644
index 98efd055..00000000
--- a/assets/fonts/casper-icons.svg
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-Generated by IcoMoon
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/assets/fonts/casper-icons.ttf b/assets/fonts/casper-icons.ttf
deleted file mode 100644
index f1b8da86..00000000
Binary files a/assets/fonts/casper-icons.ttf and /dev/null differ
diff --git a/assets/fonts/casper-icons.woff b/assets/fonts/casper-icons.woff
deleted file mode 100644
index 4a988939..00000000
Binary files a/assets/fonts/casper-icons.woff and /dev/null differ
diff --git a/assets/images/brand/apple-touch-icon.png b/assets/images/brand/apple-touch-icon.png
new file mode 100644
index 00000000..f78b7ebd
Binary files /dev/null and b/assets/images/brand/apple-touch-icon.png differ
diff --git a/assets/images/brand/favicon-32.png b/assets/images/brand/favicon-32.png
new file mode 100644
index 00000000..07c7ceee
Binary files /dev/null and b/assets/images/brand/favicon-32.png differ
diff --git a/assets/images/brand/mark-white.png b/assets/images/brand/mark-white.png
new file mode 100644
index 00000000..a04fad66
Binary files /dev/null and b/assets/images/brand/mark-white.png differ
diff --git a/assets/images/brand/mark.png b/assets/images/brand/mark.png
new file mode 100644
index 00000000..c469a149
Binary files /dev/null and b/assets/images/brand/mark.png differ
diff --git a/assets/images/icons.svg b/assets/images/icons.svg
new file mode 100644
index 00000000..83dbd2af
--- /dev/null
+++ b/assets/images/icons.svg
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/assets/js/analytics.js b/assets/js/analytics.js
new file mode 100644
index 00000000..2d38216a
--- /dev/null
+++ b/assets/js/analytics.js
@@ -0,0 +1,6 @@
+// Google Analytics bootstrap, kept out of inline
+
+
+
Take part
+
+ BangPypers is run by volunteers. Every meetup depends on people who come along, give talks and open up their offices.
+
+
+ Attend a meetup
+ Meetups are free. RSVP on Meetup or Luma so the hosts know how many people to expect.
+ RSVP on Meetup
+
+
+ Give a talk
+ Open an issue in the meetup-talks repository describing your idea. Organisers follow up to schedule it.
+ Propose a talk
+
+
+ Host a meetup
+ Companies across Bengaluru host us. If your office has room for a group on a Saturday, get in touch.
+ Message the organisers
+
+
+ Keep the conversation going
+ Ask questions, share projects and find collaborators between meetups.
+ Join the Discord
+
+
+ {%- assign background = featured | where_exp: "post", "post.url != hero.url" %}
+ {%- if background.size > 0 %}
+ Background reading:
+ {% for post in background %}{{ post.title }} {% unless forloop.last %}, {% endunless %}{% endfor %}
+
+ {%- endif %}
+
+{%- endif %}
diff --git a/jobposting.md b/jobposting.md
index 11d8c63a..fb966939 100644
--- a/jobposting.md
+++ b/jobposting.md
@@ -4,4 +4,4 @@ title: Job Posting
comments: false
---
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/robots.txt b/robots.txt
new file mode 100644
index 00000000..140224a2
--- /dev/null
+++ b/robots.txt
@@ -0,0 +1,8 @@
+---
+layout: null
+sitemap: false
+---
+User-agent: *
+Allow: /
+
+Sitemap: {{ "/sitemap.xml" | absolute_url }}
diff --git a/scripts/check_blogs.rb b/scripts/check_blogs.rb
index 6195441f..62d96b95 100644
--- a/scripts/check_blogs.rb
+++ b/scripts/check_blogs.rb
@@ -1,5 +1,11 @@
# Run with: bundle exec ruby scripts/check_blogs.rb
require 'jekyll'
+require 'json'
+require 'time'
+
+# Render as production so the Content-Security-Policy is checked too.
+ENV['JEKYLL_ENV'] = 'production'
+CARD_LINK = /