Team:Calgary/Sandbox

From 2012.igem.org

(Difference between revisions)
Line 13: Line 13:
<link id="fullcss" title="desktop version" rel='stylesheet' type='text/css' media="only screen and (min-device-width:481px)" href='https://2012.igem.org/Team:Calgary/static/basicpagedesktop.css?action=raw&ctype=text/css' />
<link id="fullcss" title="desktop version" rel='stylesheet' type='text/css' media="only screen and (min-device-width:481px)" href='https://2012.igem.org/Team:Calgary/static/basicpagedesktop.css?action=raw&ctype=text/css' />
-
<link id="mobicss" title="mobile version" rel='alternate stylesheet' type='text/css' media="only screen and (-webkit-min-device-pixel-ratio: 1.5),
+
<link id="mobicss" title="mobile version" rel='stylesheet' type='text/css' media="only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (max-device-width: 480px)" href='https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css' />
only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (max-device-width: 480px)" href='https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css' />
Line 54: Line 54:
/* CSS switch */
/* CSS switch */
$("#css-mobi").click(function(){
$("#css-mobi").click(function(){
-
$("#fullcss").attr('href', "https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css");
+
$("#fullcss").attr('href', 'https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css');
$("#mobicss").attr('href', "https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css");
$("#mobicss").attr('href', "https://2012.igem.org/Team:Calgary/static/basicpagemobile.css?action=raw&ctype=text/css");
});
});

Revision as of 22:27, 28 June 2012

Desktop View Mobile View

Header Stuff!

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut convallis eleifend interdum. Pellentesque libero magna, dignissim vitae blandit et, tincidunt nec felis. Proin et risus eget lectus lacinia mollis. Quisque rhoncus posuere lectus, eget vestibulum dolor feugiat bibendum. Vestibulum scelerisque commodo eros, in vulputate arcu tempus varius. Donec ornare malesuada mi vitae rhoncus. Nulla facilisi.

Subheader Stuff!

Viverra nisl a bibendum. Etiam cursus ultrices arcu, pretium sodales tellus euismod id. Pellentesque congue aliquam urna, commodo iaculis massa pellentesque eget. Vivamus et sem non massa tincidunt ultrices. Sed luctus justo nec dui venenatis sodales. Proin sit amet risus nibh. In hac habitasse platea dictumst. Sed pretium egestas augue, sed varius nibh consequat ac. In orci.