New WAC Site About
by Koubenec
HTML
<!doctype html>
<html>
<head>
<title>Simple Grid</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="simpleGrid.css" />
<link rel="stylesheet" type="text/css" href="modernpictograms.css" />
<link href='http://fonts.googleapis.com/css?family=Ledger' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="http://www.competitivenarratives.com/wactest/jquery.dotdotdot-1.5.6-packed.js"></script>
<script type="text/javascript" src="http://www.competitivenarratives.com/wactest/togglenav2.js"></script>
<script type="text/javascript" src="http://www.competitivenarratives.com/wactest/backstretch.js"></script>
<script type="text/javascript" src="ftp://[email protected]/shadow.js"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function(){
$('.mainnewstext, .secondnewstext').dotdotdot({
// see http://dotdotdot.frebsite.nl/ for configuration notes
ellipsis : '... ',
wrap : 'word',
after : null,
watch : true,
height : 100
});
});
</script>
<script type="text/javascript">
$(function(){
$("#firststorypic").backstretch("http://www.competitivenarratives.com/wactest/highres_capital_modded_3.jpg");
$("#secondstorypic").backstretch("http://www.competitivenarratives.com/wactest/Deputy_PM_rectangle.jpg");
$("#thirdstorypic").backstretch("http://www.competitivenarratives.com/wactest/highres_capital_modded_3.jpg");
})
</script>
<script type="text/javascript">
$(document).ready(function()...
CSS
/*
Simple Grid
Learn More - http://dallasbass.com/simple-grid-a-lightweight-responsive-css-grid/
Project Page - http://thisisdallas.github.com/Simple-Grid/
Author - Dallas Bass
Site - dallasbass.com
*/
*, *:after, *:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
margin: 0px;
font-family: 'Ledger', serif;
height: 100%;
}
/*#bottom {
position: fixed;
bottom: 0px;
background-color: transparent;
}*/
#bottombar {
background-color: #fff;
}
/*.positionmaster {
background-color: blue;
}*/
/*.mainback {
background-color: transparent;
height: 90%;
}*/
#logocontainer {
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
#logoimg {
max-width: 100%;
height: auto;
}
.mainnewsheadline {
font-family: 'Montserrat', sans-serif;
font-weight: bold;
font-size: 2.0em;
color: #000;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
}
.newsline {
width: 100%;
height: 1px;
background-color: #000;
}
.mainnewstext {
font-family: 'Montserrat', sans-serif;
font-weight: bold;
font-size: 1.0em;
color: #000;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 10px;
}
#firststorypic {
width: 100%;
height: auto;
}
#secondstorypic {
width: 100%;
height: auto;
}
#thirdstorypic {
width: 100%;
height: auto;
}
.secondnewsheadline {
font-family: 'Montserrat', sans-serif;
font-weight: bold;
font-size: 2.0em;
color: #fff;
padding-left: 10px;
padding-right: 10px;
padding-top: 10em;
padding-bottom: 10px;
}
.secondnewstext {
font-family: 'Montserrat', sans-serif;
font-weight: bold;
font-size: 1.0em;
color: #000;
}
.pictograms {
font-family: 'Modern pictograms';
font-size: 20px;
}
.pictocaption {
font-family: 'Ledger', serif;
...
JavaScript
$(document).ready(function(){
$('.positionmaster').each(function(){
var highestBox = 0;
$('.col-1-3', this).each(function(){
if($(this).height() > highestBox)
highestBox = $(this).height();
});
$('.col-1-3',this).height(highestBox);
});
});