Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions _includes/Header.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@ <h4>Digital Garden</h4>

<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a href="./how-to" class="navbar-item">
<a href="../posts/how-to" class="navbar-item">
How To
</a>
<a href="https://jekyll-garden.github.io/jekyll-garden/" class="navbar-item">
<a href="https://jekyll-garden.github.io/jekyll-garden/" target="_blank" class="navbar-item">
GitHub
</a>
<a href="https://jekyllrb.com/" class="navbar-item">
<a href="https://jekyllrb.com/" target="_blank" class="navbar-item">
Jekyll
</a>
<a href="https://obsidian.md/" class="navbar-item">
<a href="https://obsidian.md/" target="_blank" class="navbar-item">
Obsidian
</a>
</div>
Expand Down
4 changes: 4 additions & 0 deletions _layouts/Post.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ <h1>{{page.title}}</h1>
<main>
<h1>{{page.title}}</h1>
{%- include Content.html -%}
{%- include Footer.html -%}

</main>
</div>
{%- endif -%}
Expand All @@ -142,6 +144,8 @@ <h4>{{ item.title }}</h4>
</div>
{%- endfor -%}
</div>
{%- include Footer.html -%}

</div>
{%- endif -%}
</section>
Expand Down
103 changes: 79 additions & 24 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
transform-origin: center;
width: 0.625em; }

.box:not(:last-child), .content:not(:last-child), .table:not(:last-child), .table-container:not(:last-child), .title:not(:last-child),
.box-feed:not(:last-child), .content:not(:last-child), .table:not(:last-child), .table-container:not(:last-child), .title:not(:last-child),
.subtitle:not(:last-child), .block:not(:last-child), .highlight:not(:last-child) {
margin-bottom: 1rem; }

Expand Down Expand Up @@ -258,7 +258,7 @@ a {
a strong {
color: currentColor; }
a:hover {
color: var(--color-bis); }
color: var(--text-main); }

code {
background-color: var(--bg-sub);
Expand Down Expand Up @@ -531,13 +531,13 @@ a.has-text-light:hover, a.has-text-light:focus {
background-color: var(--bg-sub); !important; }

.has-text-dark {
color: var(--main-text) !important; }
color: var(--text-main) !important; }

a.has-text-dark:hover, a.has-text-dark:focus {
color: #1c1c1c !important; }

.has-background-dark {
background-color: var(--main-text) !important; }
background-color: var(--text-main) !important; }

.has-text-primary {
color: var(--text-main) !important; }
Expand Down Expand Up @@ -606,10 +606,10 @@ a.has-text-danger:hover, a.has-text-danger:focus {
background-color: #242424 !important; }

.has-text-grey-darker {
color: var(--main-text) !important; }
color: var(--text-main) !important; }

.has-background-grey-darker {
background-color: var(--main-text) !important; }
background-color: var(--text-main) !important; }

.has-text-grey-dark {
color: #4a4a4a !important; }
Expand Down Expand Up @@ -975,18 +975,18 @@ a.has-text-danger:hover, a.has-text-danger:focus {
.is-relative {
position: relative !important; }

.box {
.box-feed {
background-color: var(--bg-main);
border-radius: 8px;
box-shadow: none;
color: var(--text-main);
display: block;
padding: 1rem; }

a.box:hover, a.box:focus {
a.box-feed:hover, a.box-feed:focus {
box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0 0 1px var(--link); }

a.box:active {
a.box-feed:active {
box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.2), 0 0 0 1px var(--link); }

.button {
Expand Down Expand Up @@ -1050,6 +1050,56 @@ a.box:active {
box-shadow: none;
opacity: 0.5; }

.buttons {
align-items: center;
display: flex;
flex-wrap: wrap;
justify-content: flex-start; }
.buttons .button {
margin-bottom: 0.5rem; }
.buttons .button:not(:last-child):not(.is-fullwidth) {
margin-right: 0.5rem; }
.buttons:last-child {
margin-bottom: -0.5rem; }
.buttons:not(:last-child) {
margin-top: 0.7rem;
margin-left:2rem; }
.buttons.are-small .button:not(.is-normal):not(.is-medium):not(.is-large) {
border-radius: 2px;
font-size: 0.8rem; }
.buttons.are-medium .button:not(.is-small):not(.is-normal):not(.is-large) {
font-size: 1.25rem; }
.buttons.are-large .button:not(.is-small):not(.is-normal):not(.is-medium) {
font-size: 1.25rem; }
.buttons.has-addons .button:not(:first-child) {
border-bottom-left-radius: 0;
border-top-left-radius: 0; }
.buttons.has-addons .button:not(:last-child) {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
margin-right: -1px; }
.buttons.has-addons .button:last-child {
margin-right: 0; }
.buttons.has-addons .button:hover, .buttons.has-addons .button.is-hovered {
z-index: 2; }
.buttons.has-addons .button:focus, .buttons.has-addons .button.is-focused, .buttons.has-addons .button:active, .buttons.has-addons .button.is-active, .buttons.has-addons .button.is-selected {
z-index: 3; }
.buttons.has-addons .button:focus:hover, .buttons.has-addons .button.is-focused:hover, .buttons.has-addons .button:active:hover, .buttons.has-addons .button.is-active:hover, .buttons.has-addons .button.is-selected:hover {
z-index: 4; }
.buttons.has-addons .button.is-expanded {
flex-grow: 1;
flex-shrink: 1; }
.buttons.is-centered {
justify-content: center; }
.buttons.is-centered:not(.has-addons) .button:not(.is-fullwidth) {
margin-left: 0.25rem;
margin-right: 0.25rem; }
.buttons.is-right {
justify-content: flex-end; }
.buttons.is-right:not(.has-addons) .button:not(.is-fullwidth) {
margin-left: 0.25rem;
margin-right: 0.25rem; }

.container {
flex-grow: 1;
margin: 0 auto;
Expand Down Expand Up @@ -1660,15 +1710,15 @@ a.tag:hover {
background-color: var(--bg-main);
border-color: var(--border);
border-radius: 4px;
color: var(--color-bis); }
color: var(--text-main); }
.input::-moz-placeholder, .textarea::-moz-placeholder, .select select::-moz-placeholder {
color: rgba(54, 54, 54, 0.3); }
color: var(--text-main); }
.input::-webkit-input-placeholder, .textarea::-webkit-input-placeholder, .select select::-webkit-input-placeholder {
color: rgba(54, 54, 54, 0.3); }
color: var(--text-main); }
.input:-moz-placeholder, .textarea:-moz-placeholder, .select select:-moz-placeholder {
color: rgba(54, 54, 54, 0.3); }
color: var(--text-main); }
.input:-ms-input-placeholder, .textarea:-ms-input-placeholder, .select select:-ms-input-placeholder {
color: rgba(54, 54, 54, 0.3); }
color: var(--text-main); }
.input:hover, .textarea:hover, .select select:hover, .is-hovered.input, .is-hovered.textarea, .select select.is-hovered {
border-color: #b5b5b5; }
.input:focus, .textarea:focus, .select select:focus, .is-focused.input, .is-focused.textarea, .select select.is-focused, .input:active, .textarea:active, .select select:active, .is-active.input, .is-active.textarea, .select select.is-active {
Expand Down Expand Up @@ -1853,7 +1903,6 @@ a.tag:hover {
margin-bottom: 1rem; }

.navbar {
background-color: var(--bg-main);
min-height: 3.25rem;
position: relative;
z-index: 30; }
Expand Down Expand Up @@ -3770,18 +3819,22 @@ a.navbar-item,
.section.is-large {
padding: 18rem 1.5rem; } }

.box {
.footer {
background-color: #fafafa;
padding: 3rem 1.5rem 6rem; }

.box-feed {
cursor: pointer;
transition: box-shadow 0.2s; }

.box:hover {
.box-feed:hover {
box-shadow: 0px 12px 32px rgba(27, 25, 36, 0.12); }

.box h4 {
.box-feed h4 {
margin-bottom: 4px;
transition: color 0.2s; }

.box:hover h4 {
.box-feed:hover h4 {
color: var(--link); }

.search-suggestions {
Expand All @@ -3805,10 +3858,11 @@ a.navbar-item,
padding: 8px 16px;
height: 2rem; }

.tags.are-medium.are-var(--bg-main) .tag:not(body) {
.tags.are-medium.are-white .tag:not(body) {
background: var(--bg-sub); }

.section.is-note .column.is-primary-content {
.section.is-note .column.is-primary-content,
.note-page-section {
background: var(--bg-main);
border-radius: 8px;
position: relative; }
Expand All @@ -3821,13 +3875,14 @@ a.navbar-item,
margin-right: 0; }

@media screen and (min-width: 769px), print {
.section.is-note .column.is-primary-content {
padding: 40px 116px; } }
.section.is-note .column.is-primary-content,
.note-page-section {
padding: 3rem 8rem; } }

@media screen and (min-width: 769px), print {
.for-back-home {
position: absolute;
left: 16px; } }
left: 0.7rem; } }

.tag:not(body) {
padding-left: 1em;
Expand Down