File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,6 +132,14 @@ <h3>Other Useful Resources</h3>
132132
133133 </ section >
134134 </ div >
135+
136+ < footer >
137+ < div class ="donation-box ">
138+ < p > Looking for a way to support codebar? Please consider making a donation</ p >
139+ < a href ="https://codebar.enthuse.com/donate/#!/ "> Donate</ a >
140+ </ div >
141+ < p class ="small "> Registered UK and Wales charity no. 1187776 © codebar 2021</ p >
142+ </ footer >
135143 < script src ="javascripts/scale.fix.js "> </ script >
136144 < script type ="text/javascript ">
137145 var gaJsHost = ( ( "https:" == document . location . protocol ) ? "https://ssl." : "http://www." ) ;
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ a small {
5656.wrapper {
5757 width : 860px ;
5858 margin : 0 auto;
59+ display : flex;
60+ justify-content : space-between;
5961}
6062
6163.logo {
@@ -110,8 +112,6 @@ img {
110112
111113header {
112114 width : 270px ;
113- float : left;
114- position : fixed;
115115}
116116
117117header ul {
@@ -174,7 +174,6 @@ header ul a strong {
174174
175175section {
176176 width : 500px ;
177- float : right;
178177 padding-bottom : 50px ;
179178}
180179
@@ -190,34 +189,51 @@ hr {
190189}
191190
192191footer {
193- width : 270px ;
194- float : left;
195- position : fixed;
196- bottom : 50px ;
192+ max-width : 860px ;
193+ margin : 0 auto;
194+ display : flex;
195+ flex-direction : column;
196+ text-align : center;
197+ }
198+
199+ .donation-box {
200+ border : 4px solid # 4bafff ;
201+ padding : 65px 0 ;
202+ margin-bottom : 50px ;
203+ }
204+
205+ .donation-box p {
206+ font-size : 20px ;
207+ }
208+
209+ .donation-box a {
210+ background-color : # 4bafff ;
211+ color : # fff ;
212+ font-weight : bold;
213+ font-size : 18px ;
214+ padding : 10px 13px ;
215+ border-radius : 5px ;
197216}
198217
199218@media print, screen and (max-width : 960px ) {
200219
201220 div .wrapper {
202221 width : auto;
203222 margin : 0 ;
223+ flex-direction : column;
204224 }
205225
206- header , section , footer {
207- float : none;
208- position : static;
209- width : auto;
226+ header {
227+ width : 100% ;
228+ text-align : center;
210229 }
211230
212- header {
213- padding-right : 320 px ;
231+ section , footer {
232+ width : auto ;
214233 }
215234
216235 section {
217- border : 1px solid # e5e5e5 ;
218- border-width : 1px 0 ;
219236 padding : 20px 0 ;
220- margin : 0 0 20px ;
221237 }
222238
223239 header a small {
@@ -247,6 +263,15 @@ footer {
247263 pre , code {
248264 word-wrap : normal;
249265 }
266+
267+ .donation-box {
268+ padding : 50px 0 ;
269+ }
270+
271+ .donation-box p {
272+ font-size : 17px ;
273+ }
274+
250275}
251276
252277@media print, screen and (max-width : 480px ) {
You can’t perform that action at this time.
0 commit comments