Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Wilmore): Fix Code, Math, DataPublished node formatting & styles
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ketch committed Mar 16, 2020
1 parent f775d96 commit 1a9f528
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
1 change: 1 addition & 0 deletions src/themes/wilmore/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import '../../extensions/cite-apa'
import '../../extensions/code'
27 changes: 14 additions & 13 deletions src/themes/wilmore/styles.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@import '../../extensions/cite-apa/styles.css';
@import '../../extensions/math/styles.css';
@import '../../extensions/pages/styles.css';
@import '../../extensions/person/styles.css';
@import '../../fonts/merriweather/merriweather.css';

:--root {
Expand Down Expand Up @@ -40,19 +44,6 @@
--color-primary-900: #171921;

/* Neutral: For backgrounds and borders */

/*
--color-neutral-100: #fdf9f3;
--color-neutral-200: #fcf7ef;
--color-neutral-300: #fbf4eb;
--color-neutral-400: #f5ede1;
--color-neutral-500: #ece2d5;
--color-neutral-600: #dfd4c6;
--color-neutral-700: #cbc0b3;
--color-neutral-800: #b2a89c;
--color-neutral-900: #544F4A;
*/

--color-neutral-100: #fffbf5;
--color-neutral-200: #f7f3ef;
--color-neutral-300: #f1eae1;
Expand Down Expand Up @@ -91,13 +82,15 @@
}

:--Date,
:--datePublished,
:--Heading,
h1,
h2,
h3,
:--Paragraph,
:--Collection,
:--List,
:--MathBlock,
:--Organization,
:--authors,
:--description,
Expand All @@ -123,6 +116,10 @@
max-width: 100%;
}
}

& > :--datePublished {
display: block;
}
}

:--Code,
Expand Down Expand Up @@ -484,6 +481,10 @@ h6:--Heading {
}

:--references {
> ol {
list-style-type: decimal;
}

:--CreativeWork {
margin-bottom: 1rem;

Expand Down

0 comments on commit 1a9f528

Please sign in to comment.