Skip to content

Commit d7a39e4

Browse files
authored
Merge pull request matplotlib#16065 from timhoffm/doc-index-community
DOC: Nicer formatting of community aspects on front page
2 parents 602d2ca + 640bed0 commit d7a39e4

11 files changed

+117
-39
lines changed

doc/_static/fa/LICENSE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Font Awsome SVG Icons are covered by CC BY 4.0 License.
2+
3+
https://fontawesome.com/license/free
4+
5+
Icons are based on Font Awesome 5.11.2 and colors have been adapted.
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

doc/_static/fa/github-brands.svg

Lines changed: 1 addition & 0 deletions
Loading

doc/_static/fa/gitter-brands.svg

Lines changed: 1 addition & 0 deletions
Loading

doc/_static/fa/hashtag-solid.svg

Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

doc/_static/mpl.css

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ div.responsive_subfig img {
10511051
width: 100%;
10521052
}
10531053

1054-
@media only screen and (max-width: 1000px){
1054+
@media only screen and (max-width: 930px){
10551055
/* The value of 1000px was handcrafted to provide a more or less */
10561056
/* smooth transition between the 1x4 and the 2x2 layouts. It is */
10571057
/* NB: it is slightly below 1024px: so one should still have a */
@@ -1180,3 +1180,41 @@ nav.main-nav{
11801180
padding: 3px 6px;
11811181
width: 198px;
11821182
}
1183+
1184+
/* community items on main page */
1185+
div.box {
1186+
display: flex;
1187+
flex-flow: row wrap;
1188+
}
1189+
1190+
div.box-item {
1191+
flex: 0 0 45%;
1192+
padding: 4px;
1193+
margin: 8px 12px;
1194+
}
1195+
1196+
div.box-item img {
1197+
float: left;
1198+
width: 30px;
1199+
height: 30px;
1200+
fill: #888;
1201+
1202+
}
1203+
div.box-item p {
1204+
margin: 0 0 0 50px;
1205+
}
1206+
1207+
div.box-item ul {
1208+
margin: 0 0 0 50px;
1209+
padding-left: 20px;
1210+
}
1211+
1212+
hr.box-sep {
1213+
margin: 1em 2em;
1214+
}
1215+
1216+
@media only screen and (max-width: 930px){
1217+
div.box-item {
1218+
flex: 0 0 90%;
1219+
}
1220+
}

0 commit comments

Comments
 (0)