1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 15:16:40 -04:00

markdownify image captions

This commit is contained in:
2019-12-19 13:04:02 -05:00
parent 7b3f045231
commit 2465903ff5
22 changed files with 79 additions and 74 deletions

View File

@ -12,7 +12,7 @@
@return linear-gradient($color-opaque, $color-opaque);
}
// Web fonts (see components/_webfonts.scss)
// Web fonts (see components/_fonts.scss)
@mixin font-face($family, $src-local, $src-local-alt, $src,
$style: normal, $weight: normal, $display: swap) {
@font-face {

View File

@ -1,5 +1,6 @@
@charset "UTF-8";
/*! Roboto Latin | Apache License 2.0 | fonts.google.com/specimen/Roboto */
@include font-face('Roboto', 'Roboto', 'Roboto-Regular', './fonts/roboto-latin-regular', normal, 400);
@include font-face('Roboto', 'Roboto Medium', 'Roboto-Medium', './fonts/roboto-latin-medium', normal, 500);
@include font-face('Roboto', 'Roboto Bold', 'Roboto-Bold', './fonts/roboto-latin-bold', normal, 700);

View File

@ -1,6 +1,6 @@
@charset "UTF-8";
/*! Fancy Waving Hand Emoji (TM) - https://jarv.is/notes/css-waving-hand-emoji/ */
/*! Fancy Waving Hand Emoji (TM) - https://go.jarv.is/wave */
@keyframes wave {
0% { transform: rotate( 0.0deg); }
10% { transform: rotate(-10.0deg); }

View File

@ -1,13 +1,13 @@
@charset "UTF-8";
/*! Compiled CSS from SASS: https://git.io/JeC7I */
/*! Compiled CSS from SASS: https://go.jarv.is/ssKHe */
// Variables & Functions
@import 'abstracts/variables';
@import 'abstracts/functions';
// Global Styles
@import 'components/webfonts';
@import 'components/fonts';
@import 'components/global';
@import 'components/header';
@import 'components/footer';

View File

@ -102,15 +102,14 @@ main#single {
// all code
div.highlight, code {
// https://markdotto.com/2018/02/07/github-system-fonts/
font-family: $system-fonts-monospace;
background: $color-super-light;
font-size: 0.9em;
page-break-inside: avoid;
}
// inline code in paragraphs
p code {
// inline code in paragraphs (single tildes)
code {
border: 1px solid $color-light;
padding: 0.2em;
}
@ -130,6 +129,11 @@ main#single {
display: block;
margin-left: 1.5em;
}
// overrides inline code styles
div.highlight code {
border: 0;
padding: 0;
}
}
&#meta {