Skip to content
This repository was archived by the owner on Sep 29, 2019. It is now read-only.

Commit

Permalink
Closes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
grrinchas committed Nov 24, 2016
1 parent fe05317 commit 8ee636a
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 58 deletions.
8 changes: 5 additions & 3 deletions _sass/_box_model.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ article > blockquote {
margin-right: $l-h-baseline;
}

figure {
figure, .info, .warning, .note, .success {
margin-bottom: $l-h-baseline !important;
}

Expand Down Expand Up @@ -143,7 +143,9 @@ article blockquote {
.highlighter-rouge {
padding-right: $l-h-baseline-quarter;
}

.info, .warning, .note, .success {
padding: $l-h-baseline-quarter;
}
//---------------------------MISC
h1 {
padding-bottom: 0.35rem;
Expand Down Expand Up @@ -202,4 +204,4 @@ abbr {

.sep {
border-left: $border-s $color-grey-dark dotted;
}
}
28 changes: 25 additions & 3 deletions _sass/_colour.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,34 @@ abbr {
.link-to-post,
main h1,
main h2,
main h3 {
main h3,
.warning {
color: $color-orange-dark;
}

.info {
background-color: $color-info;
border: 1px solid darken($color-info, 10);
color: $color-blue-darker;
}

.warning {
background-color: $color-warning;
border: 1px solid darken($color-warning, 10);
color: $color-orange-dark;
}

.note {
background-color: $color-note;
border: 1px solid darken($color-note, 10);
color: $color-red;
}

.success {
background-color: $color-success;
border: 1px solid darken($color-success, 10);
color: darken($color-green, 10);
}

/*************************************************************************
BACKGROUND COLOUR
Expand Down Expand Up @@ -90,7 +113,6 @@ blockquote {
/*************************************************************************/

body {

background-size: cover;
}

Expand All @@ -106,4 +128,4 @@ body {
.fancy-nav {
@include init-con-font($color-white);
transition: $t-s-M;
}
}
49 changes: 0 additions & 49 deletions _sass/_playground.scss

This file was deleted.

21 changes: 21 additions & 0 deletions _sass/_pseudo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,27 @@ article > ol li:before {
.fancy-nav:before {
@include init-nav-hover(bottom);
}

.info::before, .warning::before, .note::before, .success::before {
font-weight: bolder;
}

.info::before{
content: "INFO: ";
}

.warning::before{
content: "WARNING: ";
}

.note::before {
content: "NOTE: ";
}

.success::before {
content: "SUCCESS: ";
}

/*************************************************************************
AFTER
/*************************************************************************/
Expand Down
11 changes: 9 additions & 2 deletions _sass/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,14 @@ h3, #footer-quote{
}

//----------------------------SMALL
small, figcaption, sub, sup {
small,
figcaption,
sub,
sup,
.info,
.warning,
.note,
.success{
font-size: $f-s-S;
}

Expand Down Expand Up @@ -185,4 +192,4 @@ h1, h2, h3 {

#logo-name {
font-weight: bold;
}
}
1 change: 0 additions & 1 deletion main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@
@import "pseudo";
@import "media";
@import "darcula";
@import "playground";

0 comments on commit 8ee636a

Please sign in to comment.