Skip to content

Commit 96ca314

Browse files
tacaswelltimhoffm
authored andcommitted
Backport PR #16065: Nicer formatting of community aspects on front page
1 parent d1f3e10 commit 96ca314

11 files changed

+154
-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.

doc/_static/fa/discourse-brands.svg

Lines changed: 1 addition & 0 deletions
Loading

doc/_static/fa/envelope-regular.svg

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: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ div.responsive_subfig img {
932932
width: 100%;
933933
}
934934

935-
@media only screen and (max-width: 1000px){
935+
@media only screen and (max-width: 930px){
936936
/* The value of 1000px was handcrafted to provide a more or less */
937937
/* smooth transition between the 1x4 and the 2x2 layouts. It is */
938938
/* NB: it is slightly below 1024px: so one should still have a */
@@ -1016,3 +1016,78 @@ div.viewcode-block:target {
10161016
.sidebar-announcement p {
10171017
margin: 0.4em 0.4em 0.6em 0.4em;
10181018
}
1019+
1020+
/* new main nav */
1021+
nav.main-nav{
1022+
background-color: #002b47;
1023+
font-family: 'CarlogoRegular', 'Carlito', sans-serif;
1024+
font-size: 16px;
1025+
}
1026+
1027+
nav.main-nav ul{
1028+
margin: 0;
1029+
padding: 0;
1030+
display: flex;
1031+
flex-direction: row;
1032+
}
1033+
1034+
nav.main-nav li{
1035+
margin: 8px 15px;
1036+
list-style-type: none;
1037+
}
1038+
1039+
nav.main-nav a{
1040+
color: white;
1041+
}
1042+
1043+
nav.main-nav a:hover{
1044+
text-decoration: underline;
1045+
}
1046+
1047+
nav.main-nav li.nav-right{
1048+
margin: 6px 15px 0 auto;
1049+
}
1050+
1051+
nav.main-nav input {
1052+
border: 0;
1053+
padding: 3px 6px;
1054+
width: 198px;
1055+
}
1056+
1057+
/* community items on main page */
1058+
div.box {
1059+
display: flex;
1060+
flex-flow: row wrap;
1061+
}
1062+
1063+
div.box-item {
1064+
flex: 0 0 45%;
1065+
padding: 4px;
1066+
margin: 8px 12px;
1067+
}
1068+
1069+
div.box-item img {
1070+
float: left;
1071+
width: 30px;
1072+
height: 30px;
1073+
fill: #888;
1074+
1075+
}
1076+
div.box-item p {
1077+
margin: 0 0 0 50px;
1078+
}
1079+
1080+
div.box-item ul {
1081+
margin: 0 0 0 50px;
1082+
padding-left: 20px;
1083+
}
1084+
1085+
hr.box-sep {
1086+
margin: 1em 2em;
1087+
}
1088+
1089+
@media only screen and (max-width: 930px){
1090+
div.box-item {
1091+
flex: 0 0 90%;
1092+
}
1093+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy