Skip to content

Commit

Permalink
Fixed IE 9+ support (SVG & fonts)
Browse files Browse the repository at this point in the history
  • Loading branch information
krothapigroup committed Oct 2, 2014
1 parent 7b4ae92 commit fae67a6
Show file tree
Hide file tree
Showing 46 changed files with 538 additions and 584 deletions.
2 changes: 1 addition & 1 deletion css/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 87 additions & 1 deletion css/sass/_reset.scss
@@ -1 +1,87 @@
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}html{background:#464545;font-size:62.5%}*{max-height:100000px;font-size:100.01%}b,strong{font-weight:bold}i,em{font-style:italic} /*
html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
KJR Edits: removed sub, sup
*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
nav ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
a {
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;
}
30 changes: 25 additions & 5 deletions css/sass/all.scss
Expand Up @@ -2,13 +2,30 @@
//@import 'reset'; //@import 'reset';


@import url('http://fonts.googleapis.com/css?family=Ubuntu'); @import url('http://fonts.googleapis.com/css?family=Ubuntu');
//@import url('http://fonts.googleapis.com/css?family=Carrois+Gothic'); //@import url('http://fonts.googleapis.com/css?family=Marvel:400,400italic,700,700italic');
@import url('http://fonts.googleapis.com/css?family=Fira+Sans:400,500,400italic,500italic'); @import url('http://fonts.googleapis.com/css?family=Titillium+Web:400,400italic,700,700italic');

$font-ubuntu: 'Ubuntu', sans-serif;
$font-fira-sans: 'Fira Sans', sans-serif;
$font-marvel: 'Marvel', sans-serif;
$font-titillium-web: 'Titillium Web', sans-serif;

* {
/* optimize text for legibility */
text-rendering: optimizeLegibility;

/* prevents google voice plugin from overwriting color */
span.gc-cs-link {
color: inherit;
}
}
/* optimize text for speed on mobile devices */
html.touch * { text-rendering: optimizeSpeed; }


body { body {
background-color: #777; background-color: #777;
color: #333; color: #333;
font-family: 'Fira Sans', sans-serif; font-family: $font-titillium-web;
font-size: 1.8em; font-size: 1.8em;
} }


Expand All @@ -22,7 +39,7 @@ h4 {
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
font-smooth: always; font-smooth: always;
font-family: 'Ubuntu', sans-serif; font-family: $font-ubuntu;
} }
h1 { h1 {
font-size: 2em; font-size: 2em;
Expand Down Expand Up @@ -100,7 +117,10 @@ abbr {
} }


#logo { #logo {
padding: 5px 1em; margin: 5px 1em;
padding: 0;
width: 37px;
height: 49px;
} }
.icon { .icon {
padding: 5px 1em; padding: 5px 1em;
Expand Down
3 changes: 3 additions & 0 deletions entry_form.php
Expand Up @@ -86,6 +86,9 @@ function checkRadios() {
$('input[type=radio]').click(function(){ $('input[type=radio]').click(function(){
checkRadios(); checkRadios();
}); });
$('label').click(function(){
checkRadios();
});
}); });
</script> </script>
<?php <?php
Expand Down
50 changes: 14 additions & 36 deletions images/logos/ARI.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fae67a6

Please sign in to comment.