ref: 33b28906c9f635e7d1e4b4114cd9954d61eb32f2 personal-site/sass/_section.scss -rw-r--r-- 1.1 KiB View raw
                                                                                
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
main .section {
  #section-title {
    text-decoration: underline;
    font-size: 2.5em;
  }
  h2, h3, h4 {
    a {
      color: $text;
      text-decoration: none;

      &:hover {
        color: $primary;
        text-decoration: underline;
      }
    }
  }
}


.section-post {
  @media (min-device-width: $large-screen) {
    font-size: 1.65rem;
  }

  .row {
    @media (max-device-width: $mobile-screen) { font-size: 1.8rem; }
    display: flex;
    flex-flow: row wrap;
    justify-content: start;

    .post-title {
      @media (max-device-width: $mobile-screen) {
        margin-bottom: .75rem;
      }
    }

    .post-date {
      font-family: $monospace-stack;
      margin-right: .75rem;
      
      @media (max-device-width: $mobile-screen) {
        display: none;
      }
    }

    .post-summary {
      margin-left: 1.5rem;

      @media (max-device-width: $mobile-screen) {
        display: none;
      }
    }
  }

  h2 {
    font-size: 1.6em;
    margin-bottom: 0px;
  }

  p {
    margin-bottom: 1rem;
  }

  .post-title {
    @include anchor-style;

    text-decoration: none;
    a {
      text-decoration: none;
    }
  }
}