Skip to content

Commit 7eb05b8

Browse files
committed
Fix styling
1 parent f2be28f commit 7eb05b8

File tree

3 files changed

+15
-37
lines changed

3 files changed

+15
-37
lines changed

_posts/2019-04-16-welcome-to-jekyll2.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ You’ll find this post in your `_posts` directory. Go ahead and edit it and re-
99
To add new posts, simply add a file in the `_posts` directory that follows the convention `YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works.
1010

1111
> "This is a quote which should be followed"
12-
>
12+
> Also I think this sentence is quite long.
13+
> more quote text to come
1314
> - Chris Wayne
1415
1516
However, these are bulletpoints:
@@ -47,3 +48,5 @@ Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most ou
4748
[jekyll-docs]: https://jekyllrb.com/docs/home
4849
[jekyll-gh]: https://github.com/jekyll/jekyll
4950
[jekyll-talk]: https://talk.jekyllrb.com/
51+
52+
<blockquote class="twitter-tweet"><p lang="en" dir="ltr"><a href="https://twitter.com/hashtag/jekyll?src=hash&amp;ref_src=twsrc%5Etfw">#jekyll</a> <a href="https://twitter.com/hashtag/dash?src=hash&amp;ref_src=twsrc%5Etfw">#dash</a> now officially supports both, dark and light theming. Enjoy!<a href="https://t.co/4evp9pX2Ws">https://t.co/4evp9pX2Ws</a> <a href="https://t.co/vOQCZjGKic">pic.twitter.com/vOQCZjGKic</a></p>&mdash; 〽️ɪɢᴜᴇʟ (@bitbrain_) <a href="https://twitter.com/bitbrain_/status/1166440978124877827?ref_src=twsrc%5Etfw">August 27, 2019</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

_sass/dash/_layout.scss

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -147,17 +147,10 @@
147147
list-style: none;
148148
margin-left: 0;
149149

150-
svg {
151-
@include themed() {
152-
color: t('list-secondary');
153-
}
154-
margin-right: 0.65em;
155-
margin-bottom: -1px;
156-
}
157-
158150
&:before {
159151
content: $icon-check;
160152
@include font-awesome-icon;
153+
margin-right: 0.5em;
161154
}
162155
}
163156

@@ -177,25 +170,18 @@
177170
color: t('quote-primary');
178171
}
179172

173+
& > p {
174+
display: block;
175+
padding-left: 3em;
176+
}
177+
180178
&:before {
181179
content: $icon-quote-right;
182180
@include font-awesome-icon;
183-
}
184-
185-
& > svg.svg-inline--fa {
186-
@include themed() {
187-
color: t('quote-primary');
188-
}
181+
margin-right: -2em;
189182
float: left;
190-
width: 3em;
191-
height: 3em;
192-
margin-right: 1em;
193-
}
194183

195-
& > ul > li > svg {
196-
@include themed() {
197-
color: t('quote-primary');
198-
}
184+
font-size: 2em;
199185
}
200186

201187
li {
@@ -205,10 +191,6 @@
205191
&:before {
206192
content: $icon-minus;
207193
}
208-
209-
& > svg {
210-
margin-left: 2em;
211-
}
212194
}
213195
}
214196
}
@@ -252,10 +234,6 @@
252234
}
253235
}
254236

255-
& > svg {
256-
margin-right: 0.4em;
257-
}
258-
259237
&:before {
260238
content: $icon-tag;
261239
@include font-awesome-icon;
@@ -297,10 +275,6 @@
297275
&:hover {
298276
text-decoration: none;
299277
}
300-
301-
svg {
302-
padding-left: 0.1em;
303-
}
304278
}
305279

306280
& > a {
@@ -362,6 +336,7 @@ ul.related-posts {
362336
content: $icon-flask;
363337
@include font-awesome-icon;
364338
color: $color-green;
339+
margin-right: 0.5em;
365340
}
366341
}
367342
}
@@ -388,4 +363,4 @@ ul.related-posts {
388363
}
389364
color: $color-yellow;
390365
}
391-
}
366+
}

jekyll-dash.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gem::Specification.new do |spec|
44
spec.name = "jekyll-dash"
5-
spec.version = "1.3.2"
5+
spec.version = "1.3.3"
66
spec.authors = ["Miguel Gonzalez Sanchez"]
77
spec.email = ["[email protected]"]
88

0 commit comments

Comments
 (0)