Skip to content

Commit 6c1cc28

Browse files
committed
Unify static and asset directories and improve styling
1 parent 9c68083 commit 6c1cc28

File tree

8 files changed

+31
-4
lines changed

8 files changed

+31
-4
lines changed

hugo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = "https://example.com"
1+
baseURL = "https://libsemigroups.github.io"
22

33
# This is a "one page"-website, so we do not need these kinds of pages...
44
disableKinds = ["section", "taxonomy", "term", "RSS", "robotsTXT"]
@@ -31,7 +31,7 @@ font-size = "xs"
3131
# services like Twitter or Slack want to generate a preview of a link to your site.
3232
# See https://gohugo.io/templates/internal#twitter-cards and https://gohugo.io/templates/internal#open-graph.
3333
# NOT the actual header background image, go to _index.md instead
34-
images = ["images/cover-image.jpg"]
34+
images = ["images/smalloverlap_510x510.png"]
3535

3636
# When set true, it creates a visual guard (partially transparent rounded box), preventing non-ideal background images from interfering with title/description headings
3737
# Ideal images are homogenous around the centre and contrasting to the text.

layouts/gsoc.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<main
33
class="content page-template page-"
44
style="
5-
background-image: url('{{ .Params.bgImage }}');
5+
{{ with resources.Get .Params.bgImage }}
6+
background-image: url('{{ .RelPermalink }}');
7+
{{ end }}
68
background-size: cover;
79
background-position: center;
810
background-repeat: repeat-y;
@@ -12,6 +14,11 @@
1214
a:visited {
1315
color: #12355b;
1416
}
17+
article {
18+
background: #f2efe8;
19+
padding-left: 4em;
20+
padding-right: 4em;
21+
}
1522
</style>
1623
<article class="post page">{{ .Content }}</article>
1724
</main>

layouts/partials/custom_head.html

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,34 @@
1313
}
1414

1515
a {
16-
color: #86c440;
16+
color: #478600;
1717
}
1818
a:hover {
1919
color: #37501a;
2020
}
2121

22+
.dark a {
23+
color: #94c4ff;
24+
}
25+
.dark a:hover {
26+
color: #2b2fec;
27+
}
28+
2229
.darklinks a {
2330
color: #b80135;
31+
border-radius: 6px;
32+
-webkit-border-radius: 6px;
33+
background: #f2efe8;
34+
padding: 10px 20px;
35+
font-size: 16px;
36+
margin-top: 2rem;
37+
display: inline-block;
38+
text-decoration: none;
39+
position: relative;
40+
overflow: visible;
41+
}
42+
.darklinks a:hover {
43+
color: #ff737e;
2444
}
2545

2646
h3 {
-2.67 KB
Binary file not shown.
-8.58 KB
Binary file not shown.

static/images/favicon-16x16.png

-371 Bytes
Binary file not shown.

static/images/favicon-32x32.png

-495 Bytes
Binary file not shown.
-63.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)