diff --git a/public/css/main.css b/public/css/main.css index c7569c9..574ae15 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -70,6 +70,7 @@ div.top-bar { padding: 20px; max-width: 500px; margin: auto; + margin-top: 20px; border-radius: 10px; } .black-player .board-cell:hover .overlay { diff --git a/public/css/style.css b/public/css/style.css index 8b6346c..705d363 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -2,6 +2,7 @@ body { font-family: Roboto; background-image: url(/images/clouds.jpg); background-color: #F5F7FA; + background-size: cover; color: #2d2d2d; } diff --git a/public/images/clouds.jpg b/public/images/clouds.jpg index 17d7526..6a33787 100644 Binary files a/public/images/clouds.jpg and b/public/images/clouds.jpg differ diff --git a/public/scss/main.scss b/public/scss/main.scss index 8911a84..3b133a3 100644 --- a/public/scss/main.scss +++ b/public/scss/main.scss @@ -90,6 +90,7 @@ div.top-bar { padding: 20px; max-width: 500px; margin: auto; + margin-top: 20px; border-radius: 10px; } diff --git a/src/Go.cr b/src/Go.cr index e9b3e89..88ab973 100644 --- a/src/Go.cr +++ b/src/Go.cr @@ -166,6 +166,10 @@ get "/about" do |env| render "src/Go/views/about.ecr" end +get "/rules" do |env| + render "src/Go/views/rules.ecr" +end + get "/" do |env| render "src/Go/views/index.ecr", "src/Go/views/base.ecr" end diff --git a/src/Go/views/rules.html b/src/Go/views/rules.ecr similarity index 95% rename from src/Go/views/rules.html rename to src/Go/views/rules.ecr index 38ebb14..bc59eba 100644 --- a/src/Go/views/rules.html +++ b/src/Go/views/rules.ecr @@ -1,7 +1,7 @@
- +