Skip to content

Commit 72cb2f5

Browse files
committed
Fix styles
1 parent 611c93f commit 72cb2f5

File tree

5 files changed

+34
-303
lines changed

5 files changed

+34
-303
lines changed

content/posts/a-post-with-a-cover.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: A post with a cover image
3+
date: 2019-01-07
4+
published: true
5+
tags: ['Markdown']
6+
series: false
7+
cover_image: ./images/alexandr-podvalny-220262-unsplash.jpg
8+
canonical_url: false
9+
description: "Markdown is intended to be as easy-to-read and easy-to-write as is feasible. Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions."
10+
---
11+
12+
Readability, however, is emphasized above all else. A Markdown-formatted
13+
document should be publishable as-is, as plain text, without looking
14+
like it's been marked up with tags or formatting instructions.
15+
16+
While Markdown's syntax has been influenced by several existing text-to-HTML filters -- including [Setext](http://docutils.sourceforge.net/mirror/setext.html), [atx](http://www.aaronsw.com/2002/atx/), [Textile](http://textism.com/tools/textile/), [reStructuredText](http://docutils.sourceforge.net/rst.html),
17+
[Grutatext](http://www.triptico.com/software/grutatxt.html), and [EtText](http://ettext.taint.org/doc/) -- the single biggest source of
18+
inspiration for Markdown's syntax is the format of plain text email.
19+
20+

content/posts/a-post-with-a-poster.md

Lines changed: 0 additions & 291 deletions
This file was deleted.

content/posts/markdown-test-file.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ canonical_url: false
77
description: "Markdown is intended to be as easy-to-read and easy-to-write as is feasible. Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as plain text, without looking like it's been marked up with tags or formatting instructions."
88
---
99

10-
## Overview
11-
12-
Markdown is intended to be as easy-to-read and easy-to-write as is feasible.
13-
14-
Readability, however, is emphasized above all else. A Markdown-formatted
10+
Markdown is intended to be as easy-to-read and easy-to-write as is feasible.Readability, however, is emphasized above all else. A Markdown-formatted
1511
document should be publishable as-is, as plain text, without looking
16-
like it's been marked up with tags or formatting instructions. While
17-
Markdown's syntax has been influenced by several existing text-to-HTML
12+
like it's been marked up with tags or formatting instructions.
13+
14+
While Markdown's syntax has been influenced by several existing text-to-HTML
1815
filters -- including [Setext](http://docutils.sourceforge.net/mirror/setext.html), [atx](http://www.aaronsw.com/2002/atx/), [Textile](http://textism.com/tools/textile/), [reStructuredText](http://docutils.sourceforge.net/rst.html),
1916
[Grutatext](http://www.triptico.com/software/grutatxt.html), and [EtText](http://ettext.taint.org/doc/) -- the single biggest source of
2017
inspiration for Markdown's syntax is the format of plain text email.

content/posts/say-hello-to-gridsome.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ description: "A new static site generator baby is born. It's highly inspired by
77

88
---
99

10+
A new static site generator baby is born. It's highly inspired by Gatsby.js (React based) but built on top of Vue.js. We have been working on it for a year and will have a beta ready soon. You can expect this baby to grow up fast!
11+
1012
We think **Gridsome** is a missing piece to the Vue.js ecosystem. What Gatsby.js does for React.js is a game changer in how we build websites. React.js is excellent, but we think Vue.js is more approachable for most web designers and devs getting started with JAMstack. Gridsome is the Vue.js alternative to Gatsby.
1113

1214
With **Gridsome** you get a **universal GraphQL layer** for all your connected data sources. It's like a single source of truth for your website data ready to be used in any page or components. Connect to any CMS or APIs like Google Spreadsheet, Airtable, Instagram Feed, local markdown files, etc.

src/templates/Post.vue

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,15 @@ query Post ($path: String!) {
7575
}
7676
}
7777
78-
&__excerpt {
79-
font-size: 1.2em;
80-
color: var(--title-color);
81-
}
82-
8378
&__content {
79+
h2:first-child {
80+
margin-top: 0;
81+
}
82+
83+
p:first-of-type {
84+
font-size: 1.2em;
85+
color: var(--title-color);
86+
}
8487
img {
8588
width: calc(100% + var(--space) * 2);
8689
margin-left: calc(var(--space) * -1);

0 commit comments

Comments
 (0)