From 70b8baf2ed1a3b965aa163204df45bec8208ae1d Mon Sep 17 00:00:00 2001 From: Hugo Baeta Date: Sat, 21 Mar 2015 01:30:00 -0700 Subject: [PATCH] Updated Sass and CSS files to remove numbered TOC structure for added flexibility --- sass/media/_media.scss | 4 +- sass/navigation/_navigation.scss | 4 +- sass/site/_site.scss | 6 +-- sass/style.scss | 62 +++++++++++++------------- style.css | 76 ++++++++++++++++---------------- 5 files changed, 76 insertions(+), 76 deletions(-) diff --git a/sass/media/_media.scss b/sass/media/_media.scss index 7b48472f..198535d6 100644 --- a/sass/media/_media.scss +++ b/sass/media/_media.scss @@ -15,11 +15,11 @@ object { } /*-------------------------------------------------------------- -12.1 Captions +## Captions --------------------------------------------------------------*/ @import "captions"; /*-------------------------------------------------------------- -12.2 Galleries +## Galleries --------------------------------------------------------------*/ @import "galleries"; \ No newline at end of file diff --git a/sass/navigation/_navigation.scss b/sass/navigation/_navigation.scss index 71f89934..ffa4368a 100644 --- a/sass/navigation/_navigation.scss +++ b/sass/navigation/_navigation.scss @@ -1,9 +1,9 @@ /*-------------------------------------------------------------- -5.1 Links +## Links --------------------------------------------------------------*/ @import "links"; /*-------------------------------------------------------------- -5.2 Menus +## Menus --------------------------------------------------------------*/ @import "menus"; \ No newline at end of file diff --git a/sass/site/_site.scss b/sass/site/_site.scss index a76ef52a..f03ca1a3 100644 --- a/sass/site/_site.scss +++ b/sass/site/_site.scss @@ -1,16 +1,16 @@ // @import "../layout/content-sidebar"; // @import "../layout/sidebar-content"; /*-------------------------------------------------------------- -10.1 Posts and pages +## Posts and pages --------------------------------------------------------------*/ @import "primary/posts-and-pages"; /*-------------------------------------------------------------- -10.2 Asides +## Asides --------------------------------------------------------------*/ @import "primary/asides"; /*-------------------------------------------------------------- -10.3 Comments +## Comments --------------------------------------------------------------*/ @import "primary/comments"; \ No newline at end of file diff --git a/sass/style.scss b/sass/style.scss index 724709ec..9556e63f 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -22,85 +22,85 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- -1.0 Normalize -2.0 Typography -3.0 Elements -4.0 Forms -5.0 Navigation - 5.1 Links - 5.2 Menus -6.0 Accessibility -7.0 Alignments -8.0 Clearings -9.0 Widgets -10.0 Content - 10.1 Posts and pages - 10.2 Asides - 10.3 Comments -11.0 Infinite scroll -12.0 Media - 12.1 Captions - 12.2 Galleries +# Normalize +# Typography +# Elements +# Forms +# Navigation + ## Links + ## Menus +# Accessibility +# Alignments +# Clearings +# Widgets +# Content + ## Posts and pages + ## Asides + ## Comments +# Infinite scroll +# Media + ## Captions + ## Galleries --------------------------------------------------------------*/ @import "variables-site/variables-site"; @import "mixins/mixins-master"; /*-------------------------------------------------------------- -1.0 Normalize +# Normalize --------------------------------------------------------------*/ @import "normalize"; /*-------------------------------------------------------------- -2.0 Typography +# Typography --------------------------------------------------------------*/ @import "typography/typography"; /*-------------------------------------------------------------- -3.0 Elements +# Elements --------------------------------------------------------------*/ @import "elements/elements"; /*-------------------------------------------------------------- -4.0 Forms +# Forms --------------------------------------------------------------*/ @import "forms/forms"; /*-------------------------------------------------------------- -5.0 Navigation +# Navigation --------------------------------------------------------------*/ @import "navigation/navigation"; /*-------------------------------------------------------------- -6.0 Accessibility +# Accessibility --------------------------------------------------------------*/ @import "modules/accessibility"; /*-------------------------------------------------------------- -7.0 Alignments +# Alignments --------------------------------------------------------------*/ @import "modules/alignments"; /*-------------------------------------------------------------- -8.0 Clearings +# Clearings --------------------------------------------------------------*/ @import "modules/clearings"; /*-------------------------------------------------------------- -9.0 Widgets +# Widgets --------------------------------------------------------------*/ @import "site/secondary/widgets"; /*-------------------------------------------------------------- -10.0 Content +# Content --------------------------------------------------------------*/ @import "site/site"; /*-------------------------------------------------------------- -11.0 Infinite scroll +# Infinite scroll --------------------------------------------------------------*/ @import "modules/infinite-scroll"; /*-------------------------------------------------------------- -12.0 Media +# Media --------------------------------------------------------------*/ @import "media/media"; diff --git a/style.css b/style.css index 1d4f7619..7abc02b2 100644 --- a/style.css +++ b/style.css @@ -22,29 +22,29 @@ Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/ /*-------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- -1.0 Normalize -2.0 Typography -3.0 Elements -4.0 Forms -5.0 Navigation - 5.1 Links - 5.2 Menus -6.0 Accessibility -7.0 Alignments -8.0 Clearings -9.0 Widgets -10.0 Content - 10.1 Posts and pages - 10.2 Asides - 10.3 Comments -11.0 Infinite scroll -12.0 Media - 12.1 Captions - 12.2 Galleries +# Normalize +# Typography +# Elements +# Forms +# Navigation + ## Links + ## Menus +# Accessibility +# Alignments +# Clearings +# Widgets +# Content + ## Posts and pages + ## Asides + ## Comments +# Infinite scroll +# Media + ## Captions + ## Galleries --------------------------------------------------------------*/ /*-------------------------------------------------------------- -1.0 Normalize +# Normalize --------------------------------------------------------------*/ html { font-family: sans-serif; @@ -263,7 +263,7 @@ th { } /*-------------------------------------------------------------- -2.0 Typography +# Typography --------------------------------------------------------------*/ body, button, @@ -342,7 +342,7 @@ big { } /*-------------------------------------------------------------- -3.0 Elements +# Elements --------------------------------------------------------------*/ html { box-sizing: border-box; @@ -415,7 +415,7 @@ table { } /*-------------------------------------------------------------- -4.0 Forms +# Forms --------------------------------------------------------------*/ button, input[type="button"], @@ -488,10 +488,10 @@ textarea { } /*-------------------------------------------------------------- -5.0 Navigation +# Navigation --------------------------------------------------------------*/ /*-------------------------------------------------------------- -5.1 Links +## Links --------------------------------------------------------------*/ a { color: royalblue; @@ -517,7 +517,7 @@ a:active { } /*-------------------------------------------------------------- -5.2 Menus +## Menus --------------------------------------------------------------*/ .main-navigation { clear: both; @@ -625,7 +625,7 @@ a:active { } /*-------------------------------------------------------------- -6.0 Accessibility +# Accessibility --------------------------------------------------------------*/ /* Text meant only for screen readers. */ .screen-reader-text { @@ -659,7 +659,7 @@ a:active { } /*-------------------------------------------------------------- -7.0 Alignments +# Alignments --------------------------------------------------------------*/ .alignleft { display: inline; @@ -681,7 +681,7 @@ a:active { } /*-------------------------------------------------------------- -8.0 Clearings +# Clearings --------------------------------------------------------------*/ .clear:before, .clear:after, @@ -709,7 +709,7 @@ a:active { } /*-------------------------------------------------------------- -9.0 Widgets +# Widgets --------------------------------------------------------------*/ .widget { margin: 0 0 1.5em; @@ -726,10 +726,10 @@ a:active { } /*-------------------------------------------------------------- -10.0 Content +# Content --------------------------------------------------------------*/ /*-------------------------------------------------------------- -10.1 Posts and pages +## Posts and pages --------------------------------------------------------------*/ .sticky { display: block; @@ -761,7 +761,7 @@ a:active { } /*-------------------------------------------------------------- -10.2 Asides +## Asides --------------------------------------------------------------*/ .blog .format-aside .entry-title, .archive .format-aside .entry-title { @@ -769,7 +769,7 @@ a:active { } /*-------------------------------------------------------------- -10.3 Comments +## Comments --------------------------------------------------------------*/ .comment-content a { word-wrap: break-word; @@ -780,7 +780,7 @@ a:active { } /*-------------------------------------------------------------- -11.0 Infinite scroll +# Infinite scroll --------------------------------------------------------------*/ /* Globally hidden elements when Infinite Scroll is supported and in use. */ .infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */ @@ -794,7 +794,7 @@ a:active { } /*-------------------------------------------------------------- -12.0 Media +# Media --------------------------------------------------------------*/ .page-content .wp-smiley, .entry-content .wp-smiley, @@ -813,7 +813,7 @@ object { } /*-------------------------------------------------------------- -12.1 Captions +## Captions --------------------------------------------------------------*/ .wp-caption { margin-bottom: 1.5em; @@ -834,7 +834,7 @@ object { } /*-------------------------------------------------------------- -12.2 Galleries +## Galleries --------------------------------------------------------------*/ .gallery { margin-bottom: 1.5em;