Skip to content

Commit

Permalink
stylelint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastp committed Nov 5, 2019
1 parent 570dfc8 commit 3c46a46
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 24 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
package.json
package-lock.json
public
styles/base
6 changes: 5 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
"plugins": [
"stylelint-scss"
],
"extends": "stylelint-config-standard"
"extends": "stylelint-config-standard",
"ignoreFiles": "./styles/base/**",
"rules": {
"color-hex-length": "long"
}
}
24 changes: 10 additions & 14 deletions styles/base/_base.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
html {
overflow-x:hidden;
overflow-x: hidden;
}

body {
color: $black;
color: rgb(8, 8, 8);
font-family: $poppins;
font-size: 16px;
-webkit-font-smoothing: antialiased;
Expand All @@ -16,37 +15,34 @@ body {
padding-bottom: 200px;
}



#index{
#index {
display: block;
position: relative;
min-height: 100vh;
margin: 0 auto;
}


.cont-width_0{
.cont-width_0 {
margin: auto;
padding: 0px 40px;
padding: 0 40px;
max-width: 1220px; //40+40=80
width: 100%;
display: block;
}



// =====================================================
// MEDIA QUERIES
// =====================================================


// Medium
@media (min-width: 768px) {}
@media (min-width: 768px) {
}
// Large
@media (max-width: 992px) {}
@media (max-width: 992px) {
}
// Extra large
@media (max-width: 1225px) {
}

@media (max-width: 544px) {}
@media (max-width: 544px) {
}
1 change: 1 addition & 0 deletions styles/base/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,4 @@
url('../fonts/poppins-v5-latin-800.svg#Poppins') format('svg'); /* Legacy iOS */
}


13 changes: 4 additions & 9 deletions styles/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,16 @@
// COLORS
// =====================================================

$black: #000000;
$white: #ffffff;
$black: #000;
$white: #fff;



$animSpeed1: cubic-bezier(.785,.135,.15,.86);
$animSpeed1: cubic-bezier(0.785, 0.135, 0.15, 0.86);

// =====================================================
// Fonts
// =====================================================
$poppins: 'Poppins', sans-serif;



// =====================================================
// Fonts Weight
// =====================================================
Expand All @@ -25,8 +21,7 @@ $medium: 500;
$semi-bold: 600;
$bold: 700;


/*letter spacing
/* letter spacing
10 = 0.01em
20 = 0.02em
*/

0 comments on commit 3c46a46

Please sign in to comment.