Skip to content

Commit

Permalink
Merge pull request #230 from JuliaAI/add-contribute
Browse files Browse the repository at this point in the history
Add contribute
  • Loading branch information
EssamWisam authored May 23, 2024
2 parents 53b32fe + ce17d26 commit ea17f9a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 3 additions & 2 deletions _css/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -174,17 +174,18 @@ h3 {
border-radius: 30px;
font-size: 0.9rem;
padding: 0.2rem 0.4rem;
width: 80%;
width: 99%;
border: 1px solid #ced4da;
outline: none;
margin-bottom: 0.8rem;
max-width:180px;
max-width:140px;
}
/* decrease width of search box upon resize */
@media only screen and (min-width: 1030px) and (max-width: 1200px) {
#lunrSearchForm .search-input {
max-width: 80px;
margin-right: 1rem;
display: none;
}
}
@media only screen and (min-width: 1100px) and (max-width: 1200px) {
Expand Down
9 changes: 7 additions & 2 deletions _css/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
}

a#home {
a#home, a#contribute {
border-radius: 3rem;
}

Expand Down Expand Up @@ -61,6 +61,7 @@ nav ul li {
font-weight: 500;
}


.nav-dropdown li {
float: none;
}
Expand Down Expand Up @@ -89,7 +90,7 @@ nav ul li a:visited:hover {
background: #9b59b6;
color: #fff;
}
#home:hover {
#home:hover, #contribute:hover {
background-color: #9b59b6;
color: white !important;
}
Expand Down Expand Up @@ -156,3 +157,7 @@ nav ul li ul li a {
font-size: 0.9rem;
font-weight: 400;
}

#home {
display: none;
}
2 changes: 2 additions & 0 deletions _libs/nav/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ const navItems = [
],
sectionItemWidth: "medium-item",
},
{ name: "Contribute", href: "https://github.com/JuliaAI/DataScienceTutorials.jl?tab=readme-ov-file#-for-developers", sections: [], sectionItemWidth: "", id: "contribute" },

];

// first get info on whether hosted or not
Expand Down
1 change: 0 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@ What kind of user are you? These are our recommendations for different types of
preview see [here](https://bio322.epfl.ch)).
@@
@@
Willing to contribute? Consider checking our [repository](https://github.com/JuliaAI/DataScienceTutorials.jl) on Github.

0 comments on commit ea17f9a

Please sign in to comment.