<commit_before>// Miscellaneous mixins.
//
// Copyright (C) 2013 <NAME>, <<EMAIL>>.
// This file is distributed under the MIT licence. For more information,
// please refer to the accompanying "LICENCE" file.

// Produces declarations and rules that make up the clear-fix hack. See
// <http://nicolasgallagher.com/micro-clearfix-hack/> for more information.
@mixin clear-fix() {
  *zoom: 1;
  &:after, &:before {
    clear: both;
    content: " ";
    display: table; } }

// Produces declarations and rules for links where when a user hovers over a
// link, the background and foreground colours are swapped. At the moment,
// links that have already been visited are not differentiated.
@mixin colour-swap-links($background-colour, $foreground-colour) {
  background: $background-colour;
  color: $foreground-colour;
  &:active, &:focus, &:hover, &:visited:hover {
    background: $foreground-colour;
    color: $background-colour; }
  &:visited {
    // TODO: Make visited links a little different from other links?
    background: $background-colour;
    color: $foreground-colour; } }

// Produces declarations that reset the box-model measurements. See also
// <http://reference.sitepoint.com/css/boxmodel>.
@mixin reset-box-model() {
  @each $property in ("border", "margin", "padding") {
    #{$property}: 0; } }<commit_msg>Remove unused "reset box model" mixin.<commit_after>// Miscellaneous mixins.
//
// Copyright (C) 2013 <NAME>, <<EMAIL>>.
// This file is distributed under the MIT licence. For more information,
// please refer to the accompanying "LICENCE" file.

// Produces declarations and rules that make up the clear-fix hack. See
// <http://nicolasgallagher.com/micro-clearfix-hack/> for more information.
@mixin clear-fix() {
  *zoom: 1;
  &:after, &:before {
    clear: both;
    content: " ";
    display: table; } }

// Produces declarations and rules for links where when a user hovers over a
// link, the background and foreground colours are swapped. At the moment,
// links that have already been visited are not differentiated.
@mixin colour-swap-links($background-colour, $foreground-colour) {
  background: $background-colour;
  color: $foreground-colour;
  &:active, &:focus, &:hover, &:visited:hover {
    background: $foreground-colour;
    color: $background-colour; }
  &:visited {
    // TODO: Make visited links a little different from other links?
    background: $background-colour;
    color: $foreground-colour; } }
{'fraction_non_alphanumeric': 0.13100081366965013, 'fraction_numerical': 0.004475183075671277, 'mean_word_length': 3.756286266924565, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, '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': '7084457', 'n_tokens_mistral': 762, 'n_tokens_neox': 719, 'n_words': 255}