File tree 3 files changed +100
-31
lines changed
3 files changed +100
-31
lines changed Original file line number Diff line number Diff line change 12
12
13
13
body {
14
14
overflow-x : hidden;
15
+ padding-top : 50px ;
15
16
}
16
17
17
18
a {
52
53
padding-top : 40px ;
53
54
background : white;
54
55
background-color : white;
56
+ position : relative;
57
+ clear : both;
55
58
}
56
59
57
60
.logo-image {
63
66
64
67
.jumbotron {
65
68
background-color : white;
69
+ word-wrap : break-word;
70
+ display : block;
66
71
}
67
72
68
73
.jumbotron h1 {
83
88
height : auto;
84
89
padding : 70px 0 ;
85
90
background-color : # eee ;
91
+ word-wrap : break-word;
92
+ display : block;
86
93
}
87
94
88
95
.section-two h3 {
101
108
color : # 666666 ;
102
109
font-size : 18px ;
103
110
line-height : 35px ;
111
+ text-align : justify;
104
112
}
105
113
106
114
@@ -144,6 +152,8 @@ footer {
144
152
145
153
footer .container {
146
154
width : 70% ;
155
+ position : sticky;
156
+ display : block;
147
157
}
148
158
149
159
.rectangle {
@@ -152,27 +162,80 @@ footer .container {
152
162
margin-top : 15px ;
153
163
}
154
164
155
- .rectangle ul {
165
+ .backToTop {
166
+ float : right;
167
+ color : # 999 ;
168
+ }
169
+
170
+ .backToTop a {
171
+ text-decoration : none;
172
+ }
173
+
174
+ .copyright {
175
+ color : # fff ;
176
+ line-height : 30px ;
177
+ min-height : 30px ;
178
+ padding : 7px 0 ;
179
+ }
180
+
181
+ .social {
182
+ color : # fff ;
183
+ line-height : 30px ;
184
+ min-height : 30px ;
185
+ padding : 7px 0 ;
186
+ }
187
+
188
+ .social .left-align {
189
+ text-align : left;
190
+ }
191
+
192
+ .social .right-align {
193
+ text-align : right;
194
+ }
195
+
196
+ .social ul {
156
197
list-style : none;
157
198
}
158
199
159
- .rectangle ul li {
200
+ .social ul li {
160
201
width : 40px ;
161
202
height : 30px ;
162
203
color : # eee ;
163
204
font-size : 22px ;
164
205
display : inline-block;
165
206
}
166
207
167
- .backToTop {
168
- float : right;
169
- color : # 999 ;
208
+ .social a {
209
+ color : # fff ;
170
210
}
171
211
172
- .backToTop a {
173
- text-decoration : none;
212
+
213
+ /*Media queries*/
214
+
215
+ @media (max-width : 320px ) {
216
+ .jumbotron h1 {
217
+ font-size : 30px ;
218
+ }
174
219
}
175
220
176
- .copyright {
177
- color : # eee ;
221
+ @media (min-width : 321px ) and (max-width : 480px ) {
222
+ .jumbotron h1 {
223
+ font-size : 38px ;
224
+ }
225
+ }
226
+
227
+ @media (max-width : 768px ) {
228
+ .main-section {
229
+ min-height : 50vh ;
230
+ height : auto;
231
+ clear : both;
232
+ }
233
+ }
234
+
235
+ @media (min-width : 769px ) and (max-width : 1024px ) {
236
+ .main-section {
237
+ min-height : 50vh ;
238
+ height : auto;
239
+ clear : both;
240
+ }
178
241
}
Original file line number Diff line number Diff line change 34
34
{% block footer %}
35
35
< footer >
36
36
< div class ="container ">
37
- < div class ="rectangle ">
38
- < ul >
39
- < li >
40
- < a href ="https://www.facebook.com/opensourcehelpcommunity/ "> < i class ="fa fa-facebook " aria-hidden ="true "> </ i > </ a >
41
- </ li >
42
- < li >
43
- < a href ="https://twitter.com/oshelpcommunity "> < i class ="fa fa-twitter " aria-hidden ="true "> </ i > </ a >
44
- </ li >
45
- < li >
46
- < a href ="https://github.com/OpenSourceHelpCommunity "> < i class ="fa fa-github " aria-hidden ="true "> </ i > </ a >
47
- </ li >
48
- < li >
49
- < a href ="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q "> < i class ="fa fa-youtube-play " aria-hidden ="true "> </ i > </ a >
50
- </ li >
51
- < span class ="backToTop ">
52
- < a id ="toTop " name ="Back to top! "> Back to top</ a >
53
- </ span >
54
- </ ul >
37
+ < div class ="row ">
38
+ < div class ="col-xs-12 ">
39
+ < div class ="social ">
40
+ < ul >
41
+ < span class ="col-sm-6 left-align ">
42
+ < li >
43
+ < a href ="https://www.facebook.com/opensourcehelpcommunity/ "> < i class ="fa fa-facebook " aria-hidden ="true "> </ i > </ a >
44
+ </ li >
45
+ < li >
46
+ < a href ="https://twitter.com/oshelpcommunity "> < i class ="fa fa-twitter " aria-hidden ="true "> </ i > </ a >
47
+ </ li >
48
+ < li >
49
+ < a href ="https://github.com/OpenSourceHelpCommunity "> < i class ="fa fa-github " aria-hidden ="true "> </ i > </ a >
50
+ </ li >
51
+ < li >
52
+ < a href ="https://www.youtube.com/channel/UC1_IAby-9me3iICtxuiDL5Q "> < i class ="fa fa-youtube-play " aria-hidden ="true "> </ i > </ a >
53
+ </ li >
54
+ </ span >
55
+ < span class ="col-sm-6 backToTop right-align ">
56
+ < a id ="toTop " name ="Back to top! "> Back to top</ a >
57
+ </ span >
58
+ </ ul >
59
+ </ div >
60
+ </ div >
55
61
</ div >
56
- < div class ="rectangle ">
57
- < span class ="copyright ">
62
+ < div class ="col-xs-12 ">
63
+ < div class ="copyright ">
58
64
© 2017 Open Source Help Community
59
- </ span >
65
+ </ div >
60
66
</ div >
61
67
</ div >
62
68
</ footer >
Original file line number Diff line number Diff line change 4
4
< section class ="main-section ">
5
5
< div class ="container ">
6
6
< div class ="jumbotron text-center ">
7
- < img class ="logo-image " src ="{% static "main /images/oshc-logo.png"%}" alt="Open Source Help Community Logo "/>
7
+ < img class ="logo-image img-responsive " src ="{% static "main /images/oshc-logo.png"%}" alt="Open Source Help Community Logo "/>
8
8
< h1 > Open Source Help Community</ h1 >
9
9
< h4 > A Virtual Platform To Help People To Start Contributing To Open Source Projects</ h4 >
10
10
</ div >
You can’t perform that action at this time.
0 commit comments