about summary refs log tree commit diff stats
path: root/app/assets/stylesheets/entries.scss
blob: 683314105b67001b9689cddcb17281c532d82aef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// Place all the styles related to the Entries controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

#blog-post {
  font-size: 16px;
  line-height: 24px;
  margin: 0 3em;

  h2 {
    font-size: 45px;
    line-height: 48px;
    margin-top: .5em;
  }

  h3 {
    font-size: 37px;
    line-height: 42px;
  }

  h2, h3 {
    font-family: 'Slabo 27px', serif;
    margin-bottom: 0;
    font-weight: normal;
  }

  #blog-content {
    hyphens: auto;
    word-wrap: break-word;
    font-family: 'Roboto', sans-serif;
    text-align: justify;

    a {
      text-decoration: none;
      font-weight: bold;

      &, &:visited {
        color: #ee2c2c;
      }

      &:hover {
        text-decoration: underline;
        color: #9ea1ad;
      }
    }

    li {
      & + li {
        margin-top: 1em;
      }
    }

    img {
      max-width: 100%;
    }
  }
}