Getting indentation more homogeneous

This commit is contained in:
Loïc Chardonnet 2012-01-31 11:48:34 +00:00
parent b7ae333d07
commit 741b17aadb
7 changed files with 53 additions and 89 deletions

View File

@ -36,8 +36,6 @@
</head> </head>
<body> <body>
<!-- Primary Page Layout <!-- Primary Page Layout
================================================== --> ================================================== -->
@ -69,8 +67,6 @@
</div><!-- container --> </div><!-- container -->
<!-- JS <!-- JS
================================================== --> ================================================== -->
<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>

View File

@ -7,15 +7,12 @@
* 8/17/2011 * 8/17/2011
*/ */
$('body').on('click', 'ul.tabs > li > a', function(e) { $('body').on('click', 'ul.tabs > li > a', function(e) {
//Get Location of tab's content //Get Location of tab's content
var contentLocation = $(this).attr('href'); var contentLocation = $(this).attr('href');
//Let go if not a hashed one //Let go if not a hashed one
if(contentLocation.charAt(0)=="#") { if(contentLocation.charAt(0)=="#") {
e.preventDefault(); e.preventDefault();
//Make Tab Active //Make Tab Active
@ -24,6 +21,5 @@ $('body').on('click', 'ul.tabs > li > a', function(e) {
//Show Tab Content & add active class //Show Tab Content & add active class
$(contentLocation).show().addClass('active').siblings().hide().removeClass('active'); $(contentLocation).show().addClass('active').siblings().hide().removeClass('active');
} }
}); });

View File

@ -2,4 +2,3 @@
# www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449 # www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449
User-agent: * User-agent: *

View File

@ -7,7 +7,6 @@
* 8/17/2011 * 8/17/2011
*/ */
/* Table of Content /* Table of Content
================================================== ==================================================
#Reset & Basics #Reset & Basics
@ -22,7 +21,6 @@
#Forms #Forms
#Misc */ #Misc */
/* #Reset & Basics (Inspired by E. Meyers) /* #Reset & Basics (Inspired by E. Meyers)
================================================== */ ================================================== */
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 { 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 {
@ -48,7 +46,6 @@
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; } border-spacing: 0; }
/* #Basic Styles /* #Basic Styles
================================================== */ ================================================== */
body { body {
@ -56,9 +53,7 @@
font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; font: 14px/21px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #444; color: #444;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */ -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
}
/* #Typography /* #Typography
================================================== */ ================================================== */
@ -83,7 +78,7 @@
strong { font-weight: bold; color: #333; } strong { font-weight: bold; color: #333; }
small { font-size: 80%; } small { font-size: 80%; }
/* Blockquotes */ /* Blockquotes */
blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; } blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; } blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 12px; color: #555; } blockquote cite { display: block; font-size: 12px; color: #555; }
@ -92,14 +87,12 @@
hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
/* #Links /* #Links
================================================== */ ================================================== */
a, a:visited { color: #333; text-decoration: underline; outline: 0; } a, a:visited { color: #333; text-decoration: underline; outline: 0; }
a:hover, a:focus { color: #000; } a:hover, a:focus { color: #000; }
p a, p a:visited { line-height: inherit; } p a, p a:visited { line-height: inherit; }
/* #Lists /* #Lists
================================================== */ ================================================== */
ul, ol { margin-bottom: 20px; } ul, ol { margin-bottom: 20px; }
@ -119,15 +112,12 @@
/* #Images /* #Images
================================================== */ ================================================== */
img.scale-with-grid { img.scale-with-grid {
max-width: 100%; max-width: 100%;
height: auto; } height: auto; }
/* #Buttons /* #Buttons
================================================== */ ================================================== */
.button, .button,
button, button,
input[type="submit"], input[type="submit"],
@ -204,9 +194,7 @@
button::-moz-focus-inner, button::-moz-focus-inner,
input::-moz-focus-inner { input::-moz-focus-inner {
border: 0; border: 0;
padding: 0; padding: 0; }
}
/* #Tabs (activate in tabs.js) /* #Tabs (activate in tabs.js)
================================================== */ ================================================== */
@ -279,10 +267,8 @@
ul.tabs { ul.tabs {
zoom: 1; } zoom: 1; }
/* #Forms /* #Forms
================================================== */ ================================================== */
form { form {
margin-bottom: 20px; } margin-bottom: 20px; }
fieldset { fieldset {
@ -339,5 +325,3 @@
.remove-bottom { margin-bottom: 0 !important; } .remove-bottom { margin-bottom: 0 !important; }
.half-bottom { margin-bottom: 10px !important; } .half-bottom { margin-bottom: 10px !important; }
.add-bottom { margin-bottom: 20px !important; } .add-bottom { margin-bottom: 20px !important; }

View File

@ -38,7 +38,6 @@
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */ /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {} @media only screen and (max-width: 479px) {}
/* #Font-Face /* #Font-Face
================================================== */ ================================================== */
/* This is the proper syntax for an @font-face file /* This is the proper syntax for an @font-face file

View File

@ -7,7 +7,6 @@
* 8/17/2011 * 8/17/2011
*/ */
/* Table of Contents /* Table of Contents
================================================== ==================================================
#Base 960 Grid #Base 960 Grid
@ -16,11 +15,8 @@
#Mobile (Landscape) #Mobile (Landscape)
#Clearing */ #Clearing */
/* #Base 960 Grid /* #Base 960 Grid
================================================== */ ================================================== */
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; } .container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
.container .column, .container .column,
.container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; } .container .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
@ -69,8 +65,6 @@
.container .offset-by-fourteen { padding-left: 840px; } .container .offset-by-fourteen { padding-left: 840px; }
.container .offset-by-fifteen { padding-left: 900px; } .container .offset-by-fifteen { padding-left: 900px; }
/* #Tablet (Portrait) /* #Tablet (Portrait)
================================================== */ ================================================== */
@ -123,7 +117,6 @@
.container .offset-by-fifteen { padding-left: 720px; } .container .offset-by-fifteen { padding-left: 720px; }
} }
/* #Mobile (Portrait) /* #Mobile (Portrait)
================================================== */ ================================================== */
@ -170,10 +163,8 @@
.container .offset-by-thirteen, .container .offset-by-thirteen,
.container .offset-by-fourteen, .container .offset-by-fourteen,
.container .offset-by-fifteen { padding-left: 0; } .container .offset-by-fifteen { padding-left: 0; }
} }
/* #Mobile (Landscape) /* #Mobile (Landscape)
================================================== */ ================================================== */
@ -205,7 +196,6 @@
.container .two-thirds.column { width: 420px; } .container .two-thirds.column { width: 420px; }
} }
/* #Clearing /* #Clearing
================================================== */ ================================================== */