Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Created headers in SCSS to break things out more in the CSS file
Browse files Browse the repository at this point in the history
  • Loading branch information
barryclark committed Jun 1, 2014
1 parent f264650 commit 0dae8f2
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
5 changes: 5 additions & 0 deletions scss/_highlights.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

/***********************/
/* SYNTAX HIGHLIGHTING */
/***********************/

.highlight {
background-color: $darkerGray;
padding: 5px 10px;
Expand Down
6 changes: 3 additions & 3 deletions scss/_reset.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

//
// RESET
//
/***************/
/* MEYER RESET */
/***************/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
Expand Down
12 changes: 6 additions & 6 deletions scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
@import "_highlights";
// TODO - Tempted to move this to the end of the file, so that it shows up at the end of the .css. Or remove it entirely and find a better way to include highlighting.

//
// BASE RULES
//
/*/
/* BASE RULES
/*/

html {
font-size: 100%;
Expand Down Expand Up @@ -139,9 +139,9 @@ img {
clear: both;
}

//
// LAYOUT / SECTIONS
//
/*/
/* LAYOUT / SECTIONS
/*/

//
// .masthead
Expand Down
12 changes: 12 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***************/
/* MEYER RESET */
/***************/
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 {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -27,6 +30,9 @@ table {
border-collapse: collapse;
border-spacing: 0; }

/***********************/
/* SYNTAX HIGHLIGHTING */
/***********************/
.highlight {
background-color: #222222;
padding: 5px 10px;
Expand Down Expand Up @@ -314,6 +320,9 @@ code {
color: #2aa198; }

/* Literal.Number.Integer.Long */
/*/
/* BASE RULES
/*/
html {
font-size: 100%; }

Expand Down Expand Up @@ -410,6 +419,9 @@ img {
.clearfix:after {
clear: both; }

/*/
/* LAYOUT / SECTIONS
/*/
.wrapper-masthead {
margin-bottom: 40px; }

Expand Down

0 comments on commit 0dae8f2

Please sign in to comment.