<commit_before>@mixin size($width, $height: $width) {
    height: $height;
    width: $width;
}

@mixin opacity($opacity) {
    opacity: $opacity;
    $opacity-ie: $opacity * 100;
    filter: alph(opacity = $opacity-ie); //IE8
}


/////////////////////////////////////////////////
// Transitions
@mixin transition($args...) {
  -webkit-transition: $args;
  -moz-transition: $args;
  -ms-transition: $args;
  -o-transition: $args;
  transition: $args;
}

@mixin transform($args...) {
  -webkit-transform: $args;
  -moz-transform: $args;
  -ms-transform: $args;
  -o-transform: $args;
  transform: $args;
}


/////////////////////////////////////////////////
// Vendor Prefixing
// Usage:
//      @include prefix('box-sizing', 'border-box', moz webkit)
//      @include prefix('box-sizing', 'border-box')
@mixin prefix($property, $value, $vendors: webkit moz ms o, $default: true) {
  @if $vendors {
    @each $vendor in $vendors {
      #{"-" + $vendor + "-" + $property}: #{$value};
    }
  }
  @if $default {
    #{$property}: #{$value};
  }
}


/////////////////////////////////////////////////
// Positioning
// Usage:
//      @include absolute(top 100% left 0);
//      @include fixed(top 0 right 0);
@mixin position($position, $args) {
  @each $o in top right bottom left {
    $i: index($args, $o);
    @if $i and $i + 1 <= length($args) and type-of(nth($args, $i + 1)) == number {
      #{$o}: nth($args, $i + 1);
    }
  }
  position: $position;
}

// Positioning helpers
@mixin absolute($args: '') {
  @include position(absolute, $args);
}

@mixin fixed($args: '') {
  @include position(fixed, $args);
}

@mixin relative($args: '') {
  @include position(relative, $args);
}


/////////////////////////////////////////////////
// Triangles NOT FINISHED...
// Usage:
//      @include triangle();
@mixin triangle() {
    @include size(0);
    border-style: solid;
    content: '';
    z-index: 2;

        border-width: 0 0 $affiliate_links_height $affiliate_links_height;
        border-color: transparent transparent $white transparent;
}


/////////////////////////////////////////////////
// Gradients
@mixin gradient($start-color, $end-color, $orientation) {
  background: $start-color;
  @if $orientation == 'vertical' {
    background: -webkit-linear-gradient(top, $start-color, $end-color);
    background: linear-gradient(to bottom, $start-color, $end-color);
  } @else if $orientation == 'horizontal' {
    background: -webkit-linear-gradient(left, $start-color, $end-color);
    background: linear-gradient(to right, $start-color, $end-color);
  } @else {
    background: -webkit-radial-gradient(center, ellipse cover, $start-color, $end-color);
    background: radial-gradient(ellipse at center, $start-color, $end-color);
  }
}


@mixin social_pics {
  @each $social in youtube, twitter, facebook, linkedin, google_plus, blogger {
    .social_#{$social} {
      background: image-url('#{$social}.jpg') no-repeat center center;
    }
  }
}



// Media Queries
// Usage:
//      @include screen('tablet') {
//          width: 90%;
//      }
// @mixin screen($size) {
//     $breakpoints: (
//         desktop: 1024px,
//         tablet: 768px,
//         mobile: 767px,
//         iphone6: 375px,
//         android: 360px,
//         iphone: 320px,
//     );
//     @if map-has-key($breakpoints, $size) {
//         @media (min-width: #{inspect(map-get($breakpoints, $size))}) {
//             @content;
//         }
//     }
//     @else {
//         @media only screen and (min-width: #{$size}) {
//             @content;
//         }
//     }
// }

@mixin media($width) {
    @media only screen and (min-width: $width) {
        @content;
    }
}



@mixin hamburger( $height, $color, $hover_color ){
    cursor: pointer;
    height: $height;
    position: relative;
    &:before {
        @include size(100%, 60%);
        @include absolute(left 5px top 50%);
        content: '';
        background: linear-gradient(
            to bottom,
            $color, $color 20%,
            transparent 20%, transparent 40%,
            $color 40%, $color 60%,
            transparent 60%, transparent 80%,
            $color 80%, $color 100%
        );
        @include transform(translate(0, -50%))
    }
}
<commit_msg>Cleans up mixins sass file.<commit_after>@mixin size($width, $height: $width) {
    height: $height;
    width: $width;
}

@mixin opacity($opacity) {
    opacity: $opacity;
    $opacity-ie: $opacity * 100;
    filter: alph(opacity = $opacity-ie); //IE8
}

@mixin transition($args...) {
  -webkit-transition: $args;
  -moz-transition: $args;
  -ms-transition: $args;
  -o-transition: $args;
  transition: $args;
}

@mixin transform($args...) {
  -webkit-transform: $args;
  -moz-transform: $args;
  -ms-transform: $args;
  -o-transform: $args;
  transform: $args;
}


/////////////////////////////////////////////////
// Vendor Prefixing
// Usage:
//      @include prefix('box-sizing', 'border-box', moz webkit)
//      @include prefix('box-sizing', 'border-box')
@mixin prefix($property, $value, $vendors: webkit moz ms o, $default: true) {
  @if $vendors {
    @each $vendor in $vendors {
      #{"-" + $vendor + "-" + $property}: #{$value};
    }
  }
  @if $default {
    #{$property}: #{$value};
  }
}


/////////////////////////////////////////////////
// Positioning
// Usage:
//      @include absolute(top 100% left 0);
//      @include fixed(top 0 right 0);
@mixin position($position, $args) {
  @each $o in top right bottom left {
    $i: index($args, $o);
    @if $i and $i + 1 <= length($args) and type-of(nth($args, $i + 1)) == number {
      #{$o}: nth($args, $i + 1);
    }
  }
  position: $position;
}

// Positioning helpers
@mixin absolute($args: '') {
  @include position(absolute, $args);
}

@mixin fixed($args: '') {
  @include position(fixed, $args);
}

@mixin relative($args: '') {
  @include position(relative, $args);
}


@mixin hamburger( $height, $color, $hover_color ){
    cursor: pointer;
    height: $height;
    position: relative;
    &:before {
        @include size(100%, 60%);
        @include absolute(left 5px top 50%);
        content: '';
        background: linear-gradient(
            to bottom,
            $color, $color 20%,
            transparent 20%, transparent 40%,
            $color 40%, $color 60%,
            transparent 60%, transparent 80%,
            $color 80%, $color 100%
        );
        @include transform(translate(0, -50%))
    }
}

{'fraction_non_alphanumeric': 0.22653822249844624, 'fraction_numerical': 0.01740211311373524, 'mean_word_length': 2.1384690394929304, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4411336', 'n_tokens_mistral': 2230, 'n_tokens_neox': 2074, 'n_words': 505}