Skip to content

Commit db0bda6

Browse files
committed
linkifying header, fixing inline <code>
1 parent 21c5b78 commit db0bda6

5 files changed

Lines changed: 45 additions & 10 deletions

File tree

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ branch: master
2626
# Navigation
2727
# List links that should appear in the site sidebar here
2828
navigation:
29-
- text: HTTPS for .gov
29+
- text: Home
3030
url: /
3131
- text: Why Everything?
3232
url: /everything/

_layouts/default.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141

4242
<div class="container">
4343
<header role="banner">
44-
<h1>{{ site.name }}</h1>
44+
<h1>
45+
<a href="/">{{ site.name }}</a>
46+
</h1>
4547
</header>
4648

4749
<div class="wrap content">

assets/_sass/styles.scss

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,17 @@ header {
154154
background-color: $header;
155155
padding: 1.5em;
156156
color: $white;
157+
158+
h1 a,
159+
h1 a:link,
160+
h1 a:visited {
161+
color: $white;
162+
border-bottom: 0px;
163+
}
164+
165+
h1 a:hover {
166+
border-bottom: 1px solid #fff;
167+
}
157168
}
158169

159170
header h1 {
@@ -200,12 +211,20 @@ header h1 {
200211
}
201212

202213

214+
p > code, li > code {
215+
padding: 2px 4px;
216+
background-color: #eaeaff;
217+
border: 1px solid #d5d5d5;
218+
font-size: 10pt;
219+
font-family: monospace;
220+
}
221+
203222
pre {
204-
max-width: 100%;
205-
font-size: 0.875em;
206-
overflow-y: scroll;
207-
background-color: #f1f2f2;
208-
padding: 10px;
223+
max-width: 100%;
224+
font-size: 0.875em;
225+
overflow-y: scroll;
226+
background-color: #f1f2f2;
227+
padding: 10px;
209228
}
210229

211230

@@ -222,7 +241,7 @@ header {
222241
aside {
223242
width: 25%;
224243
left: 0%;
225-
position: fixed;
244+
position: absolute;
226245
}
227246

228247
.main-content {

assets/css/styles.css

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/styles.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)