diff --git a/index.html b/index.html index 40b4b1e..7ebb33e 100644 --- a/index.html +++ b/index.html @@ -51,7 +51,7 @@ - - - - - diff --git a/javascripts/tabs.js b/javascripts/tabs.js deleted file mode 100644 index b832e0c..0000000 --- a/javascripts/tabs.js +++ /dev/null @@ -1,29 +0,0 @@ - -/** - * Skeleton V1.1 - * Copyright 2011, Dave Gamache - * www.getskeleton.com - * Free to use under the MIT license. - * http://www.opensource.org/licenses/mit-license.php - * 8/17/2011 - */ - -(function ($) { - // hash change handler - function hashchange () { - var hash = window.location.hash - , el = $('ul.tabs [href*="' + hash + '"]') - , content = $(hash) - - if (el.length && !el.hasClass('active') && content.length) { - el.closest('.tabs').find('.active').removeClass('active'); - el.addClass('active'); - content.show().addClass('active').siblings().hide().removeClass('active'); - } - } - - // listen on event and fire right away - $(window).on('hashchange.skeleton', hashchange); - hashchange(); - $(hashchange); -})(jQuery); diff --git a/stylesheets/base.css b/stylesheets/base.css index afc4d3b..2aa4368 100644 --- a/stylesheets/base.css +++ b/stylesheets/base.css @@ -18,7 +18,6 @@ #Lists #Images #Buttons - #Tabs #Forms #Misc */ @@ -207,78 +206,6 @@ } -/* #Tabs (activate in tabs.js) -================================================== */ - ul.tabs { - display: block; - margin: 0 0 20px 0; - padding: 0; - border-bottom: solid 1px #ddd; } - ul.tabs li { - display: block; - width: auto; - height: 30px; - padding: 0; - float: left; - margin-bottom: 0; } - ul.tabs li a { - display: block; - text-decoration: none; - width: auto; - height: 29px; - padding: 0px 20px; - line-height: 30px; - border: solid 1px #ddd; - border-width: 1px 1px 0 0; - margin: 0; - background: #f5f5f5; - font-size: 13px; } - ul.tabs li a.active { - background: #fff; - height: 30px; - position: relative; - top: -4px; - padding-top: 4px; - border-left-width: 1px; - margin: 0 0 0 -1px; - color: #111; - -moz-border-radius-topleft: 2px; - -webkit-border-top-left-radius: 2px; - border-top-left-radius: 2px; - -moz-border-radius-topright: 2px; - -webkit-border-top-right-radius: 2px; - border-top-right-radius: 2px; } - ul.tabs li:first-child a.active { - margin-left: 0; } - ul.tabs li:first-child a { - border-width: 1px 1px 0 1px; - -moz-border-radius-topleft: 2px; - -webkit-border-top-left-radius: 2px; - border-top-left-radius: 2px; } - ul.tabs li:last-child a { - -moz-border-radius-topright: 2px; - -webkit-border-top-right-radius: 2px; - border-top-right-radius: 2px; } - - ul.tabs-content { margin: 0; display: block; } - ul.tabs-content > li { display:none; } - ul.tabs-content > li.active { display: block; } - - /* Clearfixing tabs for beautiful stacking */ - ul.tabs:before, - ul.tabs:after { - content: '\0020'; - display: block; - overflow: hidden; - visibility: hidden; - width: 0; - height: 0; } - ul.tabs:after { - clear: both; } - ul.tabs { - zoom: 1; } - - /* #Forms ================================================== */