This commit is contained in:
Michael Ballard 2013-06-03 17:11:59 -04:00
Родитель f03c0fef5f
Коммит b2901df59b
7 изменённых файлов: 786 добавлений и 333 удалений

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

@ -85,6 +85,7 @@ ol {
}
.navbar .navbar-inner {
background-image: url('../img/chalkboard_bg.jpg');
background-repeat: repeat;
}
.navbar form.navbar-inner {
padding: 7px;
@ -107,24 +108,24 @@ ol {
background: #fff;
text-align: center;
}
.navbar .nav-wrap ul {
.navbar .nav-wrap ul.nav {
display: inline-block;
margin: 0 0 0 0;
}
.navbar .nav-wrap ul > li {
.navbar .nav-wrap ul.nav > li {
float: none;
display: inline-block;
}
.navbar .nav-wrap ul > li > a {
.navbar .nav-wrap ul.nav > li > a {
text-shadow: none;
color: #333333;
text-transform: uppercase;
}
.navbar .nav-wrap ul > li > a:focus,
.navbar .nav-wrap ul > li > a:hover {
.navbar .nav-wrap ul.nav > li > a:focus,
.navbar .nav-wrap ul.nav > li > a:hover {
color: #c0c0c0;
}
.navbar .nav-wrap ul > li:last-child {
.navbar .nav-wrap ul.nav > li:last-child {
border-right: none;
}
.navbar .brand {
@ -154,6 +155,7 @@ nav.pagination ul li a {
-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);
box-shadow: inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
background-repeat: repeat;
}
.footer a {
color: #fff;
@ -236,8 +238,100 @@ nav.pagination ul li a {
.wrapper.secondary {
position: relative;
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: 100%;
margin: 0 0 0 0;
padding: 0 0 0 0;
margin-left: auto;
margin-right: auto;
}
/*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 img {
display: block;
@ -496,20 +590,62 @@ input[type="password"].metered:focus:invalid + .password-meter {
input[type="password"].metered:focus:invalid:focus + .password-meter {
border-color: #e9322d;
}
/*landing page specific*/
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;
/* ------------------------------ */
/* Mobile : width > iphone ------ */
/* ------------------------------ */
@media only screen and (min-width: 321px) and (max-width: 940px) {
.navbar .brand {
background-image: url('../img/csol_logo_480.png');
height: 166px;
}
}
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 {
-webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
@ -517,24 +653,9 @@ body.home .navbar {
box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
}
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;
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 {
color: #fff;
}
@ -542,7 +663,7 @@ body.home .navbar .brand {
background-image: url('../img/csol_logo_sm.png');
position: absolute;
left: 50%;
margin-left: -102px;
margin-left: -93px;
z-index: 2;
top: 50px;
width: 189px;
@ -553,36 +674,35 @@ body.home .navbar .nav-wrap {
width: inherit;
margin-bottom: 0px;
height: 600px;
width: 310px;
width: 314px;
margin: 0 auto;
background: none;
background-image: url('../img/banner300.png');
background-image: url('../img/banner314.png');
background-position: top center;
background-repeat: no-repeat;
position: relative;
z-index: 1;
box-shadow: none;
}
body.home .navbar .nav-wrap ul {
body.home .navbar .nav-wrap ul.nav {
padding-top: 200px;
left: -6px;
}
body.home .navbar .nav-wrap ul > li {
body.home .navbar .nav-wrap ul.nav > li {
text-align: left;
display: block;
line-height: 9px;
}
body.home .navbar .nav-wrap ul > li > a {
body.home .navbar .nav-wrap ul.nav > li > a {
text-transform: inherit;
font-size: 22px;
color: #f4fc00;
text-transform: lowercase;
}
body.home .navbar .nav-wrap ul > li.learn > a:first-letter {
body.home .navbar .nav-wrap ul.nav > li.learn > a:first-letter {
text-transform: capitalize;
}
body.home .navbar .nav-wrap ul > li.log-in > a,
body.home .navbar .nav-wrap ul > li.about > a {
body.home .navbar .nav-wrap ul.nav > li.log-in > a,
body.home .navbar .nav-wrap ul.nav > li.about > a {
font-size: 18px;
color: #fff;
text-transform: lowercase;
@ -590,19 +710,19 @@ body.home .navbar .nav-wrap ul > li.about > a {
text-align: center;
line-height: 24px;
}
body.home .navbar .nav-wrap ul > li.claim > a {
body.home .navbar .nav-wrap ul.nav > li.claim > a {
text-align: center;
text-transform: capitalize;
margin-top: 5px;
}
body.home .navbar .nav-wrap ul > li.claim > a:before,
body.home .navbar .nav-wrap ul > li.claim > a:after {
body.home .navbar .nav-wrap ul.nav > li.claim > a:before,
body.home .navbar .nav-wrap ul.nav > li.claim > a:after {
content: '-';
}
body.home .navbar .nav-wrap ul > li.video {
body.home .navbar .nav-wrap ul.nav > li.video {
margin: 30px 0;
}
body.home .navbar .nav-wrap ul > li.video a {
body.home .navbar .nav-wrap ul.nav > li.video a {
color: #fff;
border-radius: 7px;
margin: auto;
@ -619,126 +739,207 @@ body.home .navbar .nav-wrap ul > li.video a {
background: linear-gradient(to bottom, #e82202 0%, #e5381d 44%, #e56854 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e82202', endColorstr='#e56854', GradientType=0);
}
body.home .navbar .nav-wrap ul > li span {
body.home .navbar .nav-wrap ul.nav > li span {
color: #fff;
}
body.home .navbar .nav-wrap ul > li:nth-child(even) {
body.home .navbar .nav-wrap ul.nav > li:nth-child(even) {
border-left: none;
border-right: none;
}
body.home #main {
padding: 0 0 0 0;
display: none;
/* ------------------------------ */
/* Landing page : larger displays */
/* ------------------------------ */
@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;
}
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;
left: -7px;
}
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;
/* ------------------------------ */
/* Landing page : mobile -------- */
/* ------------------------------ */
@media only screen and (min-width: 320px) and (max-width: 599px) {
body.home {
background-image: url('../img/chalkboard_bg.jpg');
}
body.home .navbar {
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
body.home .navbar div.navbar-inner {
padding-top: 0px;
background-image: none;
background: none;
border: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
body.home .navbar .nav-wrap ul.nav li {
display: block;
}
body.home .navbar .nav-wrap ul.nav li a {
padding: 10px 15px 10px;
}
body.home .footer {
background-image: none;
box-shadow: none;
}
body.home .footer .upper {
padding-top: 70px;
padding-bottom: 20px;
}
body.home .footer .upper p,
body.home .footer .upper div {
display: none;
}
body.home .footer .upper ul {
width: 90%;
display: block;
}
body.home .footer .upper ul li {
width: 32%;
}
body.home .footer .upper ul li a {
margin: 0 auto;
}
}

Двоичные данные
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(){
var mob = 0;
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) mob = 1
$('.show-tooltip').tooltip();
if($('body.home').length != 0) {
var vidLink = $('<a href="#">watch video</a>').click(function(){
if($('#i_vid').length == 0) {
var bkgFade = $('<div id="bkg_fade" style="display:none;"></div>');
@ -23,6 +29,11 @@ $(document).ready(function(){
/*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');
$('<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.log-in').before($('.about'));

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

@ -93,6 +93,7 @@ ol {
}
.navbar-inner {
background-image:url('../img/chalkboard_bg.jpg');
background-repeat:repeat;
}
form.navbar-inner {
padding:7px;
@ -114,8 +115,8 @@ ol {
box-shadow:0 0 8px 3px rgba(0, 0, 0, 0.25);
background:#fff;
text-align:center;
ul {
display:inline-block;
ul.nav {
display:inline-block;
margin:0 0 0 0;
& > li {
float:none;
@ -170,6 +171,7 @@ nav.pagination {
-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);
box-shadow:inset 0px 10px 20px 0px rgba(0, 0, 0, 0.25);
background-repeat:repeat;
a {
color: #fff;
}
@ -261,12 +263,109 @@ nav.pagination {
}
&.secondary {
position:relative;
position:relative;
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:100%;
margin:0 0 0 0;
padding:0 0 0 0;
margin-left:auto;
margin-right:auto;
}
/*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 img {
display: block;
@ -594,43 +693,96 @@ input[type="password"].metered {
}
}
/*landing page specific*/
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;
.container {
width:960px;
/* ------------------------------ */
/* Mobile : width > iphone ------ */
/* ------------------------------ */
@media only screen
and (min-width : 321px)
and (max-width : 940px ) {
.navbar .brand {
background-image: url('../img/csol_logo_480.png');
height:166px;
}
.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 {
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;
max-height:515px;
}
/* ------------------------------ */
/* 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;
& > 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 {
& > li {
@ -643,7 +795,7 @@ body.home {
background-image:url('../img/csol_logo_sm.png');
position:absolute;
left:50%;
margin-left:-102px;
margin-left:-93px;
z-index:2;
top:50px;
width:189px;
@ -654,18 +806,17 @@ body.home {
width:inherit;
margin-bottom:0px;
height:600px;
width:310px;
width:314px;
margin:0 auto;
background:none;
background-image:url('../img/banner300.png');
background-image:url('../img/banner314.png');
background-position:top center;
background-repeat:no-repeat;
position:relative;
z-index:1;
box-shadow:none;
ul {
ul.nav {
padding-top:200px;
left:-6px;
& > li {
text-align:left;
display:block;
@ -726,127 +877,217 @@ body.home {
}
}
}
#main {
padding:0 0 0 0;
display:none;
}
.navbar-static-top {
.container {
width:inherit;
}
}
.secondary {
.upper {
padding-top:15px;
position:relative;
> p.pull-left {
display:none;
}
> .pull-right {
float:left;
text-align:center;
width:340px;
padding-top:55px;
position:relative;
left:-7px;
li:nth-child(even){
margin:12px;
}
}
}
.lower {
border-top:none;
.pull-right {
li:first-child {
display:none;
}
li:nth-child(2) {
border-left:none;
}
}
}
}
.footer {
-webkit-box-shadow:none;
-moz-box-shadow:none;
box-shadow:none;
}
#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;
}
#bubbles {
float:left;
background-image:url('../img/bubbles.png');
width:310px;
height:140px;
background-repeat:no-repeat;
background-position:18px 0px;
margin-top:15px;
span {
color:#000;
display:block;
width:100px;
&.lt {
float:left;
margin-left:34px;
margin-top:12px;
a {
color:#3B5998;
}
}
&.rt {
margin-top:52px;
margin-right:7px;
float:right;
font-size:24px;
line-height:20px;
}
}
}
.footer {
background-image: none;
}
#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;
}
#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;
}
#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 : larger displays */
/* ------------------------------ */
@media screen and (min-width: 600px) {
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')";
& > .container {
background-image:url('../img/home_drawing.png');
background-position:top center;
background-repeat:no-repeat;
}
}
}
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;
.container {
width:960px;
}
.navbar-static-top {
.container {
width:inherit;
}
}
.secondary {
.upper {
padding-top:15px;
position:relative;
> p.pull-left {
display:none;
}
> .pull-right {
float:left;
text-align:center;
width:340px;
padding-top:55px;
position:relative;
li:nth-child(even){
margin:12px;
}
}
}
.lower {
border-top:none;
.pull-right {
li:first-child {
display:none;
}
li:nth-child(2) {
border-left:none;
}
}
}
}
.footer {
-webkit-box-shadow:none;
-moz-box-shadow:none;
box-shadow:none;
}
#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;
}
#bubbles {
float:left;
background-image:url('../img/bubbles.png');
width:310px;
height:140px;
background-repeat:no-repeat;
background-position:18px 0px;
margin-top:15px;
span {
color:#000;
display:block;
width:100px;
&.lt {
float:left;
margin-left:34px;
margin-top:12px;
a {
color:#3B5998;
}
}
&.rt {
margin-top:52px;
margin-right:7px;
float:right;
font-size:24px;
line-height:20px;
}
}
}
.footer {
background-image: none;
}
#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;
}
#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;
}
#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;
}
}
}
}
}
}
}