Skip to content

Commit 7b21ef4

Browse files
authored
Merge pull request #163 from hamzashakeel1/master
Fixed UI Issues in Files
2 parents e5c2016 + 3d08290 commit 7b21ef4

18 files changed

+21197
-18
lines changed

contacts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="navbar-inner" id="head-nav">
3232
</div>
3333
</div>
34-
<script src="js/jquery-3.2.1.js"></script>
34+
<script src="js/jquery-3.6.0.js"></script>
3535
<script>
3636
// get head-nav and foot-nav with jquery (get is async)
3737
$.get('header-content.html', function(data) {

css/main.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,17 @@
3333
color: inherit;
3434
text-decoration: none;
3535
}
36+
/****/
37+
.carousel-inner > .item > img{
38+
object-fit: cover;
39+
}
40+
.donate_btn{
41+
padding: 11px 19px;
42+
font-size: 17.5px;
43+
-webkit-border-radius: 6px;
44+
-moz-border-radius: 6px;
45+
border-radius: 6px;
46+
}
3647
@media
3748
(-webkit-min-device-pixel-ratio: 2),
3849
(min-resolution: 192dpi) {
@@ -875,3 +886,39 @@ dd {
875886
.clearer {
876887
clear: both;
877888
}
889+
@media (max-width: 979px){
890+
button.btn.btn-navbar {
891+
display: flex;
892+
flex-flow: column;
893+
}
894+
span.fa.fa-bar {
895+
background: white !important;
896+
height: 2px;
897+
width: 18px;
898+
margin-bottom: 1px;
899+
margin-top: 2px;
900+
}
901+
.jumbotron{
902+
margin-top: 0px !important;
903+
}
904+
.carousel-control {
905+
z-index: 9999;
906+
}
907+
}
908+
@media (max-width: 767px){
909+
.navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
910+
margin-right: 0px;
911+
}
912+
.subhead {
913+
padding-left: 15px !important;
914+
padding-right: 15px !important;
915+
}
916+
/* #myCarousel .carousel-caption {
917+
margin: 0 auto;
918+
text-align: center;
919+
} */
920+
/* #myCarousel .item{
921+
display: flex;
922+
align-items: center;
923+
} */
924+
}

donate.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="navbar-inner" id="head-nav">
3232
</div>
3333
</div>
34-
<script src="js/jquery-3.2.1.js"></script>
34+
<script src="js/jquery-3.6.0.js"></script>
3535
<script>
3636
// get head-nav and foot-nav with jquery (get is async)
3737
$.get('header-content.html', function(data) {
@@ -96,7 +96,7 @@ <h1>How can I contribute?</h1>
9696
<input type="hidden" name="cpp_header_image" value="http://www.openworm.org/img/OpenWormLogoS.png">
9797
<input type="hidden" name="cmd" value="_donations">
9898
<input id="amountSent" type="hidden" name="amount" value="50">
99-
<input type="submit" class="btn btn-danger btn-large" name="submit" value="Donate now">
99+
<input type="submit" class="btn btn-danger donate_btn" name="submit" value="Donate now">
100100
<input type="hidden" name="business" value="[email protected]">
101101
<input type="hidden" name="item_name" value="OpenWorm donation">
102102
<input type="hidden" name="currency_code" value="USD">

downloads.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="navbar-inner" id="head-nav">
3232
</div>
3333
</div>
34-
<script src="js/jquery-3.2.1.js"></script>
34+
<script src="js/jquery-3.6.0.js"></script>
3535
<script>
3636
// get head-nav and foot-nav with jquery (get is async)
3737
$.get('header-content.html', function(data) {

educators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div class="navbar-inner" id="head-nav">
3131
</div>
3232
</div>
33-
<script src="js/jquery-3.2.1.js"></script>
33+
<script src="js/jquery-3.6.0.js"></script>
3434
<script>
3535
// get head-nav and foot-nav with jquery (get is async)
3636
$.get('header-content.html', function(data) {

events.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<div class="navbar-inner" id="head-nav">
3333
</div>
3434
</div>
35-
<script src="js/jquery-3.2.1.js"></script>
35+
<script src="js/jquery-3.6.0.js"></script>
3636
<script>
3737
// get head-nav and foot-nav with jquery (get is async)
3838
$.get('header-content.html', function(data) {

get_involved.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div class="navbar-inner" id="head-nav">
3131
</div>
3232
</div>
33-
<script src="js/jquery-3.2.1.js"></script>
33+
<script src="js/jquery-3.6.0.js"></script>
3434
<script>
3535
// get head-nav and foot-nav with jquery (get is async)
3636
$.get('header-content.html', function(data) {

getting_started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="navbar-inner" id="head-nav">
3232
</div>
3333
</div>
34-
<script src="js/jquery-3.2.1.js"></script>
34+
<script src="js/jquery-3.6.0.js"></script>
3535
<script>
3636
// get head-nav and foot-nav with jquery (get is async)
3737
$.get('header-content.html', function(data) {

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="navbar-inner" id="head-nav">
3232
</div>
3333
</div>
34-
<script src="js/jquery-3.2.1.js"></script>
34+
<script src="js/jquery-3.6.0.js"></script>
3535
<script>
3636
// get head-nav and foot-nav with jquery (get is async)
3737
$.get('header-content.html', function(data) {
@@ -46,14 +46,12 @@
4646
<body>
4747
<div id="pjax-content">
4848
<!-- END REPEAT-->
49-
5049
<!-- sb: this allows FB to reload when user returns to home page
5150
it is very slow though...i think there is a better way but requires app id -->
5251
<div id="fb-root"></div>
5352
<div class="marketing-byline pagination-centered">
5453
<br/>
5554
<i class="fa fa-heart-o fa-l donate"></i>
56-
5755
<h3>
5856
<a href="./donate.html">Contribute today</a> to OpenWorm. <strong class="donate">Thank you!</strong>
5957
</h3>

0 commit comments

Comments
 (0)