Skip to content

Commit 9d7b40e

Browse files
author
Moritz »mo.« Sauer
committed
Update typography
1 parent e12be7b commit 9d7b40e

4 files changed

Lines changed: 127 additions & 66 deletions

File tree

_data/navigation.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
url: "/design/style-guide/"
77
side: left
88
dropdown:
9-
- title: "Style Your Posts"
10-
url: "/design/elements/"
119
- title: "The Grid"
1210
url: "/design/grid/"
1311
- title: "Blog-Page"

_posts/design/2014-07-05-elements.md

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

_posts/design/2014-09-16-typography.md

Lines changed: 104 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
3939
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
4040

4141

42-
4342
#### Forth <h4>-Heading
4443

4544
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
@@ -54,13 +53,16 @@ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
5453
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
5554

5655

56+
5757
## Typographical Elements
5858

5959
Here you'll find the [complete list of HTML5-Tags][1] and this is how they look like.
6060

61+
6162
### <hr> Horizontal Lines
6263
<hr>
6364

65+
6466
### &lt;pre&gt; Displaying Code
6567
~~~
6668
<html>
@@ -71,6 +73,7 @@ Here you'll find the [complete list of HTML5-Tags][1] and this is how they look
7173
</html>
7274
~~~
7375

76+
7477
### &lt;blockquote&gt; Quotation
7578
<blockquote>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</blockquote>
7679

@@ -123,67 +126,157 @@ Pancetta flank sirloin pork
123126
### &lt;em&gt;
124127
Let's *emphasize* how important responsive webdesign is.
125128

129+
130+
126131
### &lt;strong&gt;
127132
This looks like **bold** text.
128133

134+
135+
129136
### &lt;small&gt;
130137
<small>This is small text.</small>
131138

139+
140+
132141
### &lt;s&gt;
133142

134143
It's nice getting things done. Just strike through <s>finished tasks</s>.
135144

145+
146+
136147
### &lt;cite&gt;
137148

149+
<cite>Albert Einstein</cite>
150+
151+
152+
138153
### &lt;q&gt;
139154

155+
<q>Text Example</q>
156+
157+
158+
140159
### &lt;dfn&gt;
141160

161+
<dfn>Text Example</dfn>
162+
163+
164+
142165
### &lt;abbr&gt;
143166

167+
<abbr>Text Example</abbr>
168+
169+
170+
144171
### &lt;time&gt;
145172

173+
174+
146175
### &lt;code&gt;
147176

148177
Some `code: lucida console` displayed.
149178

179+
180+
150181
### &lt;var&gt;
151182

183+
<var>Text example.</var>
184+
185+
186+
152187
### &lt;samp&gt;
153188

189+
<samp>Text example.</samp>
190+
191+
192+
154193
### &lt;kbd&gt;
155194

156195
Copycats enjoy pressing <kbd>CMD</kbd> + <kbd>c</kbd> and <kbd>CMD</kbd> + <kbd>v</kbd>.
157196

197+
198+
158199
### &lt;sub&gt;
159200

160201
This text <sub>lays low</sub> and chills a bit.
161202

203+
204+
162205
### &lt;i&gt;
163206

207+
<i>Text example.</i>
208+
209+
210+
164211
### &lt;b&gt;
165212

213+
<b>Text example.</b>
214+
215+
216+
166217
### &lt;u&gt;
167218

219+
<u>Text example.</u>
220+
221+
222+
168223
### &lt;mark&gt;
169224
Let's <mark>mark this hint</mark> to give you a clue.
170225

171226

227+
228+
172229
### &lt;br&gt;
173230

174231
Need a break? I give you three!<br><br><br>
175232

176233
## Tables
177-
&lt;table&gt;
178-
&lt;caption&gt;
179-
&lt;colgroup&gt;
180-
&lt;col&gt;
181-
&lt;tbody&gt;
182-
&lt;thead&gt;Tabellenspalten enthalten.
183-
&lt;tfoot&gt;Tabellenspalten enthalten.
184-
&lt;tr&gt; Steht für eine Zeile mit Tabellenzellen.
185-
&lt;td&gt; Kennzeichnet eine einzelne Tabellenzelle.
186-
&lt;th&gt;
234+
235+
<table>
236+
<thead>
237+
<caption>Cute Animals Per 1,000 People</caption>
238+
<tr>
239+
<th width="200">Table Header</th>
240+
<th>Table Header</th>
241+
<th width="150">Table Header</th>
242+
<th width="150">Table Header</th>
243+
</tr>
244+
</thead>
245+
<tbody>
246+
<tr>
247+
<td>Content Goes Here</td>
248+
<td>This is longer content Donec id elit non mi porta gravida at eget metus.</td>
249+
<td>Content Goes Here</td>
250+
<td>Content Goes Here</td>
251+
</tr>
252+
<tr>
253+
<td>Content Goes Here</td>
254+
<td>This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.</td>
255+
<td>Content Goes Here</td>
256+
<td>Content Goes Here</td>
257+
</tr>
258+
<tr>
259+
<td>Content Goes Here</td>
260+
<td>This is longer Content Goes Here Donec id elit non mi porta gravida at eget metus.</td>
261+
<td>Content Goes Here</td>
262+
<td>Content Goes Here</td>
263+
</tr>
264+
</tbody>
265+
</table>
266+
267+
268+
269+
270+
&lt;table&gt;
271+
&lt;caption&gt;
272+
&lt;colgroup&gt;
273+
&lt;col&gt;
274+
&lt;tbody&gt;
275+
&lt;thead&gt; Tabellenspalten enthalten.
276+
&lt;tfoot&gt; Tabellenspalten enthalten.
277+
&lt;tr&gt; Steht für eine Zeile mit Tabellenzellen.
278+
&lt;td&gt; Kennzeichnet eine einzelne Tabellenzelle.
279+
&lt;th&gt;
187280

188281

189282

documentation.md

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,40 +55,40 @@ permalink: "/documentation/"
5555

5656

5757

58-
5958
## Style your content with {#styling}
6059

61-
You can style your content in different ways. There are elements like subtitles, feature images, header images, meta data like categories and tags and many more.
60+
Feeling Responsive offers lots of possibilities to style your articles. You can style your content in different ways. There are elements like subtitles, feature images, header images, meta data like categories and tags and many more.
6261

6362

6463
### Subtitles
64+
6565
If you need a subheadline for an article, just define a subheadline in front matter like this:
6666

6767
`subtitle: "Subheadline"`
6868

69+
### Quotes
6970

70-
### Different images: Header, Title, Thumbnails {#images}
71+
Quotes mix it up a little bit, if you write long articles. So use quotes:
7172

72-
There are four types of images you can define via frontmatter: thumbnails, header images, title images and images in your article.
73+
> Age is an issue of mind over matter. If you don't mind, it doesn't matter.
74+
<cite>Mark Twain</cite>
7375
7476

75-
### Header Images
7677

77-
Header images are displayed right under the top navigation. We use Backstretch to expand them from left to right. The width should be 1600 pixel or higher and in a ratio like 16:9 or 21:9 or 2:1.
7878

79-
~~~
80-
image:
81-
header: thumbnail_image.jpg
82-
~~~
8379

80+
## Images: Header, Title, Thumbnails {#images}
8481

85-
### Thumbnails
82+
There are four types of images you can define via frontmatter: thumbnails, header images, title images and images in your article.
8683

87-
Thumbnails are used on archive pages like the [blog index][2]. Define them in front matter like this:
84+
85+
### Header Images
86+
87+
Header images are displayed right under the top navigation. We use Backstretch to expand them from left to right. The width should be 1600 pixel or higher and in a ratio like 16:9 or 21:9 or 2:1. <mark>If you don't want any header image just write `image_header: "no"` into front matter.</mark>
8888

8989
~~~
9090
image:
91-
thumb: thumbnail_image.jpg
91+
header: thumbnail_image.jpg
9292
~~~
9393

9494

@@ -102,6 +102,16 @@ image:
102102
You can choose to show a special full-width header image or not.
103103

104104

105+
### Thumbnails
106+
107+
Thumbnails are used on archive pages like the [blog index][2]. Define them in front matter like this:
108+
109+
~~~
110+
image:
111+
thumb: thumbnail_image.jpg
112+
~~~
113+
114+
105115
### Define all three images
106116

107117
~~~

0 commit comments

Comments
 (0)