~zainab/blog

blog/src/main.css.pp -rw-r--r-- 1.5 KiB
d9e5070ezainab-ali Add question aside 8 months ago
                                                                                
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
#lang pollen

(require "theme.rkt")

.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

header h1.bookTitle {
  font-family: "Kalam", "Source Serif Pro";
  font-size: 36px;
}

/* Link styling */

header h1.bookTitle > a,
header h1.bookTitle > a:visited,
footer a,
footer a:visited,
body.index-page button.summary-card header h1,
body.chapter-page header nav a,
body.chapter-page header nav a:visited {
  text-decoration: underline solid |needle-colour|;
  color: |dark-stitch-colour|;
}

header h1.bookTitle > a:hover,
header h1.bookTitle > a:focus,
footer a:hover,
footer a:focus,
body.index-page button.summary-card:hover header h1,
body.index-page button.summary-card:focus header h1,
body.chapter-page header nav a:focus,
body.chapter-page header nav a:hover {
   /* Have a darker background colour for links */
  text-decoration: underline double |needle-colour|;
}

/* Basic font settings */
body {
  font-family: |serif-font|, serif;
  font-size: |body-font-size|px;
  font-feature-settings: "kern", "liga" on;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

@counter-style code-references {
  system: fixed;
  symbols:                          ;
  suffix: " ";
}