From 1c77191e8f54553241dfb60654a21463d4c8e8e5 Mon Sep 17 00:00:00 2001 From: Andrey Lesnikov Date: Wed, 14 Apr 2021 17:21:25 +0300 Subject: [PATCH] Center and abbreviate site's title --- config.toml | 2 +- sass/_extra.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 85f98c958..82a299c13 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -title = "Rust Game Development Working Group" +title = "Rust GameDev WG" description = "Stay up to date with the progress and recent developments in the Rust Game Development Working Group." base_url = "https://gamedev.rs/" default_language = "en" diff --git a/sass/_extra.scss b/sass/_extra.scss index 43c526176..57dba7ae9 100644 --- a/sass/_extra.scss +++ b/sass/_extra.scss @@ -15,6 +15,14 @@ pre > code { .site-header { // To avoid a thick black line on top of the page. border-top: none; + + // To center the site's title. + text-align: center; +} + +.site-title { + // To center the site's title. + float: none; } .intro {