diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-30 18:23:20 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-30 18:23:20 -0400 |
commit | 1fb650f48213117fb3ad3eedc6c041d7269adf05 (patch) | |
tree | bc9f561ce8446bc98cec42d104e522b63b8617f7 /app/assets/stylesheets/main/entries.scss | |
parent | 4fe8ef40ee70bee9d4ad897b51f602231e81bfc3 (diff) | |
download | thoughts-1fb650f48213117fb3ad3eedc6c041d7269adf05.tar.gz thoughts-1fb650f48213117fb3ad3eedc6c041d7269adf05.tar.bz2 thoughts-1fb650f48213117fb3ad3eedc6c041d7269adf05.zip |
Split up stylesheets for each layout
Diffstat (limited to 'app/assets/stylesheets/main/entries.scss')
-rw-r--r-- | app/assets/stylesheets/main/entries.scss | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app/assets/stylesheets/main/entries.scss b/app/assets/stylesheets/main/entries.scss new file mode 100644 index 0000000..038273d --- /dev/null +++ b/app/assets/stylesheets/main/entries.scss | |||
@@ -0,0 +1,60 @@ | |||
1 | // Place all the styles related to the Entries controller here. | ||
2 | // They will automatically be included in application.css. | ||
3 | // You can use Sass (SCSS) here: http://sass-lang.com/ | ||
4 | |||
5 | @import url('https://fonts.googleapis.com/css?family=Slabo+27px'); | ||
6 | @import url('https://fonts.googleapis.com/css?family=Roboto:400,700'); | ||
7 | |||
8 | #blog-post { | ||
9 | font-size: 16px; | ||
10 | line-height: 24px; | ||
11 | margin: 0 3em; | ||
12 | |||
13 | h2 { | ||
14 | font-size: 45px; | ||
15 | line-height: 48px; | ||
16 | margin-top: .5em; | ||
17 | } | ||
18 | |||
19 | h3 { | ||
20 | font-size: 37px; | ||
21 | line-height: 42px; | ||
22 | } | ||
23 | |||
24 | h2, h3 { | ||
25 | font-family: 'Slabo 27px', serif; | ||
26 | margin-bottom: 0; | ||
27 | font-weight: normal; | ||
28 | } | ||
29 | |||
30 | #blog-content { | ||
31 | hyphens: auto; | ||
32 | word-wrap: break-word; | ||
33 | font-family: 'Roboto', sans-serif; | ||
34 | text-align: justify; | ||
35 | |||
36 | a { | ||
37 | text-decoration: none; | ||
38 | font-weight: bold; | ||
39 | |||
40 | &, &:visited { | ||
41 | color: #ee2c2c; | ||
42 | } | ||
43 | |||
44 | &:hover { | ||
45 | text-decoration: underline; | ||
46 | color: #9ea1ad; | ||
47 | } | ||
48 | } | ||
49 | |||
50 | li { | ||
51 | & + li { | ||
52 | margin-top: 1em; | ||
53 | } | ||
54 | } | ||
55 | |||
56 | img { | ||
57 | max-width: 100%; | ||
58 | } | ||
59 | } | ||
60 | } | ||