about summary refs log tree commit diff stats
path: root/app/assets/stylesheets/entries.scss
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-29 14:53:15 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-29 14:53:15 -0400
commit5ff9457ee3d2f1c636da8d13c47c608543d2e5f7 (patch)
tree1f573d03fe248a01a420a809a1a3a325c80774f7 /app/assets/stylesheets/entries.scss
parent5a82b1a0bdf24cdf0a05a84183106ff106f88626 (diff)
downloadthoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.tar.gz
thoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.tar.bz2
thoughts-5ff9457ee3d2f1c636da8d13c47c608543d2e5f7.zip
Worked on style of blog posts
Diffstat (limited to 'app/assets/stylesheets/entries.scss')
-rw-r--r--app/assets/stylesheets/entries.scss54
1 files changed, 54 insertions, 0 deletions
diff --git a/app/assets/stylesheets/entries.scss b/app/assets/stylesheets/entries.scss index f779b1b..6833141 100644 --- a/app/assets/stylesheets/entries.scss +++ b/app/assets/stylesheets/entries.scss
@@ -1,3 +1,57 @@
1// Place all the styles related to the Entries controller here. 1// Place all the styles related to the Entries controller here.
2// They will automatically be included in application.css. 2// They will automatically be included in application.css.
3// You can use Sass (SCSS) here: http://sass-lang.com/ 3// You can use Sass (SCSS) here: http://sass-lang.com/
4
5#blog-post {
6 font-size: 16px;
7 line-height: 24px;
8 margin: 0 3em;
9
10 h2 {
11 font-size: 45px;
12 line-height: 48px;
13 margin-top: .5em;
14 }
15
16 h3 {
17 font-size: 37px;
18 line-height: 42px;
19 }
20
21 h2, h3 {
22 font-family: 'Slabo 27px', serif;
23 margin-bottom: 0;
24 font-weight: normal;
25 }
26
27 #blog-content {
28 hyphens: auto;
29 word-wrap: break-word;
30 font-family: 'Roboto', sans-serif;
31 text-align: justify;
32
33 a {
34 text-decoration: none;
35 font-weight: bold;
36
37 &, &:visited {
38 color: #ee2c2c;
39 }
40
41 &:hover {
42 text-decoration: underline;
43 color: #9ea1ad;
44 }
45 }
46
47 li {
48 & + li {
49 margin-top: 1em;
50 }
51 }
52
53 img {
54 max-width: 100%;
55 }
56 }
57}