Skip to content

Commit

Permalink
Fix: Move partners CSS to separate file
Browse files Browse the repository at this point in the history
See <numpy#708 (comment)>
and following.
  • Loading branch information
alphapapa committed Feb 9, 2024
1 parent 3c39fcf commit ec23efa
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 29 deletions.
26 changes: 26 additions & 0 deletions assets/css/partners.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.partner-images {
display: flex;
flex-direction: row;
max-width: 900px;
justify-content: center;
margin: 30px;
}

.partner-images > a {
height: 75px;
width: auto;
padding: 0 30px;
margin: 30px 0;
}

@media only screen and (max-width: 850px) {
.partner-images {
flex-direction: column;
}

.partner-images > img {
height: auto;
margin: 30px 0;
padding: 0;
}
}
29 changes: 0 additions & 29 deletions layouts/shortcodes/partners.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,3 @@
<img src="/images/logos/nvidia.png" width="200" alt="Logo of NVIDIA" />
</a>
</div>

<style>
.partner-images {
display: flex;
flex-direction: row;
max-width: 900px;
justify-content: center;
margin: 30px;
}

.partner-images > a {
height: 75px;
width: auto;
padding: 0 30px;
margin: 30px 0;
}

@media only screen and (max-width: 850px) {
.partner-images {
flex-direction: column;
}

.partner-images > img {
height: auto;
margin: 30px 0;
padding: 0;
}
}
</style>

0 comments on commit ec23efa

Please sign in to comment.