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

@ -6,7 +6,7 @@
<head> <head>
<!-- Basic Page Needs <!-- Basic Page Needs
================================================== --> ================================================== -->
<meta charset="utf-8"> <meta charset="utf-8">
<title>Your Page Title Here :)</title> <title>Your Page Title Here :)</title>
<meta name="description" content=""> <meta name="description" content="">
@ -16,11 +16,11 @@
<![endif]--> <![endif]-->
<!-- Mobile Specific Metas <!-- Mobile Specific Metas
================================================== --> ================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS <!-- CSS
================================================== --> ================================================== -->
<link rel="stylesheet" href="stylesheets/base.css"> <link rel="stylesheet" href="stylesheets/base.css">
<link rel="stylesheet" href="stylesheets/skeleton.css"> <link rel="stylesheet" href="stylesheets/skeleton.css">
<link rel="stylesheet" href="stylesheets/layout.css"> <link rel="stylesheet" href="stylesheets/layout.css">
@ -44,4 +44,4 @@
<!-- End Document <!-- End Document
================================================== --> ================================================== -->
</body> </body>
</html> </html>

View File

@ -6,18 +6,18 @@
<head> <head>
<!-- Basic Page Needs <!-- Basic Page Needs
================================================== --> ================================================== -->
<meta charset="utf-8"> <meta charset="utf-8">
<title>Your Page Title Here :)</title> <title>Your Page Title Here :)</title>
<meta name="description" content=""> <meta name="description" content="">
<meta name="author" content=""> <meta name="author" content="">
<!-- Mobile Specific Metas <!-- Mobile Specific Metas
================================================== --> ================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- CSS <!-- CSS
================================================== --> ================================================== -->
<link rel="stylesheet" href="stylesheets/base.css"> <link rel="stylesheet" href="stylesheets/base.css">
<link rel="stylesheet" href="stylesheets/skeleton.css"> <link rel="stylesheet" href="stylesheets/skeleton.css">
<link rel="stylesheet" href="stylesheets/layout.css"> <link rel="stylesheet" href="stylesheets/layout.css">
@ -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>
@ -79,4 +75,4 @@
<!-- End Document <!-- End Document
================================================== --> ================================================== -->
</body> </body>
</html> </html>

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
================================================== */ ================================================== */
@ -77,13 +72,13 @@
p { margin: 0 0 20px 0; } p { margin: 0 0 20px 0; }
p img { margin: 0; } p img { margin: 0; }
p.lead { font-size: 21px; line-height: 27px; color: #777; } p.lead { font-size: 21px; line-height: 27px; color: #777; }
em { font-style: italic; } em { font-style: italic; }
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; }
@ -110,7 +103,7 @@
ul.circle { list-style: circle outside; } ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; } ul.disc { list-style: disc outside; }
ul ul, ul ol, ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; } ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; }
ul ul li, ul ol li, ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; } ol ol li, ol ul li { margin-bottom: 6px; }
li { line-height: 18px; margin-bottom: 12px; } li { line-height: 18px; margin-bottom: 12px; }
@ -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"],
@ -140,24 +130,24 @@
background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */ background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */ background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */ background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
border: 1px solid #aaa; border: 1px solid #aaa;
border-top: 1px solid #ccc; border-top: 1px solid #ccc;
border-left: 1px solid #ccc; border-left: 1px solid #ccc;
padding: 4px 12px; padding: 4px 12px;
-moz-border-radius: 3px; -moz-border-radius: 3px;
-webkit-border-radius: 3px; -webkit-border-radius: 3px;
border-radius: 3px; border-radius: 3px;
color: #444; color: #444;
display: inline-block; display: inline-block;
font-size: 11px; font-size: 11px;
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
text-shadow: 0 1px rgba(255, 255, 255, .75); text-shadow: 0 1px rgba(255, 255, 255, .75);
cursor: pointer; cursor: pointer;
margin-bottom: 20px; margin-bottom: 20px;
line-height: normal; line-height: normal;
padding: 8px 10px; padding: 8px 10px;
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; } font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.button:hover, .button:hover,
button:hover, button:hover,
@ -172,9 +162,9 @@
background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */ background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */ background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */ background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
border: 1px solid #888; border: 1px solid #888;
border-top: 1px solid #aaa; border-top: 1px solid #aaa;
border-left: 1px solid #aaa; } border-left: 1px solid #aaa; }
.button:active, .button:active,
button:active, button:active,
@ -203,10 +193,8 @@
/* Fix for odd Mozilla border & padding issues */ /* Fix for odd Mozilla border & padding issues */
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)
================================================== */ ================================================== */
@ -268,21 +256,19 @@
/* Clearfixing tabs for beautiful stacking */ /* Clearfixing tabs for beautiful stacking */
ul.tabs:before, ul.tabs:before,
ul.tabs:after { ul.tabs:after {
content: '\0020'; content: '\0020';
display: block; display: block;
overflow: hidden; overflow: hidden;
visibility: hidden; visibility: hidden;
width: 0; width: 0;
height: 0; } height: 0; }
ul.tabs:after { ul.tabs:after {
clear: both; } clear: both; }
ul.tabs { ul.tabs {
zoom: 1; } zoom: 1; }
/* #Forms /* #Forms
================================================== */ ================================================== */
form { form {
margin-bottom: 20px; } margin-bottom: 20px; }
fieldset { fieldset {
@ -316,14 +302,14 @@
color: #444; color: #444;
-moz-box-shadow: 0 0 3px rgba(0,0,0,.2); -moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2); -webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
box-shadow: 0 0 3px rgba(0,0,0,.2); } box-shadow: 0 0 3px rgba(0,0,0,.2); }
textarea { textarea {
min-height: 60px; } min-height: 60px; }
label, label,
legend { legend {
display: block; display: block;
font-weight: bold; font-weight: bold;
font-size: 13px; } font-size: 13px; }
select { select {
width: 220px; } width: 220px; }
input[type="checkbox"] { input[type="checkbox"] {
@ -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
@ -55,4 +54,4 @@
url('../fonts/FontName.svg#webfontZam02nTh') format('svg'); url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; } font-style: normal; }
*/ */

View File

@ -7,20 +7,16 @@
* 8/17/2011 * 8/17/2011
*/ */
/* Table of Contents /* Table of Contents
================================================== ==================================================
#Base 960 Grid #Base 960 Grid
#Tablet (Portrait) #Tablet (Portrait)
#Mobile (Portrait) #Mobile (Portrait)
#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; }
@ -29,7 +25,7 @@
/* Nested Column Classes */ /* Nested Column Classes */
.column.alpha, .columns.alpha { margin-left: 0; } .column.alpha, .columns.alpha { margin-left: 0; }
.column.omega, .columns.omega { margin-right: 0; } .column.omega, .columns.omega { margin-right: 0; }
/* Base Grid */ /* Base Grid */
.container .one.column, .container .one.column,
.container .one.columns { width: 40px; } .container .one.columns { width: 40px; }
@ -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
================================================== */ ================================================== */