diff --git a/readme.md b/readme.md index d68d05d4a..a401cd6bf 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # Antisnake Replace `` with your Github username and copy the links to Pull Request description: -- [DEMO LINK](https://.github.io/layout_antisnake/) -- [TEST REPORT LINK](https://.github.io/layout_antisnake/report/html_report/) +- [DEMO LINK](https://AnastasiiaCagle.github.io/layout_antisnake/) +- [TEST REPORT LINK](https://AnastasiiaCagle.github.io/layout_antisnake/report/html_report/) > Follow [this instructions](https://github.com/mate-academy/layout_task-guideline#how-to-solve-the-layout-tasks-on-github) ___ diff --git a/src/index.html b/src/index.html index e8ae736a0..3cc9b3412 100644 --- a/src/index.html +++ b/src/index.html @@ -1,13 +1,20 @@ - - - - - Antisnake - - - -

Antisnake

- + + + + + Antisnake + + + +
+
1
+
2
+
3
+
4
+
5
+
6
+
+ diff --git a/src/styles/main.scss b/src/styles/main.scss index 293d3b1f1..634e6ef86 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -1,3 +1,54 @@ -body { +* { margin: 0; + padding: 0; + box-sizing: border-box; +} + +.container { + display: grid; + max-width: 1199px; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + font-family: Arial, Helvetica, sans-serif; + font-size: 100px; +} + +.container__block { + height: 300px; + min-width: 300px; + text-align: center; + line-height: 300px; + color: #fff; +} + +.block-1 { + background-color: #f00; +} + +.block-2 { + background-color: rgb(204, 0, 0); +} + +.block-3 { + background-color: rgb(153, 0, 0); +} + +.block-4 { + background-color: rgb(102, 0, 0); +} + +.block-5 { + background-color: rgb(51, 0, 0); +} + +.block-6 { + background-color: #000; +} + +@media (min-width: 1200px) { + .container { + min-width: 1200px; + max-width: 5000px; + grid-template-columns: repeat(3, 1fr); + grid-template-rows: repeat(2, 1fr); + } }