Fixing some margin collapsing bugs
This commit is contained in:
		@@ -8,5 +8,4 @@
 | 
			
		||||
 *    1.0.0 - 2018/05/05
 | 
			
		||||
 */
 | 
			
		||||
.c-page {
 | 
			
		||||
  background: white;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -6,4 +6,6 @@
 | 
			
		||||
 *    1.0.0 - 2018/05/03
 | 
			
		||||
 */
 | 
			
		||||
html {
 | 
			
		||||
  padding: 0;
 | 
			
		||||
  margin: 0;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -8,6 +8,7 @@
 | 
			
		||||
 *    1.0.0 - 2018/05/03
 | 
			
		||||
 */
 | 
			
		||||
.o-app {
 | 
			
		||||
  display: inline-block;//Fixes collapsing margins on children.
 | 
			
		||||
  min-height: 100vh;
 | 
			
		||||
 | 
			
		||||
  //Civil Twilight
 | 
			
		||||
 
 | 
			
		||||
@@ -21,9 +21,11 @@
 | 
			
		||||
  &__section {
 | 
			
		||||
    border: 1px solid blue;
 | 
			
		||||
 | 
			
		||||
    .is-stuck {
 | 
			
		||||
    &.is-stuck {
 | 
			
		||||
      position: fixed;
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      top: 0;
 | 
			
		||||
      left: 0;
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -25,6 +25,6 @@ $s-color--link: #FC78DE;
 | 
			
		||||
$s-color--link-hover: lighten($s-color--link, 10%);
 | 
			
		||||
 | 
			
		||||
//Navbar Colors
 | 
			
		||||
$s-color--navbar: rgba(0, 0, 0, 0.7);
 | 
			
		||||
$s-color--navbar: rgba(0, 0, 0, 0.75);
 | 
			
		||||
$s-color--navbar__text: white;
 | 
			
		||||
$s-color--navbar__text-hover: #CCC;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user