-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Develop #5822
base: master
Are you sure you want to change the base?
Develop #5822
Changes from all commits
fe6ddfa
cdc9775
1eec7b8
7d21432
2bb8c7a
a8b6bb9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [20.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- run: npm install | ||
- run: npm test | ||
- name: Upload HTML report(backstop data) | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: report | ||
path: backstop_data |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,67 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
font-family: Roboto, sans-serif; | ||
} | ||
|
||
.header { | ||
display: flex; | ||
padding: 0 50px; | ||
align-items: center; | ||
} | ||
|
||
.image { | ||
width: 40px; | ||
height: 40px; | ||
display: block; | ||
} | ||
|
||
nav { | ||
display: block; | ||
font-size: 12px; | ||
font-weight: 500; | ||
line-height: 60px; | ||
text-transform: uppercase; | ||
} | ||
|
||
nav ul { | ||
list-style: none; | ||
display: flex; | ||
} | ||
|
||
nav ul li a { | ||
display: flex; | ||
text-decoration: none; | ||
color: #000; | ||
margin-right: 20px; | ||
} | ||
|
||
nav ul li:last-child a { | ||
margin-right: 0; | ||
} | ||
|
||
nav ul li a.is-active { | ||
color: #00acdc; | ||
} | ||
|
||
nav ul li a.is-active::after { | ||
content: ''; | ||
position: absolute; | ||
Comment on lines
+51
to
+53
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
height: 4px; | ||
width: 37px; | ||
top: 56px; | ||
background-color: #00acdc; | ||
border-radius: 8px; | ||
} | ||
Comment on lines
+51
to
+59
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
|
||
nav ul li a:hover { | ||
color: #00acdc; | ||
} | ||
|
||
.flex-text { | ||
margin-left: auto; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logo image should be wrapped in an anchor tag to meet the task requirements. This will make the logo clickable and usually links back to the homepage.