-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpoole-sass.patch
147 lines (136 loc) · 3.82 KB
/
poole-sass.patch
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
diff -ru _sass/_base.scss ../information-safety.github.io/_sass/_base.scss
--- _sass/_base.scss 2020-04-05 09:43:03.000000000 -0500
+++ ../information-safety.github.io/_sass/_base.scss 2020-04-05 17:36:39.000000000 -0500
@@ -6,6 +6,7 @@
box-sizing: border-box;
}
+html,
body {
margin: 0;
font-family: var(--body-font);
@@ -20,11 +21,13 @@
// No `:visited` state is required by default (browsers will use `a`)
a {
color: var(--link-color);
+ text-decoration: none;
// `:focus` is linked to `:hover` for basic accessibility
&:hover,
&:focus {
color: var(--link-hover-color);
+ text-decoration: underline;
}
strong {
diff -ru _sass/_layout.scss ../information-safety.github.io/_sass/_layout.scss
--- _sass/_layout.scss 2020-04-05 09:43:03.000000000 -0500
+++ ../information-safety.github.io/_sass/_layout.scss 2020-04-05 16:57:57.000000000 -0500
@@ -3,7 +3,7 @@
// Styles for managing the structural hierarchy of the site.
.container {
- max-width: 45rem;
+ max-width: 50rem;
padding-left: var(--spacer-2);
padding-right: var(--spacer-2);
margin-left: auto;
diff -ru _sass/_masthead.scss ../information-safety.github.io/_sass/_masthead.scss
--- _sass/_masthead.scss 2020-04-05 09:43:03.000000000 -0500
+++ ../information-safety.github.io/_sass/_masthead.scss 2020-04-05 19:39:24.000000000 -0500
@@ -3,13 +3,18 @@
// Super small header above the content for site name and short description.
.masthead {
- padding-top: var(--spacer);
- padding-bottom: var(--spacer);
+ padding-top: var(--spacer-2);
+ padding-bottom: var(--spacer-2);
margin-bottom: var(--spacer-3);
+ text-align: center;
+ color: var(--black);
+ background-color: var(--safety);
}
.masthead-title {
+ margin-top: 0;
margin-bottom: 0;
+ font-size: 3rem;
a {
color: inherit;
@@ -21,3 +26,42 @@
opacity: .5;
}
}
+
+.masthead-logo {
+ width: 10rem;
+ margin: auto;
+ padding-bottom: var(--spacer);
+
+ @media (min-width: 40rem) {
+ float: left;
+ margin-left: var(--spacer-2);
+ }
+}
+
+.masthead-tagline {
+ font-size: inherit;
+ font-weight: normal;
+}
+
+.masthead-navbar {
+ font-weight: bold;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ text-align: center;
+
+ li {
+ display: inline;
+ }
+
+ a {
+ color: inherit;
+ text-decoration: none;
+ display: inline-block;
+ padding: 0.5rem;
+ }
+
+ a:hover {
+ background-color: var(--safety-2);
+ }
+}
diff -ru _sass/_posts.scss ../information-safety.github.io/_sass/_posts.scss
--- _sass/_posts.scss 2020-04-05 09:43:03.000000000 -0500
+++ ../information-safety.github.io/_sass/_posts.scss 2020-04-05 18:11:01.000000000 -0500
@@ -32,13 +32,21 @@
}
// Meta data line below post title
+.post-author,
.post-date {
display: block;
margin-top: -.5rem;
margin-bottom: var(--spacer);
color: var(--gray-600);
+
+ a {
+ color: inherit;
+ }
}
+a.comment {
+ color: var(--gray-600);
+}
// Related posts
.related {
diff -ru _sass/_variables.scss ../information-safety.github.io/_sass/_variables.scss
--- _sass/_variables.scss 2020-04-05 09:43:03.000000000 -0500
+++ ../information-safety.github.io/_sass/_variables.scss 2020-04-05 17:14:05.000000000 -0500
@@ -26,8 +26,12 @@
--blue-400: #4dabf7;
--yellow-100: #fff3bf;
- --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
- --body-font-size: 16px;
+ --black: #000000;
+ --safety: #ffcc33;
+ --safety-2: #eebb22;
+
+ --body-font: "Helvetica Neue", Arial, "Noto Sans", sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
+ --body-font-size: 18px;
--body-line-height: 1.5;
--body-color: var(--gray-700);
--body-bg: #fff;