Browse Source

Moved any purecss overrides into their own file and connected them to code.scss

dev
Bryan Miller 5 years ago
parent
commit
2410728928
2 changed files with 30 additions and 13 deletions
  1. +4
    -13
      sass/core.scss
  2. +26
    -0
      sass/pure-overrides.scss

+ 4
- 13
sass/core.scss View File

@@ -15,21 +15,12 @@ body{
text-align: right;
}

// Overriding some purecss settings. WHY have the grid do anything
// other than GRID related stuff! Leave text/font alone!
.pure-g {
font-family: inherit;
.full-height{
height: 100%;
}

.pure-g [class *= "pure-u"] {
font-family: inherit;
}

// Allow for the disabling of the flex-flow: wrap.
// This allows me to use overflow:hidden without pure-g wrapping on
// me! ... but only for those pure-g elements I want.
.pure-g-nw{
flex-flow: row;
.simple-flex{
display: flex;
}

// Used to hide the ENTIRE page until the system has finished readying

+ 26
- 0
sass/pure-overrides.scss View File

@@ -0,0 +1,26 @@
// Overriding some purecss settings. WHY have the grid do anything
// other than GRID related stuff! Leave text/font alone!
.pure-g {
font-family: inherit;
}

.pure-g [class *= "pure-u"] {
font-family: inherit;
}

// Allow for the disabling of the flex-flow: wrap.
// This allows me to use overflow:hidden without pure-g wrapping on
// me! ... but only for those pure-g elements I want.
.pure-g-nw{
flex-flow: row;
}


.pure-menu-link, .pure-menu-link:focus{
background-color: $menu-item-bg;
color: $menu-item-text;
}
.pure-menu-link:hover{
background-color: $menu-item-bg-hover;
color: $menu-item-text;
}

Loading…
Cancel
Save