<commit_before>/**
 * based on Solarized Dark theme for reveal.js by <NAME>
 * and Solarized colors by <NAME>
 * http://ethanschoonover.com/solarized
 * remixed by: <NAME>
 * http://tasmo.rocks/
**/

// ---------------------------------------------
// Main Variables
// Solarized base colors
$base03:    #002b36;
$base02:    #073642;
$base01:    #586e75;
$base00:    #657b83;
$base0:     #839496;
$base1:     #93a1a1;
$base2:     #eee8d5;
$base3:     #fdf6e3;
$yellow:    #b58900;
$orange:    #cb4b16;
$red:       #dc322f;
$magenta:   #d33682;
$violet:    #6c71c4;
$blue:      #268bd2;
$cyan:      #2aa198;
$green:     #859900;

// Background of the presentation
$backgroundColor: $base03;

// Primary/body text
$mainFont: 'Open Sans', Arial, sans-serif;
$mainFontWeight: 400;
$mainFontSize: 2rem;
$mainColor: $base1;

// Vertical spacing between blocks of text
$blockMargin: 20px;

// Headings
$headingMargin: .5em 0;
$headingFont: 'open_sanslight' ,'Open Sans', Arial, sans-serif;
$headingColor: $base2;
$headingLineHeight: 1em;
$headingLetterSpacing: 0.02rem;
$headingTextTransform: none;
$headingTextShadow: 0px 0px 2px rgba( $headingColor, .5 );
$headingFontWeight: $mainFontWeight + 400;
$heading1TextShadow: $headingTextShadow;

$heading1Size: 5rem;
$heading2Size: 4rem;
$heading3Size: 3rem;
$heading4Size: 2.00rem;

// Links and actions
$linkColor: $blue;
$linkColorHover: lighten( $linkColor, 20% );

// Text selection
$selectionBackgroundColor: $magenta;
$selectionColor: $base3;

// Generates the presentation background, can be overridden
// to return a background image or gradient
@mixin bodyBackground() {
	background: $backgroundColor;
}

$headerFont: $headingFont;
$captionFont: $mainFont;
$codeFont: 'Source Code Pro', 'Inconsolata', monospace;
$codeFontSize: $mainFontSize - .5rem;
$altFont: serif;
$italicFont: 'open_sanslight_italic', 'Open Sans', Arial, sans-serif;
$quoteFont: 'droid_serifitalic', cursive;

// reveal.js theme
@import "../../reveal.js/css/reveal";
// Theme template ------------------------------
@import "../../reveal.js/css/theme/template/theme";
// ---------------------------------------------
@import "../mixin";
@import "../fonts";
@import "syntax/syntax_solarized";
// ---------------------------------------------
@mixin rebase( $rebase03,$rebase02,$rebase01,$rebase00,$rebase0,$rebase1,$rebase2,$rebase3 )
{
  background-color: $rebase03;
  color: $rebase1;
  //* { color: $rebase1; }
  body {
    background-color: $rebase03;
  }
  .reveal {
    background-color: $rebase03;
    color: $rebase1;
    text-shadow: 0 0 1px rgba( $rebase1, .2 );
    -webkit-text-stroke: 1px rgba( $rebase1, .2 );
    h1,h2,h3,h4,h5,h6 {
      color: $rebase2;
      border-color: $rebase0;
      text-shadow: $headingTextShadow;
      a {
        &:not( .image ), &:active, &:visited {
          color: $rebase2;
        }
        &:hover {
          color: $linkColorHover;
        }
      }
    }
    a {
      &:not( .image ), &:active, &:visited {
        color: $linkColor;
      }
      &:hover {
        color: $linkColorHover;
      }
    }
    h1,h2,h3,h4,h5,h6,p,li {
      >code, >a>code {
        background: $rebase1;
        color: $rebase03;
        border: 1px solid $rebase1;
      }
    }
    section img {
      border: 4px solid $rebase1;
    }
    figure.highlight {
      background: $rebase3;
    }
  }
}
@mixin accentize( $accent ) {
  a#sitelink{ background-color: $accent; }
  a, a:active, a:visited, code.url { color: $accent; }
  h1 { color: $accent }
  h2,h3,h4,h5,h6 { color: $accent }
  h1#pagetitle, h1:first-of-type { color: $accent; }
}

/* dark is default mode, so pair with general html definition */
.light { @include rebase( $base3,$base2,$base1,$base0,$base00,$base01,$base02,$base03 ) }
.dark { @include rebase( $base03,$base02,$base01,$base00,$base0,$base1,$base2,$base3 ) }
html * {
  color-profile: sRGB;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.reveal {
  font-weight: $mainFontWeight;
  font-kerning: normal;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  p,
  ul {
    text-align: left;
    font-weight: $mainFontWeight;
  }
  h1,h2,h3,h4,h5,h6,p,li {
    >code, >a>code {
      font-size: $mainFontSize;
      @include border-radius( 0.15em );
      padding: 0 0.3em;
    }
  }
  pre {
    box-shadow: none;
    margin: 0;
    width: unset;
  }
  pre,code {
    font-family: $codeFont;
    font-size: $codeFontSize;
    font-weight: normal;
  }
  pre code {
    padding: 0;
    word-wrap: break-word;
    white-space: pre-wrap;
  }
  figure.highlight {
    width: 90%;
    margin: .5em auto;
    padding: .7em 1em .8em;
    text-shadow: none;
    box-shadow: 0px 0px 6px rgba( 0,0,0,0.3 );<commit_msg>hides scroll bars in code blocks<commit_after>/**
 * based on Solarized Dark theme for reveal.js by <NAME>
 * and Solarized colors by <NAME>
 * http://ethanschoonover.com/solarized
 * remixed by: <NAME>
 * http://tasmo.rocks/
**/

// ---------------------------------------------
// Main Variables
// Solarized base colors
$base03:    #002b36;
$base02:    #073642;
$base01:    #586e75;
$base00:    #657b83;
$base0:     #839496;
$base1:     #93a1a1;
$base2:     #eee8d5;
$base3:     #fdf6e3;
$yellow:    #b58900;
$orange:    #cb4b16;
$red:       #dc322f;
$magenta:   #d33682;
$violet:    #6c71c4;
$blue:      #268bd2;
$cyan:      #2aa198;
$green:     #859900;

// Background of the presentation
$backgroundColor: $base03;

// Primary/body text
$mainFont: 'Open Sans', Arial, sans-serif;
$mainFontWeight: 400;
$mainFontSize: 2rem;
$mainColor: $base1;

// Vertical spacing between blocks of text
$blockMargin: 20px;

// Headings
$headingMargin: .5em 0;
$headingFont: 'open_sanslight' ,'Open Sans', Arial, sans-serif;
$headingColor: $base2;
$headingLineHeight: 1em;
$headingLetterSpacing: 0.02rem;
$headingTextTransform: none;
$headingTextShadow: 0px 0px 2px rgba( $headingColor, .5 );
$headingFontWeight: $mainFontWeight + 400;
$heading1TextShadow: $headingTextShadow;

$heading1Size: 5rem;
$heading2Size: 4rem;
$heading3Size: 3rem;
$heading4Size: 2.00rem;

// Links and actions
$linkColor: $blue;
$linkColorHover: lighten( $linkColor, 20% );

// Text selection
$selectionBackgroundColor: $magenta;
$selectionColor: $base3;

// Generates the presentation background, can be overridden
// to return a background image or gradient
@mixin bodyBackground() {
	background: $backgroundColor;
}

$headerFont: $headingFont;
$captionFont: $mainFont;
$codeFont: 'Source Code Pro', 'Inconsolata', monospace;
$codeFontSize: $mainFontSize - .5rem;
$altFont: serif;
$italicFont: 'open_sanslight_italic', 'Open Sans', Arial, sans-serif;
$quoteFont: 'droid_serifitalic', cursive;

// reveal.js theme
@import "../../reveal.js/css/reveal";
// Theme template ------------------------------
@import "../../reveal.js/css/theme/template/theme";
// ---------------------------------------------
@import "../mixin";
@import "../fonts";
@import "syntax/syntax_solarized";
// ---------------------------------------------
@mixin rebase( $rebase03,$rebase02,$rebase01,$rebase00,$rebase0,$rebase1,$rebase2,$rebase3 )
{
  background-color: $rebase03;
  color: $rebase1;
  //* { color: $rebase1; }
  body {
    background-color: $rebase03;
  }
  .reveal {
    background-color: $rebase03;
    color: $rebase1;
    text-shadow: 0 0 1px rgba( $rebase1, .2 );
    -webkit-text-stroke: 1px rgba( $rebase1, .2 );
    h1,h2,h3,h4,h5,h6 {
      color: $rebase2;
      border-color: $rebase0;
      text-shadow: $headingTextShadow;
      a {
        &:not( .image ), &:active, &:visited {
          color: $rebase2;
        }
        &:hover {
          color: $linkColorHover;
        }
      }
    }
    a {
      &:not( .image ), &:active, &:visited {
        color: $linkColor;
      }
      &:hover {
        color: $linkColorHover;
      }
    }
    h1,h2,h3,h4,h5,h6,p,li {
      >code, >a>code {
        background: $rebase1;
        color: $rebase03;
        border: 1px solid $rebase1;
      }
    }
    section img {
      border: 4px solid $rebase1;
    }
    figure.highlight {
      background: $rebase3;
    }
  }
}
@mixin accentize( $accent ) {
  a#sitelink{ background-color: $accent; }
  a, a:active, a:visited, code.url { color: $accent; }
  h1 { color: $accent }
  h2,h3,h4,h5,h6 { color: $accent }
  h1#pagetitle, h1:first-of-type { color: $accent; }
}

/* dark is default mode, so pair with general html definition */
.light { @include rebase( $base3,$base2,$base1,$base0,$base00,$base01,$base02,$base03 ) }
.dark { @include rebase( $base03,$base02,$base01,$base00,$base0,$base1,$base2,$base3 ) }
html * {
  color-profile: sRGB;
  -webkit-font-smoothing: antialiased;
  font-smooth: always;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.reveal {
  font-weight: $mainFontWeight;
  font-kerning: normal;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  p,
  ul {
    text-align: left;
    font-weight: $mainFontWeight;
  }
  h1,h2,h3,h4,h5,h6,p,li {
    >code, >a>code {
      font-size: $mainFontSize;
      @include border-radius( 0.15em );
      padding: 0 0.3em;
    }
  }
  pre {
    box-shadow: none;
    margin: 0;
    width: unset;
  }
  pre,code {
    font-family: $codeFont;
    font-size: $codeFontSize;
    font-weight: normal;
  }
  pre code {
    padding: 0;
    overflow: hidden;
    word-wrap: break-word;
    white-space: pre-wrap;
  }
  figure.highlight {
    width: 90%;
    margin: .5em auto;
    padding: .7em 1em .8em;
    text-shadow: none;
    box-shadow: 0px 0px 6px rgba( 0,0,0,0.3 );
{'fraction_non_alphanumeric': 0.1870076726342711, 'fraction_numerical': 0.04746803069053709, 'mean_word_length': 2.7862122385747483, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 21, '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': '7532417', 'n_tokens_mistral': 3983, 'n_tokens_neox': 3716, 'n_words': 795}