personal-site/sass/_misc.scss -rw-r--r-- 2.2 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* Misc all */
  html {
    font-family: $serif-stack;
    position: relative;
    min-height: 100%;
  }

  strong {
    font-weight: bold;
  }

  pre { background: $pre_background; }

  body {
    font-family: $serif-stack;
    font-weight: 300;
    min-height: 100%;
    position: relative;
    background-color: $site_background;
    counter-reset: item;
  }

  h1 {
    @media (max-device-width: $mobile-screen) { font-size: 2.8rem; }
    @media (min-device-width: $mobile-screen)
      and (max-device-width: $large-screen) { font-size: 3.4rem; }
  }

  h2 {
    @media (max-device-width: $mobile-screen) { font-size: 2.4rem; }
    @media (min-device-width: $mobile-screen)
      and (max-device-width: $large-screen) { font-size: 2.8rem; }
    font-size: 2em;
  }

  h3 {
    @media (max-device-width: $mobile-screen) { font-size: 2.2rem; }
    @media (min-device-width: $mobile-screen)
      and (max-device-width: $large-screen) { font-size: 2.4rem; }
    font-size: 1.5em;
  }

  h4 {
    @media (max-device-width: $mobile-screen) { font-size: 2.0rem; }
    @media (min-device-width: $mobile-screen)
      and (max-device-width: $large-screen) { font-size: 2rem; }
    font-size: 1.2em;
  }

  hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  ul {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 1.5rem;
  }

  form {
    margin-bottom: 0;
  }

  ol {
    counter-reset: item;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 1.5rem;

    li {
      display: block;
      &:before {
        content: counter(item) ". ";
        counter-increment: item;
        font-style: italic;
      }
    }
  }

  h1,h2,h3,h4,h5,h6,p { color: $text; }

  p {
    font-size: 16px;
    @media (min-device-width: 374px)
      and (max-device-width: $large-screen) {
      font-size: 19px;
    }

    margin-bottom: 0.75rem;
  }

  a {
    color: $primary;
    &:hover {
      color: $primary_hover;
    }
  }

  blockquote {
    padding-left: 1rem;
    margin-left: .8rem;

    @media (min-width: $mobile-screen) {
      margin-left: 2rem;
    }
  }

  #after-main {
    max-width: 680px;

    div h2 {
      font-weight: bold;
    }
  }

  #quotes {
    padding-bottom: 2em;
  }

  #plain h1 {
    font-weight: bold;
  }

  #taxonomy h2 {
    font-weight: bold;
  }