Skip to content

Commit

Permalink
Styling - Edited scss & posts/_metadata.yml
Browse files Browse the repository at this point in the history
- Smaller spacer on cards
- Changed caption text color & alignment
- Enabled lightbox on all posts
  • Loading branch information
sj-io committed Mar 23, 2024
1 parent 4dbcc72 commit 496b6ab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 12 additions & 1 deletion custom.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/*-- scss:defaults --*/
// Code blocks
$code-block-bg: #E5EBF4;
$card-spacer-y: 1.2rem;
$card-spacer-x: 1.2rem;

/*-- scss:rules --*/
.panel-caption, .figure-caption, .subfigure-caption, .table-caption, figcaption, caption {
color: #6c757d;
text-align: center;
}

.margin-caption, div.aside, aside, .column-margin {
color: #6c757d;
}
2 changes: 2 additions & 0 deletions posts/_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ author:

# Default fields for citation
citation: true

lightbox: true

0 comments on commit 496b6ab

Please sign in to comment.