Skip to content

Commit 56065e4

Browse files
committed
minor changes to bootstrap, docs to make site suck slightly less at < 768px width
1 parent 0fbc324 commit 56065e4

File tree

11 files changed

+827
-1230
lines changed

11 files changed

+827
-1230
lines changed

war/contacts.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<title>Contact OpenWorm</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="description" content="">
7+
<meta name="description" content="How to contact OpenWorm">
88

99
<!-- REPLICATE THIS IN ALL PAGES -->
1010

war/css/bootstrap-responsive.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -788,14 +788,14 @@
788788

789789
@media (max-width: 767px) {
790790
body {
791-
padding-right: 20px;
792-
padding-left: 20px;
791+
padding-right: 0px;
792+
padding-left: 0px;
793793
}
794794
.navbar-fixed-top,
795795
.navbar-fixed-bottom,
796796
.navbar-static-top {
797-
margin-right: -20px;
798-
margin-left: -20px;
797+
margin-right: 0px;
798+
margin-left: 0px;
799799
}
800800
.container-fluid {
801801
padding: 0;
@@ -945,7 +945,7 @@
945945
position: static;
946946
}
947947
.navbar-fixed-top {
948-
margin-bottom: 20px;
948+
margin-bottom: 0px; /* this was set to 20 and sucked */
949949
}
950950
.navbar-fixed-bottom {
951951
margin-top: 20px;
@@ -1083,10 +1083,11 @@
10831083
padding-left: 10px;
10841084
}
10851085
}
1086-
1086+
/*
10871087
@media (min-width: 980px) {
10881088
.nav-collapse.collapse {
10891089
height: auto !important;
10901090
overflow: visible !important;
10911091
}
10921092
}
1093+
*/

war/css/bootstrap.css

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4571,12 +4571,7 @@ input[type="submit"].btn.btn-mini {
45714571
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
45724572
background-color: #ededed;
45734573
*background-color: #e5e5e5;
4574-
background-image: -moz-linear-gradient(top, #f2f2f2, #e5e5e5);
4575-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#e5e5e5));
4576-
background-image: -webkit-linear-gradient(top, #f2f2f2, #e5e5e5);
4577-
background-image: -o-linear-gradient(top, #f2f2f2, #e5e5e5);
4578-
background-image: linear-gradient(to bottom, #f2f2f2, #e5e5e5);
4579-
background-repeat: repeat-x;
4574+
background-image: /assets/ico/apple-touch-icon-72-precomposed.png
45804575
border-color: #e5e5e5 #e5e5e5 #bfbfbf;
45814576
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
45824577
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#ffe5e5e5', GradientType=0);
@@ -4710,12 +4705,12 @@ input[type="submit"].btn.btn-mini {
47104705
}
47114706

47124707
.navbar-inverse .navbar-inner {
4713-
background-color: #1b1b1b;
4714-
background-image: -moz-linear-gradient(top, #222222, #111111);
4715-
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111));
4716-
background-image: -webkit-linear-gradient(top, #222222, #111111);
4717-
background-image: -o-linear-gradient(top, #222222, #111111);
4718-
background-image: linear-gradient(to bottom, #222222, #111111);
4708+
background-color: #202020;
4709+
background-image: -moz-linear-gradient(top, #333333, #111111);
4710+
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#111111));
4711+
background-image: -webkit-linear-gradient(top, #333333, #111111);
4712+
background-image: -o-linear-gradient(top, #333333, #111111);
4713+
background-image: linear-gradient(to bottom, #333333, #111111);
47194714
background-repeat: repeat-x;
47204715
border-color: #252525;
47214716
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0);

war/css/docs.css

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ only screen and ( -o-min-device-pixel-ratio: 2/1) {
188188
/* Masthead (docs home)
189189
------------------------- */
190190
.masthead {
191-
padding: 70px 0 80px;
191+
padding: 70px 0 140px; /* 140 WAS 80, couldn't see at < 768 px - SB */
192192
margin-bottom: 0;
193193
color: #fff;
194194
}
@@ -913,14 +913,6 @@ form.bs-docs-example {
913913
body {
914914
padding-top: 0;
915915
}
916-
917-
/* Widen masthead and social buttons to fill body padding */
918-
.jumbotron {
919-
padding: 40px 20px;
920-
margin-top: -20px; /* Offset bottom margin on .navbar */
921-
margin-right: -20px;
922-
margin-left: -20px;
923-
}
924916
.masthead h1 {
925917
font-size: 90px;
926918
}

war/css/main.css

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,71 @@ dd {
684684
background: linear-gradient(135deg, #258dc8 0%,#258dc8 100%); /* W3C */
685685
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#258dc8', endColorstr='#258dc8',GradientType=1 )!important; /* IE6-9 fallback on horizontal gradient */
686686
}
687+
688+
/* people page specific
689+
--------------------------------------------------- */
690+
.people-card {
691+
692+
}
693+
694+
.people-card img {
695+
height: 150px;
696+
width: 150px;
697+
}
698+
699+
.people-card h2 {
700+
font-size: 21px;
701+
}
702+
703+
#senior-contributor .row-fluid {
704+
padding-bottom: 5%;
705+
}
706+
707+
.people-card img {
708+
height: 150px;
709+
width: 150px;
710+
-webkit-filter: grayscale(100%);
711+
filter: grayscale(100%);
712+
transition: all 0.2s ease-out;
713+
}
714+
715+
.people-card:hover img {
716+
transform: scale(1.05, 1.05);
717+
-webkit-filter: grayscale(0%);
718+
filter: grayscale(0%);
719+
}
720+
721+
.fa-linkedin-square:hover {
722+
color: #0077B5;
723+
}
724+
725+
.social {
726+
transition: 0.3s all ease-out;
727+
padding: 1%;
728+
}
729+
730+
.fa-twitter-square:hover {
731+
color: #0084b4;
732+
}
733+
734+
.fa-link:hover {
735+
color: #75890c;
736+
}
737+
738+
.fa-envelope:hover {
739+
color: #D84B37;
740+
}
741+
742+
.fa-wikipedia-w:hover {
743+
color: #000;
744+
}
745+
746+
.fa-github-square:hover {
747+
color: #333;
748+
}
749+
750+
751+
687752
/* Footer
688753
-------------------------------------------------- */
689754

war/css/people.css

Lines changed: 0 additions & 59 deletions
This file was deleted.

war/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@
4848
<div id="pjax-content">
4949
<!-- END REPEAT-->
5050

51-
52-
<div id="fb-root"></div>
53-
<!-- ^ may be unnecessary -->
54-
5551
<div id="myCarousel" class="carousel slide">
5652
<div class="carousel-inner">
5753
<div class="item active">

war/js/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ window.___gcfg = {
7575

7676
// function definitions (hoisted so order does not matter)
7777

78+
// no idea what uses this function...this should not be here.
7879
function detectmob() {
7980
if (window.innerWidth <= 800 && window.innerHeight <= 600) {
8081
return true;

war/media.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,8 @@ <h1>Media Coverage</h1>
6060
<div class="marketing">
6161
<br/>
6262
<br/>
63-
<p class="marketing-byline">For media inquiries please contact <a href="mailto:[email protected]">info<b>at</b>openworm.org</a>.
63+
<p class="marketing-byline">For media inquiries please contact <a href="mailto:[email protected]">info<strong>at</strong>openworm.org</a>.
6464
</p>
65-
<i class="fa fa-bullhorn fa-xl"></i>&nbsp;&nbsp; &nbsp;&nbsp;<i class="fa fa-film fa-xl"></i>&nbsp;&nbsp;
66-
&nbsp;&nbsp;<i class="fa fa-headphones fa-xl"></i>
67-
<div class="large-spacer"></div>
68-
<div class="large-spacer"></div>
6965
<div class="row-fluid">
7066
<div class="span12">
7167
<div id="tedx"></div>

0 commit comments

Comments
 (0)