Template:SMTexas/JS

From 2014hs.igem.org

(Difference between revisions)
 
Line 1: Line 1:
-
$(document).ready(function() {
 
-
    $("p").filter( function() {
 
-
        return $.trim($(this).html()) == '';
 
-
    }).remove();
 
-
    $("br:only-child").remove();
 
-
});
 
-
 
/*
/*
-
TXT 2.5 by HTML5 UP
+
Ex Machina by TEMPLATED
-
html5up.net | @n33co
+
    templated.co @templatedco
-
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+
    Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/
*/
-
window._skel_config = {
+
skel.init({
-
preset: 'standard',
+
prefix: 'css/style',
prefix: 'css/style',
-
resetCSS: true
+
resetCSS: true,
-
};
+
boxModel: 'border',
-
 
+
grid: {
-
window._skel_panels_config = {
+
gutters: 50
-
preset: 'standard'
+
},
-
};
+
breakpoints: {
 +
'mobile': {
 +
range: '-480',
 +
lockViewport: true,
 +
containers: 'fluid',
 +
grid: {
 +
collapse: true,
 +
gutters: 10
 +
}
 +
},
 +
'desktop': {
 +
range: '481-',
 +
containers: 1200
 +
},
 +
'1000px': {
 +
range: '481-1200',
 +
containers: 960
 +
}
 +
}
 +
}, {
 +
panels: {
 +
panels: {
 +
navPanel: {
 +
breakpoints: 'mobile',
 +
position: 'left',
 +
style: 'reveal',
 +
size: '80%',
 +
html: '<div data-action="navList" data-args="nav"></div>'
 +
}
 +
},
 +
overlays: {
 +
titleBar: {
 +
breakpoints: 'mobile',
 +
position: 'top-left',
 +
height: 44,
 +
width: '100%',
 +
html: '<span class="toggle" data-action="togglePanel" data-args="navPanel"></span><span class="title" data-action="copyHTML" data-args="logo"></span>'
 +
}
 +
}
 +
}
 +
 +
 +
});

Latest revision as of 15:07, 4 June 2014

/* Ex Machina by TEMPLATED

   templated.co @templatedco
   Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
  • /

skel.init({ prefix: 'css/style', resetCSS: true, boxModel: 'border', grid: { gutters: 50 }, breakpoints: { 'mobile': { range: '-480', lockViewport: true, containers: 'fluid', grid: { collapse: true, gutters: 10 } }, 'desktop': { range: '481-', containers: 1200 }, '1000px': { range: '481-1200', containers: 960 } } }, { panels: { panels: { navPanel: { breakpoints: 'mobile', position: 'left', style: 'reveal', size: '80%',

html: '
'

} }, overlays: { titleBar: { breakpoints: 'mobile', position: 'top-left', height: 44, width: '100%', html: '' } } }


});