File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,13 +46,30 @@ body {
4646}
4747
4848header . head_foot_container {
49+ box-sizing : border-box;
4950 min-height : 3em ;
51+ padding : 0.5em ;
5052 position : sticky;
5153 top : 0 ;
5254 margin : 0 ;
5355 margin-bottom : 10px ;
5456}
5557
58+ /* Title on the left, logo on the right, both vertically centered.
59+ * The header padding gives the logo the same spacing on every side. */
60+ header . container {
61+ display : flex;
62+ align-items : center;
63+ justify-content : space-between;
64+ gap : 0.5em ;
65+ width : 100% ;
66+ }
67+
68+ header h1 {
69+ margin : 0 ;
70+ min-width : 0 ;
71+ }
72+
5673footer {
5774 display : flex;
5875 flex-flow : row wrap;
@@ -73,7 +90,9 @@ header {
7390}
7491
7592img . re_logo {
76- float : right;
93+ order : 1 ;
94+ flex : none;
95+ height : auto;
7796 object-fit : contain;
7897 width : clamp ( 100px , 30% , 200px ) ;
7998}
@@ -208,14 +227,23 @@ img.re_logo {
208227. references {
209228 display : flex;
210229 flex-flow : row wrap;
211- vertical-align : middle;
230+ align-items : center;
231+ gap : 0.5em 0 ;
212232 margin-top : 1em ;
213233 border-top : 1px solid black;
214234 padding-top : 0.5em ;
215235 text-align : center;
216236 justify-content : center;
217237}
218238
239+ . references p {
240+ margin : 0 ;
241+ }
242+
243+ . references img {
244+ display : block;
245+ }
246+
219247. collection {
220248 border-top : 1px solid black;
221249}
Original file line number Diff line number Diff line change @@ -22,8 +22,12 @@ <h3>Most recent <a href="{{ collection_data['url'] }}">{{ collection }}</a> entr
2222 </ div >
2323{% endfor %}
2424 < div class ="references ">
25- < p > Powered by</ p > < a href ="https://www.python.org "> < img src ="/img/python-logo-master-v3-TM-small.png " alt ="Python " /> </ a > </ p >
25+ < p > Powered by</ p >
26+ < a href ="https://www.python.org "> < img src ="/img/python-logo-master-v3-TM-small.png " alt ="Python " /> </ a >
27+ </ div >
28+ < div class ="references ">
29+ < p > A Djangonaut Space participating project</ p >
30+ < img src ="/img/main-logo-transparent-small.svg " alt ="Djangonaut Space "/>
2631 </ div >
27- < div class ="references "> < p > A Djangonaut Space participating project< img src ="/img/main-logo-transparent-small.svg " alt ="Djangonaut Space "/> </ a > </ p >
2832</ div >
2933{% endblock %}
You can’t perform that action at this time.
0 commit comments