From 92cba54011c0e0ceff59079979c9347e601241fa Mon Sep 17 00:00:00 2001 From: mathias Date: Thu, 26 Apr 2018 15:20:54 +0000 Subject: [PATCH] Added icons --- _config.yml | 1 + index.html | 32 ++++++++++++++++++++++++++------ style.scss | 21 +++++++++++++++++++-- 3 files changed, 46 insertions(+), 8 deletions(-) diff --git a/_config.yml b/_config.yml index 1694348..9a7172e 100644 --- a/_config.yml +++ b/_config.yml @@ -3,6 +3,7 @@ description: Kaboom.pw is a multiplayer server for Minecraft that combines free url: https://kaboom.pw exclude: + - build.sh - Gemfile - LICENSE diff --git a/index.html b/index.html index 2a2ff1f..7202175 100644 --- a/index.html +++ b/index.html @@ -1,20 +1,40 @@ --- layout: default --- -

{{ site.title }}

+

+ + + + {{ site.title }} +

{{ site.title }} is more than your regular free OP server for Minecraft. This public multiplayer server combines free OP with anarchy. Use powerful operator commands as much as you like, without having to worry about rules. Large plugins such as WorldEdit, CommandSpy and iControlU are available at any time.

- - Chat on Discord + + + + + + Chat on Discord + You can join the Kaboom.pw Discord server, where you can chat with other members from the server. - Get Source Code + + + + + Get Source Code + Source code of custom Kaboom.pw plugins, as well as the website you're visiting now, is available. - - Download Content + + + + + + Download Content + Feel free to download the schematics and worlds of the Kaboom.pw server. Worlds reset once a week. diff --git a/style.scss b/style.scss index 75c9333..1d405a6 100644 --- a/style.scss +++ b/style.scss @@ -48,6 +48,14 @@ h2 { h1 { font-size: 3.000em; } +h1 svg { + top: 0.125em; + position: relative; + width: 1.000em; + height: 1.000em; + margin: 0 0.250em 0 0; + fill: #555; +} h2 { font-size: 2.125em; } @@ -58,6 +66,7 @@ p + h2 { margin: 1.375em 0 0 0; } p { + font-size: 0.938em; line-height: 1.625; margin: 1.000em 0; } @@ -72,14 +81,14 @@ a:focus { color: lighten($accentcolor, 15%); } .button { - background: $accentcolor; + background: $accentcolor url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z'/%3E%3C/svg%3E") right 0.375em center/1.750em 1.750em no-repeat; border-radius: 0.375em; color: $lightcolor; display: block; font-size: 0.875em; line-height: 1.625; margin: 2.250em 0 1.125em 0; - padding: 0.625em 1.000em; + padding: 0.625em 2.500em 0.625em 1.000em; } .button + .button { margin: 0 0 1.125em 0; @@ -103,6 +112,14 @@ a:focus { margin: 0 0 0.125em 0; text-transform: uppercase; } +.button svg { + top: 0.188em; + position: relative; + width: 1.000em; + height: 1.000em; + margin: 0 0.375em 0 0; + fill: #fff; +} @media print { body { padding: 0;