Skip to content

Commit 397cbd9

Browse files
authored
Redesign, fixes and meta tags (official-stockfish#21)
1 parent 4d071b0 commit 397cbd9

File tree

21 files changed

+134
-73
lines changed

21 files changed

+134
-73
lines changed

assets/scss/components/_content.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
.content {
2-
a {
3-
text-decoration: underline;
4-
}
52
.button {
63
text-decoration: none;
74
}
@@ -12,7 +9,7 @@
129
margin-bottom: 20px;
1310
}
1411
strong {
15-
font-width: bold;
12+
font-weight: bold;
1613
}
1714
em {
1815
font-style: italic;
@@ -77,8 +74,11 @@
7774
th,
7875
td {
7976
padding: 5px;
80-
vertical-align: top;
77+
vertical-align: middle;
8178
border-top: 1px solid $white-offset;
79+
&:last-child {
80+
text-align: end;
81+
}
8282
}
8383
thead th {
8484
vertical-align: bottom;

assets/scss/components/_logo.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@
77
max-width: unset;
88
}
99
a {
10-
display: block;
11-
width: 100%;
12-
height: 100%;
10+
display: flex;
11+
align-items: center;
12+
span {
13+
color: $black;
14+
margin-left: 4px;
15+
font-family: $font-family-heading;
16+
font-size: 24px;
17+
font-weight: 700;
18+
vertical-align: middle;
19+
}
1320
}
1421
}
1522
.logo-mobile {

assets/scss/components/_social.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.social {
2-
display: block;
2+
display: inline-flex;
3+
margin-right: 10px;
34
img {
45
width: 20px;
56
height: 20px;

assets/scss/components/_sub-footer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
}
1717
}
1818
.copyright {
19-
margin-top: 10px;
2019
font-size: 14px;
20+
align-items: center;
21+
display: flex;
2122
a {
2223
font-weight: bold;
2324
color: inherit;

assets/scss/components/_type.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ p {
88
margin-bottom: 20px;
99
}
1010
h1 {
11-
font-size: 20px;
11+
font-size: 24px;
1212
font-family: $font-family-heading;
1313
line-height: 1.2;
1414
margin-bottom: 20px;
@@ -18,7 +18,7 @@ h1 {
1818
}
1919
}
2020
h2 {
21-
font-size: 24px;
21+
font-size: 20px;
2222
font-family: $font-family-heading;
2323
line-height: 1.4;
2424
margin-bottom: 10px;

config.toml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,21 @@ title = "Stockfish - Open Source Chess Engine"
1212
[params.logo]
1313
mobile = "images/logo/icon_128x128@2x.png"
1414
desktop = "images/logo/icon_128x128@2x.png"
15-
desktop_height = "36px"
15+
desktop_height = "36"
1616
alt = "Stockfish Logo"
1717

1818
[params.homepage_meta_tags]
19-
meta_description = "Stockfish is a powerful and open source chess engine."
20-
# meta_og_title = "Hugo Serif Theme"
21-
# meta_og_type = "website"
22-
# meta_og_url = "https://hugo-serif.netlify.app"
23-
# meta_og_image = "https://raw.githubusercontent.com/JugglerX/hugo-serif-theme/master/images/tn.png"
24-
# meta_og_description = "Serif is a modern business theme for Hugo. It contains content types for the archetypical business website. The theme is fully responsive, blazing fast and artfully illustrated."
25-
# meta_twitter_card = "summary"
26-
# meta_twitter_site = "@zerostaticio"
27-
# meta_twitter_creator = "@zerostaticio"
19+
meta_description = "Stockfish is a strong and open source chess engine."
20+
21+
meta_twitter_site = "@stockfishchess"
22+
meta_twitter_card = "summary"
23+
24+
meta_og_site_name = "Stockfish"
25+
meta_og_type = "website"
26+
meta_og_url = "https://stockfishchess.org/"
27+
meta_og_image = "https://stockfishchess.org/images/logo/icon_128x128@2x.png"
28+
29+
meta_theme_color = "#2b6e44"
2830

2931
[params.team]
3032
summary_large_truncate = 120 # How many characters to include in the summary of the team bios (large layout) before truncating

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Home'
2+
title: "Stockfish - Open Source Chess Engine"
33
intro_image: "images/logo/icon_512x512@2x.png"
44
---
55

content/about.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
title: 'About'
33
---
44

5-
65
## Get Notified
76

8-
Get notified about new releases by [following us on
9-
Twitter](http://twitter.com/stockfishchess), [liking us on
10-
Facebook](http://facebook.com/stockfishchess), or [reading our
11-
blog](/blog/).
7+
Get notified about new releases by
8+
[following us on Twitter](http://twitter.com/stockfishchess),
9+
joining our [Discord](https://discord.gg/GWDRS3kU6R),
10+
watching us on [GitHub](https://github.com/official-stockfish/Stockfish),
11+
or [reading our blog](/blog/).
1212

1313
## Engine Authors
1414

@@ -24,12 +24,13 @@ Glaurung 2.1 code and introduced Stockfish 1.0. Tord and Joona Kiiski
2424
joined the Stockfish project and the Glaurung project slowly faded away.
2525
Meanwhile, Stockfish quickly rose to become the strongest open source
2626
chess engine, with frequent updates every few months. Today, it remains
27-
[one of the strongest engines](https://en.wikipedia.org/wiki/Top_Chess_Engine_Championship#Tournament_results) in the world.
27+
[one of the strongest engines](https://en.wikipedia.org/wiki/Stockfish_(chess)#Competition_results) in the world.
2828

2929
## About this website
3030

31-
This website was built by [Daylen Yang](http://daylen.com/). The
32-
Stockfish icon was designed by [Klein Maetschke](http://iamkle.in).
31+
This website was built by [Daylen Yang](http://daylen.com/) and its source code
32+
in on [Github](https://github.com/daylen/stockfish-web). The Stockfish icon was
33+
designed by [Klein Maetschke](http://iamkle.in).
3334

3435
## About the GPL
3536

content/blog/_index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
title: "Blog"
2+
title: "Stockfish Blog"
3+
description: "Updates from the Stockfish team."
34
date: 2019-12-07T19:59:42+01:00
45
draft: false
56
weight: 100
67
---
7-
# Stockfish Blog
8+
89
Updates from the Stockfish team.

content/download/_index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: 'Download Stockfish 16'
3+
description: 'Download Stockfish for Windows, Android, MacOS, iOS or Linux.'
34
layout: single
45
aliases:
56
- /mac/

0 commit comments

Comments
 (0)