Merge remote-tracking branch 'ballard/master'

This commit is contained in:
Chris McAvoy 2013-06-03 16:48:13 -05:00
Родитель 4318552e68 aef1da2726
Коммит d25d41eb8c
7 изменённых файлов: 786 добавлений и 341 удалений

Просмотреть файл

@ -85,6 +85,7 @@ ol {
} }
.navbar .navbar-inner { .navbar .navbar-inner {
background-image: url('../img/chalkboard_bg.jpg'); background-image: url('../img/chalkboard_bg.jpg');
background-repeat: repeat;
} }
.navbar form.navbar-inner { .navbar form.navbar-inner {
padding: 7px; padding: 7px;
@ -154,6 +155,7 @@ nav.pagination ul li a {
-webkit-box-shadow: inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25); -webkit-box-shadow: inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
-moz-box-shadow: inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow: inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
box-shadow: inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25); box-shadow: inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
background-repeat: repeat;
} }
.footer a { .footer a {
color: #fff; color: #fff;
@ -236,8 +238,110 @@ nav.pagination ul li a {
.wrapper.secondary { .wrapper.secondary {
position: relative; position: relative;
color: #fff; color: #fff;
overflow: hidden;
}
/*mobile*/
@media only screen and (min-width: 320px) and (max-width: 599px) {
.container p,
.container h1,
.container h2,
.footer .upper p {
width: inherit;
}
#main {
padding-top: 15px;
}
.form-search label,
.form-inline label,
.form-search .btn-group,
.form-inline .btn-group {
display: block;
}
.filter label {
display: none;
}
.navbar .nav-wrap,
.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container,
.navbar .brand {
width: 95%;
margin: 0 0 0 0;
padding: 0 0 0 0;
margin-left: auto;
margin-right: auto;
}
.form-horizontal .control-label {
text-align: left;
float: none;
}
.form-horizontal .controls {
margin-left: 0px;
}
.span6 {
width: inherit;
}
/*mobile navbar*/
.navbar div.navbar-inner {
padding-left: 0px;
padding-right: 0px;
padding-top: 10px;
padding-bottom: 10px;
border: none;
}
.navbar .nav-wrap {
width: 90%;
margin: 0 auto;
}
.navbar .nav-wrap ul.nav li {
display: block;
}
.navbar .nav-wrap ul.nav li a {
padding: 5px 0;
}
.navbar .nav-wrap ul.nav li:nth-child(even),
.navbar .nav-wrap ul.nav > .active > a,
.navbar .nav-wrap ul.nav > .active > a:hover {
border-left: none;
border-right: none;
}
/*mobile footer*/
.footer .upper {
padding-top: 15px;
}
.footer .upper p {
width: inherit;
background-image: none;
padding-left: 0px;
}
.footer .upper ul.pull-right {
width: 270px;
display: block;
float: none;
margin: 0 auto;
}
.footer .upper ul.pull-right li {
width: 90px;
float: left;
}
.footer .upper ul.pull-right li a {
margin: 0 auto;
}
.footer .lower {
border-top: none;
}
.footer .lower ul.pull-left {
display: none;
}
.footer .lower ul.pull-right {
float: none;
text-align: center;
}
.footer .lower ul.pull-right li {
display: inline;
}
} }
/*CSOL-site specific*/
.poster a, .poster a,
.poster img { .poster img {
display: block; display: block;
@ -496,20 +600,62 @@ input[type="password"].metered:focus:invalid + .password-meter {
input[type="password"].metered:focus:invalid:focus + .password-meter { input[type="password"].metered:focus:invalid:focus + .password-meter {
border-color: #e9322d; border-color: #e9322d;
} }
/*landing page specific*/ /* ------------------------------ */
body.home { /* Mobile : width > iphone ------ */
background-image: url('../img/background-chalkboard-green.jpg'); /* ------------------------------ */
background-repeat: no-repeat; @media only screen and (min-width: 321px) and (max-width: 940px) {
-webkit-background-size: cover; .navbar .brand {
-moz-background-size: cover; background-image: url('../img/csol_logo_480.png');
-o-background-size: cover; height: 166px;
background-size: cover; }
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale')";
overflow: visible;
} }
body.home .container { /* ------------------------------ */
width: 960px; /* Mobile : width <= iphone ----- */
/* ------------------------------ */
@media only screen and (max-width: 320px) {
.navbar .brand {
background-image: url('../img/csol_logo_320.png');
height: 116px;
}
}
/* ------------------------------ */
/* CSOL-site SPECIFIC ----------- */
/* ------------------------------ */
/* ------------------------------ */
/* Mobile : width <= iphone ---- */
/* ------------------------------ */
@media only screen and (max-width: 320px) {
.span3 {
width: 150px;
}
ul.thumbnails li figure.thumbnail > a img {
width: 140px;
}
ul.thumbnails li figure.thumbnail {
margin: 0 0 0 0;
}
ul.thumbnails li figure.thumbnail > a img {
display: block;
width: 140px;
height: 140px;
background-image: url('../img/badge-default-320.png');
}
ul.thumbnails li:nth-child(2n+2) figure.thumbnail > a img {
background-position: 0 -140px;
}
ul.thumbnails li:nth-child(3n+3) figure.thumbnail > a img {
background-position: -140px 0px;
}
ul.thumbnails li:nth-child(4n+4) figure.thumbnail > a img {
background-position: -140px -140px;
}
}
/* ------------------------------ */
/* Landing page ---------------- */
/* ------------------------------ */
body.home #main {
padding: 0 0 0 0;
display: none;
} }
body.home .navbar { body.home .navbar {
-webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25); -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
@ -517,24 +663,9 @@ body.home .navbar {
box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25); box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
} }
body.home .navbar .navbar-inner { body.home .navbar .navbar-inner {
background-image: url('../img/spacedimg.jpg');
background-repeat: no-repeat;
background-position: top center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
padding-top: 0px;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale')";
overflow: visible; overflow: visible;
max-height: 515px; max-height: 515px;
} }
body.home .navbar .navbar-inner > .container {
background-image: url('../img/home_drawing.png');
background-position: top center;
background-repeat: no-repeat;
}
body.home .navbar .nav > li.dropdown.open > .dropdown-toggle { body.home .navbar .nav > li.dropdown.open > .dropdown-toggle {
color: #fff; color: #fff;
} }
@ -542,7 +673,7 @@ body.home .navbar .brand {
background-image: url('../img/csol_logo_sm.png'); background-image: url('../img/csol_logo_sm.png');
position: absolute; position: absolute;
left: 50%; left: 50%;
margin-left: -102px; margin-left: -93px;
z-index: 2; z-index: 2;
top: 50px; top: 50px;
width: 189px; width: 189px;
@ -553,10 +684,10 @@ body.home .navbar .nav-wrap {
width: inherit; width: inherit;
margin-bottom: 0px; margin-bottom: 0px;
height: 600px; height: 600px;
width: 310px; width: 314px;
margin: 0 auto; margin: 0 auto;
background: none; background: none;
background-image: url('../img/banner300.png'); background-image: url('../img/banner314.png');
background-position: top center; background-position: top center;
background-repeat: no-repeat; background-repeat: no-repeat;
position: relative; position: relative;
@ -565,7 +696,6 @@ body.home .navbar .nav-wrap {
} }
body.home .navbar .nav-wrap ul.nav { body.home .navbar .nav-wrap ul.nav {
padding-top: 200px; padding-top: 200px;
left: -6px;
} }
body.home .navbar .nav-wrap ul.nav > li { body.home .navbar .nav-wrap ul.nav > li {
text-align: left; text-align: left;
@ -626,133 +756,200 @@ body.home .navbar .nav-wrap ul.nav > li:nth-child(even) {
border-left: none; border-left: none;
border-right: none; border-right: none;
} }
body.home #main { /* ------------------------------ */
padding: 0 0 0 0; /* Landing page : larger displays */
display: none; /* ------------------------------ */
@media screen and (min-width: 600px) {
body.home {
background-image: url('../img/background-chalkboard-green.jpg');
background-repeat: no-repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale')";
overflow: visible;
}
body.home .navbar .navbar-inner {
background-image: url('../img/spacedimg.jpg');
background-repeat: no-repeat;
background-position: top center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
padding-top: 0px;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale')";
}
body.home .navbar .navbar-inner > .container {
background-image: url('../img/home_drawing.png');
background-position: top center;
background-repeat: no-repeat;
}
body.home .container {
width: 960px;
}
body.home .navbar-static-top .container {
width: inherit;
}
body.home .secondary .upper {
padding-top: 15px;
position: relative;
}
body.home .secondary .upper > p.pull-left {
display: none;
}
body.home .secondary .upper > .pull-right {
float: left;
text-align: center;
width: 340px;
padding-top: 55px;
position: relative;
}
body.home .secondary .upper > .pull-right li:nth-child(even) {
margin: 12px;
}
body.home .secondary .lower {
border-top: none;
}
body.home .secondary .lower .pull-right li:first-child {
display: none;
}
body.home .secondary .lower .pull-right li:nth-child(2) {
border-left: none;
}
body.home .footer {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
body.home #rahm {
position: relative;
width: 210px;
padding-left: 100px;
padding-top: 15px;
background-image: url('../img/rahm.png');
background-repeat: no-repeat;
background-position: center left;
float: left;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}
body.home #bubbles {
float: left;
background-image: url('../img/bubbles.png');
width: 310px;
height: 140px;
background-repeat: no-repeat;
background-position: 18px 0px;
margin-top: 15px;
}
body.home #bubbles span {
color: #000;
display: block;
width: 100px;
}
body.home #bubbles span.lt {
float: left;
margin-left: 34px;
margin-top: 12px;
}
body.home #bubbles span.lt a {
color: #3B5998;
}
body.home #bubbles span.rt {
margin-top: 52px;
margin-right: 7px;
float: right;
font-size: 24px;
line-height: 20px;
}
body.home .footer {
background-image: none;
}
body.home #bkg_fade {
position: fixed;
width: 100%;
height: 100%;
background-image: url('../img/65pb.png');
margin: 0 0 0 0;
padding: 0 0 0 0;
z-index: 3;
}
body.home #i_vid_wrap {
width: 640px;
height: 360px;
position: fixed;
top: 50%;
left: 50%;
margin-top: -204px;
margin-left: -348px;
z-index: 4;
background-color: #000;
padding: 28px;
border-radius: 7px;
}
body.home #cl_i_vid {
background-image: url('../img/close.png');
position: absolute;
top: -7px;
right: -7px;
display: block;
width: 25px;
height: 25px;
text-indent: -9000px;
}
} }
body.home .navbar-static-top .container { /* ------------------------------ */
width: inherit; /* Landing page : mobile -------- */
} /* ------------------------------ */
body.home .secondary .upper { @media only screen and (min-width: 320px) and (max-width: 599px) {
padding-top: 15px; body.home {
position: relative; background-image: url('../img/chalkboard_bg.jpg');
} }
body.home .secondary .upper > p.pull-left { body.home .navbar {
display: none; -webkit-box-shadow: none;
} -moz-box-shadow: none;
body.home .secondary .upper > .pull-right { box-shadow: none;
float: left; }
text-align: center; body.home .navbar div.navbar-inner {
width: 340px; padding-top: 0px;
padding-top: 55px; background-image: none;
position: relative; background: none;
left: -7px; border: none;
} -webkit-box-shadow: none;
body.home .secondary .upper > .pull-right li:nth-child(even) { -moz-box-shadow: none;
margin: 12px; box-shadow: none;
} }
body.home .secondary .lower { body.home .navbar .nav-wrap ul.nav li {
border-top: none; display: block;
} }
body.home .secondary .lower .pull-right li:first-child { body.home .navbar .nav-wrap ul.nav li a {
display: none; padding: 10px 15px 10px;
} }
body.home .secondary .lower .pull-right li:nth-child(2) { body.home .footer {
border-left: none; background-image: none;
} box-shadow: none;
body.home .footer { }
-webkit-box-shadow: none; body.home .footer .upper {
-moz-box-shadow: none; padding-top: 70px;
box-shadow: none; padding-bottom: 20px;
} }
body.home #rahm { body.home .footer .upper p,
position: relative; body.home .footer .upper div {
width: 210px; display: none;
padding-left: 100px; }
padding-top: 15px; body.home .footer .upper ul {
background-image: url('../img/rahm.png'); width: 90%;
background-repeat: no-repeat; display: block;
background-position: center left; }
float: left; body.home .footer .upper ul li {
-webkit-hyphens: none; width: 32%;
-moz-hyphens: none; }
hyphens: none; body.home .footer .upper ul li a {
} margin: 0 auto;
body.home #bubbles { }
float: left;
background-image: url('../img/bubbles.png');
width: 310px;
height: 140px;
background-repeat: no-repeat;
background-position: 18px 0px;
margin-top: 15px;
}
body.home #bubbles span {
color: #000;
display: block;
width: 100px;
}
body.home #bubbles span.lt {
float: left;
margin-left: 34px;
margin-top: 12px;
}
body.home #bubbles span.lt a {
color: #3B5998;
}
body.home #bubbles span.rt {
margin-top: 52px;
margin-right: 7px;
float: right;
font-size: 24px;
line-height: 20px;
}
body.home .footer {
background-image: none;
}
body.home #bkg_fade {
position: fixed;
width: 100%;
height: 100%;
background-image: url('../img/65pb.png');
margin: 0 0 0 0;
padding: 0 0 0 0;
z-index: 3;
}
body.home #i_vid_wrap {
width: 640px;
height: 360px;
position: fixed;
top: 50%;
left: 50%;
margin-top: -204px;
margin-left: -348px;
z-index: 4;
background-color: #000;
padding: 28px;
border-radius: 7px;
}
body.home #cl_i_vid {
background-image: url('../img/close.png');
position: absolute;
top: -7px;
right: -7px;
display: block;
width: 25px;
height: 25px;
text-indent: -9000px;
}
.filter {
color: #EEE;
}
.filter select {
margin-right: 10px;
width: 115px;
vertical-align: baseline;
}
.filter input {
vertical-align: baseline;
}
.filter .navbar-inner {
padding-left: 10px;
} }

Двоичные данные
static/media/img/badge-default-320.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 6.6 KiB

Двоичные данные
static/media/img/banner314.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 17 KiB

Двоичные данные
static/media/img/csol_logo_320.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 20 KiB

Двоичные данные
static/media/img/csol_logo_480.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 35 KiB

Просмотреть файл

@ -1,6 +1,12 @@
$(document).ready(function(){ $(document).ready(function(){
var mob = 0;
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) mob = 1
$('.show-tooltip').tooltip(); $('.show-tooltip').tooltip();
if($('body.home').length != 0) { if($('body.home').length != 0) {
var vidLink = $('<a href="#">watch video</a>').click(function(){ var vidLink = $('<a href="#">watch video</a>').click(function(){
if($('#i_vid').length == 0) { if($('#i_vid').length == 0) {
var bkgFade = $('<div id="bkg_fade" style="display:none;"></div>'); var bkgFade = $('<div id="bkg_fade" style="display:none;"></div>');
@ -23,6 +29,11 @@ $(document).ready(function(){
/*landing page menu rearrange*/ /*landing page menu rearrange*/
$('<p id="rahm">This summer Mayor Rahm Emanuel is challenging all Chicago youth to participate in the Summer of Learning. School stops for the summer, but learning never should.</p>').prependTo('.footer .upper'); $('<p id="rahm">This summer Mayor Rahm Emanuel is challenging all Chicago youth to participate in the Summer of Learning. School stops for the summer, but learning never should.</p>').prependTo('.footer .upper');
$('<div id="bubbles"><span class="lt">join the conversation on <a href="#">Facebook</a>.</span><span class="rt">share stories</span></div>').appendTo('.footer .upper'); $('<div id="bubbles"><span class="lt">join the conversation on <a href="#">Facebook</a>.</span><span class="rt">share stories</span></div>').appendTo('.footer .upper');
if(mob) {
vidLink = '<a href="http://www.youtube.com/v/6WwpwtYNsNk">watch video</a>';
}
$('li.claim').after($('<li class="video"></li>').append(vidLink)); $('li.claim').after($('<li class="video"></li>').append(vidLink));
$('li.log-in').before($('.about')); $('li.log-in').before($('.about'));

Просмотреть файл

@ -93,6 +93,7 @@ ol {
} }
.navbar-inner { .navbar-inner {
background-image:url('../img/chalkboard_bg.jpg'); background-image:url('../img/chalkboard_bg.jpg');
background-repeat:repeat;
} }
form.navbar-inner { form.navbar-inner {
padding:7px; padding:7px;
@ -115,7 +116,7 @@ ol {
background:#fff; background:#fff;
text-align:center; text-align:center;
ul.nav { ul.nav {
display:inline-block; display:inline-block;
margin:0 0 0 0; margin:0 0 0 0;
& > li { & > li {
float:none; float:none;
@ -170,6 +171,7 @@ nav.pagination {
-webkit-box-shadow:inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25); -webkit-box-shadow:inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
-moz-box-shadow:inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25); -moz-box-shadow:inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
box-shadow:inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25); box-shadow:inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
background-repeat:repeat;
a { a {
color: #fff; color: #fff;
} }
@ -261,12 +263,123 @@ nav.pagination {
} }
&.secondary { &.secondary {
position:relative; position:relative;
color:#fff; color:#fff;
overflow:hidden;
}
}
/*mobile*/
@media only screen
and (min-width : 320px)
and (max-width : 599px) {
.container p, .container h1, .container h2, .footer .upper p {
width:inherit;
}
#main {
padding-top:15px;
}
.form-search label, .form-inline label, .form-search .btn-group, .form-inline .btn-group {
display:block;
}
.filter label {
display:none;
}
.navbar .nav-wrap,
.container,
.navbar-static-top .container,
.navbar-fixed-top .container,
.navbar-fixed-bottom .container,
.navbar .brand {
width:95%;
margin:0 0 0 0;
padding:0 0 0 0;
margin-left:auto;
margin-right:auto;
}
.form-horizontal {
.control-label {
text-align:left;
float:none;
}
.controls {
margin-left:0px;
}
}
.span6 {
width:inherit;
}
/*mobile navbar*/
.navbar {
div.navbar-inner {
padding-left:0px;
padding-right:0px;
padding-top:10px;
padding-bottom:10px;
border:none;
}
.nav-wrap {
width:90%;
margin:0 auto;
ul.nav {
li {
display:block;
a {
padding: 5px 0;
}
}
li:nth-child(even),
& > .active > a,
& > .active > a:hover,
{
border-left:none;
border-right:none;
}
}
}
}
/*mobile footer*/
.footer {
.upper {
padding-top:15px;
p {
width:inherit;
background-image:none;
padding-left:0px;
}
ul.pull-right {
width:270px;
display:block;
float:none;
margin:0 auto;
li {
width:90px;
float:left;
a {
margin: 0 auto;
}
}
}
}
.lower {
border-top:none;
ul.pull-left {
display:none;
}
ul.pull-right {
float:none;
text-align:center;
li {
display:inline;
}
}
}
} }
} }
/*CSOL-site specific*/
.poster a, .poster a,
.poster img { .poster img {
display: block; display: block;
@ -594,43 +707,96 @@ input[type="password"].metered {
} }
} }
/*landing page specific*/ /* ------------------------------ */
body.home { /* Mobile : width > iphone ------ */
background-image:url('../img/background-chalkboard-green.jpg'); /* ------------------------------ */
background-repeat:no-repeat; @media only screen
-webkit-background-size:cover; and (min-width : 321px)
-moz-background-size:cover; and (max-width : 940px ) {
-o-background-size:cover; .navbar .brand {
background-size:cover; background-image: url('../img/csol_logo_480.png');
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale'); height:166px;
-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale')";
overflow:visible;
.container {
width:960px;
} }
.navbar { }
-webkit-box-shadow:0px 10px 20px 0px rgba(0, 0, 0, 0.25);
-moz-box-shadow:0px 10px 20px 0px rgba(0, 0, 0, 0.25); /* ------------------------------ */
box-shadow:0px 10px 20px 0px rgba(0, 0, 0, 0.25); /* Mobile : width <= iphone ----- */
.navbar-inner { /* ------------------------------ */
background-image:url('../img/spacedimg.jpg'); @media only screen
background-repeat:no-repeat; and (max-width : 320px) {
background-position:top center; .navbar .brand {
-webkit-background-size:cover; background-image: url('../img/csol_logo_320.png');
-moz-background-size:cover; height:116px;
-o-background-size:cover; }
background-size:cover; }
padding-top:0px;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale'); /* ------------------------------ */
-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale')"; /* CSOL-site SPECIFIC ----------- */
overflow:visible; /* ------------------------------ */
max-height:515px;
/* ------------------------------ */
/* Mobile : width <= iphone ---- */
/* ------------------------------ */
@media only screen
and (max-width : 320px) {
.span3 {
width:150px;
}
ul.thumbnails li figure.thumbnail > a img {
width:140px;
}
ul.thumbnails {
li {
figure.thumbnail {
margin:0 0 0 0;
& > a img {
display:block;
width:140px;
height:140px;
background-image:url('../img/badge-default-320.png');
}
}
}
li:nth-child(2n+2) {
figure.thumbnail {
& > a img {
background-position:0 -140px;
}
}
}
li:nth-child(3n+3) {
figure.thumbnail {
& > a img {
background-position:-140px 0px;
}
}
}
li:nth-child(4n+4) {
figure.thumbnail {
& > a img {
background-position:-140px -140px;
}
}
}
}
}
/* ------------------------------ */
/* Landing page ---------------- */
/* ------------------------------ */
body.home {
#main {
padding:0 0 0 0;
display:none;
}
.navbar {
-webkit-box-shadow:0px 10px 20px 0px rgba(0, 0, 0, 0.25);
-moz-box-shadow:0px 10px 20px 0px rgba(0, 0, 0, 0.25);
box-shadow:0px 10px 20px 0px rgba(0, 0, 0, 0.25);
.navbar-inner {
overflow:visible;
max-height:515px;
& > .container {
background-image:url('../img/home_drawing.png');
background-position:top center;
background-repeat:no-repeat;
}
} }
.nav { .nav {
& > li { & > li {
@ -643,7 +809,7 @@ body.home {
background-image:url('../img/csol_logo_sm.png'); background-image:url('../img/csol_logo_sm.png');
position:absolute; position:absolute;
left:50%; left:50%;
margin-left:-102px; margin-left:-93px;
z-index:2; z-index:2;
top:50px; top:50px;
width:189px; width:189px;
@ -654,10 +820,10 @@ body.home {
width:inherit; width:inherit;
margin-bottom:0px; margin-bottom:0px;
height:600px; height:600px;
width:310px; width:314px;
margin:0 auto; margin:0 auto;
background:none; background:none;
background-image:url('../img/banner300.png'); background-image:url('../img/banner314.png');
background-position:top center; background-position:top center;
background-repeat:no-repeat; background-repeat:no-repeat;
position:relative; position:relative;
@ -665,7 +831,6 @@ body.home {
box-shadow:none; box-shadow:none;
ul.nav { ul.nav {
padding-top:200px; padding-top:200px;
left:-6px;
& > li { & > li {
text-align:left; text-align:left;
display:block; display:block;
@ -726,145 +891,217 @@ body.home {
} }
} }
} }
#main { }
padding:0 0 0 0;
display:none;
} /* ------------------------------ */
.navbar-static-top { /* Landing page : larger displays */
.container { /* ------------------------------ */
width:inherit; @media screen and (min-width: 600px) {
} body.home {
} .navbar {
.secondary { .navbar-inner {
.upper { background-image:url('../img/spacedimg.jpg');
padding-top:15px; background-repeat:no-repeat;
position:relative; background-position:top center;
> p.pull-left { -webkit-background-size:cover;
display:none; -moz-background-size:cover;
} -o-background-size:cover;
> .pull-right { background-size:cover;
float:left; padding-top:0px;
text-align:center; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale');
width:340px; -ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/spacedimg.png', sizingMethod='scale')";
padding-top:55px; & > .container {
position:relative; background-image:url('../img/home_drawing.png');
left:-7px; background-position:top center;
li:nth-child(even){ background-repeat:no-repeat;
margin:12px; }
} }
} }
} background-image:url('../img/background-chalkboard-green.jpg');
.lower { background-repeat:no-repeat;
border-top:none; -webkit-background-size:cover;
.pull-right { -moz-background-size:cover;
li:first-child { -o-background-size:cover;
display:none; background-size:cover;
} filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale');
li:nth-child(2) { -ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/background-chalkboard-green.jpg', sizingMethod='scale')";
border-left:none; overflow:visible;
} .container {
width:960px;
}
.navbar-static-top {
.container {
width:inherit;
} }
} }
} .secondary {
.footer { .upper {
-webkit-box-shadow:none; padding-top:15px;
-moz-box-shadow:none; position:relative;
box-shadow:none; > p.pull-left {
} display:none;
#rahm { }
position:relative; > .pull-right {
width:210px; float:left;
padding-left:100px; text-align:center;
padding-top:15px; width:340px;
background-image:url('../img/rahm.png'); padding-top:55px;
background-repeat:no-repeat; position:relative;
background-position:center left; li:nth-child(even){
float:left; margin:12px;
-webkit-hyphens:none; }
-moz-hyphens:none; }
hyphens:none; }
} .lower {
#bubbles { border-top:none;
float:left; .pull-right {
background-image:url('../img/bubbles.png'); li:first-child {
width:310px; display:none;
height:140px; }
background-repeat:no-repeat; li:nth-child(2) {
background-position:18px 0px; border-left:none;
margin-top:15px; }
span { }
color:#000; }
display:block; }
width:100px; .footer {
&.lt { -webkit-box-shadow:none;
float:left; -moz-box-shadow:none;
margin-left:34px; box-shadow:none;
margin-top:12px; }
a { #rahm {
color:#3B5998; position:relative;
} width:210px;
} padding-left:100px;
&.rt { padding-top:15px;
margin-top:52px; background-image:url('../img/rahm.png');
margin-right:7px; background-repeat:no-repeat;
float:right; background-position:center left;
font-size:24px; float:left;
line-height:20px; -webkit-hyphens:none;
} -moz-hyphens:none;
} hyphens:none;
} }
.footer { #bubbles {
background-image: none; float:left;
} background-image:url('../img/bubbles.png');
#bkg_fade { width:310px;
position:fixed; height:140px;
width:100%; background-repeat:no-repeat;
height:100%; background-position:18px 0px;
background-image:url('../img/65pb.png'); margin-top:15px;
margin:0 0 0 0; span {
padding:0 0 0 0; color:#000;
z-index:3; display:block;
} width:100px;
#i_vid_wrap { &.lt {
width:640px; float:left;
height:360px; margin-left:34px;
position:fixed; margin-top:12px;
top:50%; a {
left:50%; color:#3B5998;
margin-top:-204px; }
margin-left:-348px; }
z-index:4; &.rt {
background-color:#000; margin-top:52px;
padding:28px; margin-right:7px;
border-radius:7px; float:right;
} font-size:24px;
#cl_i_vid { line-height:20px;
background-image:url('../img/close.png'); }
position:absolute; }
top:-7px; }
right:-7px; .footer {
display:block; background-image: none;
width:25px; }
height:25px; #bkg_fade {
text-indent:-9000px; position:fixed;
} width:100%;
} height:100%;
background-image:url('../img/65pb.png');
.filter { margin:0 0 0 0;
color: #EEE; padding:0 0 0 0;
z-index:3;
select { }
margin-right: 10px; #i_vid_wrap {
width: 115px; width:640px;
vertical-align: baseline; height:360px;
} position:fixed;
top:50%;
input { left:50%;
vertical-align: baseline; margin-top:-204px;
} margin-left:-348px;
z-index:4;
.navbar-inner { background-color:#000;
padding-left: 10px; padding:28px;
border-radius:7px;
}
#cl_i_vid {
background-image:url('../img/close.png');
position:absolute;
top:-7px;
right:-7px;
display:block;
width:25px;
height:25px;
text-indent:-9000px;
}
}
}
/* ------------------------------ */
/* Landing page : mobile -------- */
/* ------------------------------ */
@media only screen
and (min-width : 320px)
and (max-width : 599px) {
body.home {
background-image:url('../img/chalkboard_bg.jpg');
.navbar {
-webkit-box-shadow:none;
-moz-box-shadow:none;
box-shadow:none;
div.navbar-inner {
padding-top:0px;
background-image:none;
background:none;
border:none;
-webkit-box-shadow:none;
-moz-box-shadow:none;
box-shadow:none;
}
.nav-wrap {
ul.nav {
li {
display:block;
a {
padding: 10px 15px 10px;
}
}
}
}
}
.footer {
background-image:none;
box-shadow:none;
.upper {
padding-top:70px;
padding-bottom:20px;
p, div {
display:none;
}
ul {
width:90%;
display:block;
li {
width:32%;
a {
margin: 0 auto;
}
}
}
}
}
} }
} }