File tree Expand file tree Collapse file tree 4 files changed +56
-13
lines changed
part2/reverse_flask_reza/project Expand file tree Collapse file tree 4 files changed +56
-13
lines changed Original file line number Diff line number Diff line change 11body {
2- margin : 0 ;
3- padding : 0 ;
2+ padding-top : 60px ;
3+ padding-bottom : 40px ;
4+ background-color : # eee ;
5+ }
6+
7+ .container {
8+ width : auto;
9+ max-width : 680px ;
10+ padding : 0 15px ;
11+ }
12+
13+ .center {
14+ padding : 40px 15px ;
415 text-align : center;
5- }
6-
7- .container {
8- margin : 0 auto;
9- text-align : left;
10- width : 800px ;
11- position : relative;
12- float : right;
13- }
16+ }
17+
18+
19+
20+
21+ /* Sticky footer styles
22+ -------------------------------------------------- */
23+ html {
24+ position : relative;
25+ min-height : 100% ;
26+ }
27+ body {
28+ /* Margin bottom by footer height */
29+ margin-bottom : 60px ;
30+ }
31+ .footer {
32+ position : absolute;
33+ bottom : 0 ;
34+ width : 100% ;
35+ /* Set the fixed height of the footer here */
36+ height : 60px ;
37+ background-color : # f5f5f5 ;
38+ }
39+
40+ /* ************************************************ */
Original file line number Diff line number Diff line change 33< html >
44 < head >
55 < title > Reversing string.</ title >
6- < link rel ="stylesheet " type ="text/css " href ="main.css ">
6+ < link href ="{{ url_for('static', filename='css/main.css') }} " rel ="stylesheet ">
7+ < link href ="{{ url_for('static', filename='css/bootstrap.min.css') }} " rel ="stylesheet ">
78
89 </ head >
910 < body >
@@ -14,6 +15,7 @@ <h2>Reverse your string!</h2>
1415 < input type ="submit " value ="Reverse! ">
1516 </ form >
1617 </ div >
18+
1719
1820 </ body >
1921</ html >
Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
1+ <! DOCTYPE html>
22
33< html >
4+
5+ < head >
6+ < title > Reversing string.</ title >
7+ < link href ="{{ url_for('static', filename='css/main.css') }} " rel ="stylesheet ">
8+ < link href ="{{ url_for('static', filename='css/bootstrap.min.css') }} " rel ="stylesheet ">
9+
10+ </ head >
411
512 < div class ="container ">
613 < h2 > Original String:</ h2 >
You can’t perform that action at this time.
0 commit comments