Skip to content

Commit

Permalink
Ignore node_modules, added git actions
Browse files Browse the repository at this point in the history
  • Loading branch information
amirymax committed Mar 14, 2024
1 parent 4ef47d0 commit 4b58185
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 40 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Format
on: push
jobs:
lint:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install deps
run: npm ci
- name: Lint
run: npx eslint ./js/script.js

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
76 changes: 36 additions & 40 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ section {
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
section:hover{
section:hover {
transform: scale(1.02);
}
footer {
Expand Down Expand Up @@ -115,8 +115,6 @@ body.dark-mode section {
color: #fff;
}



ul {
list-style-type: none;
padding: 0;
Expand All @@ -140,7 +138,6 @@ body.dark-mode li {
color: #fff;
}


.social-media-link {
text-decoration: none;
color: #333;
Expand All @@ -161,53 +158,52 @@ body.dark-mode .social-media-link {
background-color: #eee;
}

#toggle-dark-mode-nav{
margin-top: 90px;
display: none;
#toggle-dark-mode-nav {
margin-top: 90px;
display: none;
}

@media screen and (min-width: 600px) {
main {
margin-left: 10px;
margin-right: 10px;
justify-content: space-between;
}
main {
margin-left: 10px;
margin-right: 10px;
justify-content: space-between;
}

section {
flex-basis: 100%; /* Two columns on larger screens */
}
section {
flex-basis: 100%; /* Two columns on larger screens */
}
}

@media screen and (min-width: 1100px) {
/* Adjust styles for screens with a minimum width of 800px */
main {
margin-left: 2%;
margin-right: 2%;
justify-content: space-between;
}
section {
flex-basis: 38%; /* Three columns on even larger screens */
}
/* Adjust styles for screens with a minimum width of 800px */
main {
margin-left: 2%;
margin-right: 2%;
justify-content: space-between;
}
section {
flex-basis: 38%; /* Three columns on even larger screens */
}
}

@media screen and (min-width: 1300px) {
/* Adjust styles for screens with a minimum width of 800px */
main {
margin-left: 10%;
margin-right: 10%;
justify-content: space-between;
}
section {
flex-basis: 38%; /* Three columns on even larger screens */
}
/* Adjust styles for screens with a minimum width of 800px */
main {
margin-left: 10%;
margin-right: 10%;
justify-content: space-between;
}
section {
flex-basis: 38%; /* Three columns on even larger screens */
}
}

@media screen and (max-width: 500px) {
#toggle-dark-mode{
display: none;
}
#toggle-dark-mode-nav{
display: flex;
}

#toggle-dark-mode {
display: none;
}
#toggle-dark-mode-nav {
display: flex;
}
}

0 comments on commit 4b58185

Please sign in to comment.