Skip to content

Commit

Permalink
Node Sass and Nodemon Setup 💯
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Awais committed May 23, 2017
1 parent 0603498 commit f235dc2
Show file tree
Hide file tree
Showing 7 changed files with 572 additions and 2 deletions.
52 changes: 52 additions & 0 deletions assets/css/partial/base.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/* ----------------------------------------------------------------------------
* Structure
* ------------------------------------------------------------------------- */

/* global box-sizing */
*,
*:after,
*:before {
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
font-size: 62.5%;
height:100%;
min-height:100%;
}

body {
font: 400 11px/1.4 sans-serif;
color: $b;
margin: 0;
background: $c1;
height:100%;
min-height:100%;
word-break: break-word;
-webkit-word-break: break-word;
}


.aa_wrap {
display: table;
width: 100%;
margin: 0 auto;
padding: 5rem;

h1 {
font-size: 8vh;
color: $w;
text-align: center;
}

p {
font-size: 3.5vh;
line-height: 1.8;
}

}
22 changes: 22 additions & 0 deletions assets/css/partial/variables.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* ----------------------------------------------------------------------------
* Variables
* ------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------
* Custom Website Fonts
* ------------------------------------------------------------------------- */

$aa_font--one: 'Montserrat', sans-serif;
$aa_font--two: 'Montserrat', sans-serif;
$aa_font--three: 'Bevan', 'Montserrat', sans-serif;

/* ----------------------------------------------------------------------------
* Custom Website Colors
* ------------------------------------------------------------------------- */
// Colors
$c1 : #9733EE;
$c2 : #DA22FF;
$w : #ffffff;
$w7 : #f7f7f7;
$b : #000000;
$g : #35ad68;
$y : #FFFDD2;
22 changes: 22 additions & 0 deletions assets/css/source.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* ----------------------------------------------------------------------------
* Main Stylesheet file.
*
* Source file for all SCSS files.
* ------------------------------------------------------------------------- */

// — VENDORS.

// Normalize.
@import 'vendor/normalize';


// — PARTIALS.

// Variables.
@import 'partial/variables';

// Base.
@import 'partial/base';



Loading

0 comments on commit f235dc2

Please sign in to comment.