Commit d5ce3076 by Kyle Fiedler

Fixed bugs in IE8

parent 29fd5560
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
<script type="text/javascript" src="/static/js/schematic.js"></script> <script type="text/javascript" src="/static/js/schematic.js"></script>
<script type="text/javascript" src="/static/js/cktsim.js"></script> <script type="text/javascript" src="/static/js/cktsim.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Warning: Do not upgrade FancyBox. V2.0 is under a non-free CC license --> <!-- Warning: Do not upgrade FancyBox. V2.0 is under a non-free CC license -->
<script type="text/javascript" src="/static/lib/fancybox/jquery.fancybox-1.3.4.js"></script> <script type="text/javascript" src="/static/lib/fancybox/jquery.fancybox-1.3.4.js"></script>
<link rel="stylesheet" href="/static/lib/fancybox/jquery.fancybox-1.3.4.css"> <link rel="stylesheet" href="/static/lib/fancybox/jquery.fancybox-1.3.4.css">
......
...@@ -15,9 +15,13 @@ ...@@ -15,9 +15,13 @@
<script type="text/javascript" src="/static/lib//swfobject/swfobject.js"></script> <script type="text/javascript" src="/static/lib//swfobject/swfobject.js"></script>
<script type="text/javascript" src="/static/lib/jquery.treeview.js"></script> <script type="text/javascript" src="/static/lib/jquery.treeview.js"></script>
<script type="text/javascript" src="/static/js/video_player.js"></script> <script type="text/javascript" src="/static/js/video_player.js"></script>
<script type="text/javascript" src="/static/js/schematic.js"></script> <!-- <script type="text/javascript" src="/static/js/schematic.js"></script> -->
<script> <!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script>
$(function() { $(function() {
// Set up FancyBox pop-ups // Set up FancyBox pop-ups
$("a.modal").fancybox({ $("a.modal").fancybox({
......
...@@ -140,20 +140,21 @@ body { ...@@ -140,20 +140,21 @@ body {
} }
header.announcement { header.announcement {
@include background-size(cover); // @include background-size(cover);
background: #333; background: #333;
border-bottom: 1px solid #000; border-bottom: 1px solid #000;
color: #fff; color: #fff;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
&.home { &.home {
background: #e3e3e3 url("/static/images/marketing/shot-1-medium.jpg");
@media screen and (min-width: 1200px) { @media screen and (min-width: 1200px) {
background: #e3e3e3 url("/static/images/marketing/shot-1-large.jpg"); background: #e3e3e3 url("/static/images/marketing/shot-1-large.jpg");
} }
@media screen and (max-width: 1199px) { // @media screen and (max-width: 1199px) {
background: #e3e3e3 url("/static/images/marketing/shot-1-medium.jpg"); // }
}
div { div {
padding: lh(10) lh() lh(3); padding: lh(10) lh() lh(3);
...@@ -161,6 +162,7 @@ header.announcement { ...@@ -161,6 +162,7 @@ header.announcement {
} }
&.course { &.course {
background: #e3e3e3 url("/static/images/marketing/course-bg-small.jpg");
@media screen and (min-width: 1200px) { @media screen and (min-width: 1200px) {
background: #e3e3e3 url("/static/images/marketing/course-bg-large.jpg"); background: #e3e3e3 url("/static/images/marketing/course-bg-large.jpg");
...@@ -168,12 +170,6 @@ header.announcement { ...@@ -168,12 +170,6 @@ header.announcement {
@media screen and (max-width: 1199px) and (min-width: 700px) { @media screen and (max-width: 1199px) and (min-width: 700px) {
background: #e3e3e3 url("/static/images/marketing/course-bg-medium.jpg"); background: #e3e3e3 url("/static/images/marketing/course-bg-medium.jpg");
@include background-size(cover);
}
@media screen and (max-width: 699px) {
background: #e3e3e3 url("/static/images/marketing/course-bg-small.jpg");
@include background-size(cover);
} }
div { div {
...@@ -190,6 +186,7 @@ header.announcement { ...@@ -190,6 +186,7 @@ header.announcement {
top: 0; top: 0;
right: lh(); right: lh();
@include border-radius(0 0 3px 3px); @include border-radius(0 0 3px 3px);
background: #333;
background: rgba(#000, .7); background: rgba(#000, .7);
padding: lh(.5); padding: lh(.5);
...@@ -334,6 +331,7 @@ section.index-content { ...@@ -334,6 +331,7 @@ section.index-content {
p { p {
width: auto; width: auto;
clear: both;
strong { strong {
font-family: "Open sans"; font-family: "Open sans";
......
html, body, div, span, applet, object, iframe, /*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, abbr, address, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp, del, dfn, em, img, ins, kbd, q, samp,
small, strike, strong, sub, sup, tt, var, small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td { table, caption, tbody, tfoot, thead, tr, th, td,
margin: 0; article, aside, canvas, details, figcaption, figure,
padding: 0; footer, header, hgroup, menu, nav, section, summary,
border: 0; time, mark, audio, video {
outline: 0; margin:0;
font-weight: inherit; padding:0;
font-style: inherit; border:0;
font-size: 100%; outline:0;
font-family: inherit; font-size:100%;
vertical-align: baseline; vertical-align:baseline;
background:transparent;
} }
body { body {
line-height: 1; line-height:1;
color: black;
background: white;
} }
table { article,aside,details,figcaption,figure,
border-collapse: separate; footer,header,hgroup,menu,nav,section {
border-spacing: 0; display:block;
}
nav ul {
list-style:none;
} }
caption, th, td {
text-align: left; blockquote, q {
font-weight: normal; quotes:none;
} }
blockquote:before, blockquote:after, blockquote:before, blockquote:after,
q:before, q:after { q:before, q:after {
content: ""; content:'';
content:none;
} }
blockquote, q { a {
quotes: "" ""; margin:0;
padding:0;
font-size:100%;
vertical-align:baseline;
background:transparent;
}
/* change colours to suit your needs */
ins {
background-color:#ff9;
color:#000;
text-decoration:none;
}
/* change colours to suit your needs */
mark {
background-color:#ff9;
color:#000;
font-style:italic;
font-weight:bold;
} }
del {
text-decoration: line-through;
}
abbr[title], dfn[title] {
border-bottom:1px dotted;
cursor:help;
}
table {
border-collapse:collapse;
border-spacing:0;
}
/* change border colour to suit your needs */
hr {
display:block;
height:1px;
border:0;
border-top:1px solid #cccccc;
margin:1em 0;
padding:0;
}
input, select {
vertical-align:middle;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment