forked from mate-academy/layout_style-it-up
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mate-academy#1 from mate-academy/task
implemented task and tests
- Loading branch information
Showing
11 changed files
with
68 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.idea | ||
node_modules | ||
DS_Store | ||
.DS_Store | ||
yarn.lock | ||
backstop_data/bitmaps_test | ||
backstop_data/html_report | ||
backstop_data | ||
!backstop_data/engine_scripts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- '11' | ||
- '11' | ||
cache: npm | ||
services: | ||
- docker | ||
before_script: | ||
- bash ./config/hooks/start-server.sh | ||
script: | ||
- bash ./config/hooks/test-ci.sh | ||
- npm run css:reference | ||
- npm run css:test |
Binary file removed
BIN
-4.79 KB
backstop_data/bitmaps_reference/test_test_0_document_0_tablet_h.png
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,28 @@ | ||
# Boilerplate for layout tasks | ||
# Style it up | ||
|
||
Here is the description. | ||
Your task is to change `style.css` in order to get the page in `index.html` | ||
looking and behaving just as described below. | ||
|
||
Please **do not** modify or replace the HTML itself. Do take a look at what’s | ||
inside `index.html` though. | ||
|
||
The page consists of a header, a footer, and 9 blocks between them. | ||
|
||
The width of the blocks must be 300 pixels. The height of each of the blocks | ||
(including both header and footer) has to be 100 pixels. When hovered (the | ||
cursor is on the block), height must increase to 200 pixels. | ||
The color of the header must be blue, the color of the footer must be black, and | ||
the colors of the blocks in between must be the following | ||
1. red | ||
1. green | ||
1. orange | ||
|
||
There should be no vertical spacing between the blocks and the edges of the | ||
page. Place the blocks so that they are horizontally centered on the page. | ||
|
||
You can find some sample screenshots in the [backstop_data/bitmaps_reference](backstop_data/bitmaps_reference) folder. | ||
|
||
--- | ||
**Read the guideline before start** | ||
|
||
[Guideline](https://github.com/mate-academy/layout_task-guideline/blob/master/README.md) | ||
|
||
**Result** | ||
|
||
[Demo link](https://mate-academy.github.io/layout_task-boilerplate-ci/) <br> | ||
[Test report](https://mate-academy.github.io/layout_task-boilerplate-ci/report/html_report/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters