Skip to content

Commit ec23efa

Browse files
committed
Fix: Move partners CSS to separate file
See <#708 (comment)> and following.
1 parent 3c39fcf commit ec23efa

File tree

2 files changed

+26
-29
lines changed

2 files changed

+26
-29
lines changed

assets/css/partners.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.partner-images {
2+
display: flex;
3+
flex-direction: row;
4+
max-width: 900px;
5+
justify-content: center;
6+
margin: 30px;
7+
}
8+
9+
.partner-images > a {
10+
height: 75px;
11+
width: auto;
12+
padding: 0 30px;
13+
margin: 30px 0;
14+
}
15+
16+
@media only screen and (max-width: 850px) {
17+
.partner-images {
18+
flex-direction: column;
19+
}
20+
21+
.partner-images > img {
22+
height: auto;
23+
margin: 30px 0;
24+
padding: 0;
25+
}
26+
}

layouts/shortcodes/partners.html

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,3 @@
99
<img src="/images/logos/nvidia.png" width="200" alt="Logo of NVIDIA" />
1010
</a>
1111
</div>
12-
13-
<style>
14-
.partner-images {
15-
display: flex;
16-
flex-direction: row;
17-
max-width: 900px;
18-
justify-content: center;
19-
margin: 30px;
20-
}
21-
22-
.partner-images > a {
23-
height: 75px;
24-
width: auto;
25-
padding: 0 30px;
26-
margin: 30px 0;
27-
}
28-
29-
@media only screen and (max-width: 850px) {
30-
.partner-images {
31-
flex-direction: column;
32-
}
33-
34-
.partner-images > img {
35-
height: auto;
36-
margin: 30px 0;
37-
padding: 0;
38-
}
39-
}
40-
</style>

0 commit comments

Comments
 (0)