mirror of
				https://github.com/bspeice/speice.io
				synced 2025-11-03 18:10:32 -05:00 
			
		
		
		
	Revert
This commit is contained in:
		
							
								
								
									
										84
									
								
								_sass/helpers/_mixins.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										84
									
								
								_sass/helpers/_mixins.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,84 @@
 | 
			
		||||
/* ==========================================================================
 | 
			
		||||
   Mixins
 | 
			
		||||
   ========================================================================== */
 | 
			
		||||
 | 
			
		||||
// Clearfix
 | 
			
		||||
@mixin clearfix {
 | 
			
		||||
    &:before,
 | 
			
		||||
    &:after {
 | 
			
		||||
        content: " ";
 | 
			
		||||
        display: table;
 | 
			
		||||
    }
 | 
			
		||||
    &:after {
 | 
			
		||||
        clear: both;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Font families
 | 
			
		||||
@mixin ff--sans-serif($font-weight: normal) {
 | 
			
		||||
    font-family: 'Lato', sans-serif;
 | 
			
		||||
    font-weight: $font-weight;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin ff--code {
 | 
			
		||||
    font-family: 'Hasklig', monospace;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Font sizing
 | 
			
		||||
@mixin fs--title {
 | 
			
		||||
    line-height: 1.5;
 | 
			
		||||
    font-size: 4.8rem; // 48px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--heading-1 {
 | 
			
		||||
    line-height: 1.5;
 | 
			
		||||
    font-size: 3.2rem; // 32px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--heading-2 {
 | 
			
		||||
    line-height: 1.5;
 | 
			
		||||
    font-size: 2.4rem; // 24px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--heading-3 {
 | 
			
		||||
    line-height: 1.5;
 | 
			
		||||
    font-size: 2rem; // 20px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--heading-4 {
 | 
			
		||||
    line-height: 1.6;
 | 
			
		||||
    font-size: 1.8rem; // 18px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--body {
 | 
			
		||||
    line-height: 1.5;
 | 
			
		||||
    font-size: 1.8rem; // 18px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--meta {
 | 
			
		||||
    line-height: 1;
 | 
			
		||||
    font-size: 1.8rem; // 18px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--caption {
 | 
			
		||||
    line-height: 1;
 | 
			
		||||
    font-size: 1.6rem; // 16px
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@mixin fs--code {
 | 
			
		||||
    font-size: 1.4rem;
 | 
			
		||||
    line-height: 1.5;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Visually hide content
 | 
			
		||||
@mixin visually-hidden {
 | 
			
		||||
    position: absolute;
 | 
			
		||||
    margin: -1px;
 | 
			
		||||
    border: 0;
 | 
			
		||||
    padding: 0;
 | 
			
		||||
    width: 1px;
 | 
			
		||||
    height: 1px;
 | 
			
		||||
    overflow: hidden;
 | 
			
		||||
    clip: rect(0 0 0 0);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										22
									
								
								_sass/helpers/_variables.scss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								_sass/helpers/_variables.scss
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
			
		||||
/* ==========================================================================
 | 
			
		||||
   Variabeles
 | 
			
		||||
   ========================================================================== */
 | 
			
		||||
 | 
			
		||||
$c-base__03: #0D2B35;
 | 
			
		||||
$c-base__02: #163541;
 | 
			
		||||
$c-base__01: #5C6E74;
 | 
			
		||||
$c-base__00: #697B82;
 | 
			
		||||
$c-base__0: #869395;
 | 
			
		||||
$c-base__1: #96A0A0;
 | 
			
		||||
$c-base__2: #EDE7D6;
 | 
			
		||||
$c-base__3: #FCF5E4;
 | 
			
		||||
 | 
			
		||||
$c-accent__blue: #0067FB;
 | 
			
		||||
$c-accent__darkblue: #0029F9;
 | 
			
		||||
$c-accent__green: #8BE367;
 | 
			
		||||
 | 
			
		||||
// Breakpoints
 | 
			
		||||
$bp__sm: 45rem; // 450px
 | 
			
		||||
 | 
			
		||||
// Misc
 | 
			
		||||
$m-border: 1px solid $c-base__2;
 | 
			
		||||
		Reference in New Issue
	
	Block a user