<commit_before><h1>&lt;github-ribbon&gt;</h1>


<template url={url}>

  <slot name=link>
    <a rel=help target=github href={url} title='View on Github'>View on Github</a>
  </slot>

</template>


<script defer>

Element `github-ribbon`

(class extends HTMLElement {

  get url ()
    { return this.getAttribute ('url') || 'https://github.com' }
})

</script>


<style>

github-ribbon svg {
  pointer-events: all;
}
github-ribbon a {
  margin:0;
  padding: 0.3em;
  z-index: 3;
  top: 1.1em;
  right: -10vw;
  width: 30vw;
  height: 8vh;
  display: block;
  position: fixed;

  border: none;
  transform-style: flat;
  transform: rotate(38deg);
  background: var(--darker-color);
  box-shadow: 0px 0px 0.8em 0.2em rgba(20,20,20,.6);
  background: rgba(200,200,200,0.9);
}

github-ribbon a::before {
  top: -0.3em; /* padding */
  width: 8vh;
  height: 8vh;
  content: "";
  padding: 0.3em;
  display: block;
  margin-left: 11vw;
  border-radius: 10vh;
  background: var(--darkest-color);
  border:0.5em solid var(--darkest-color);
  box-shadow: 0px 0px 0.5em 0 rgba(20,20,20,.6);

  background: #898989 url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0,0,16,16'><path fill-rule='evenodd' fill='#eee' d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 172.16.58.32 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z'></path></svg>") no-repeat;

  /* create a new stacking context */
  position: fixed;
  z-index: -1;  /* to be below the parent element */
}

github-ribbon a:hover::before {
  border:0.5em solid var(--lighter-color);
}

</style>

<commit_msg>Migrate title to default template<commit_after><h1>&lt;github-ribbon&gt;</h1>


<template url={url} title='View on Github'>

  <slot name=link>
    <a rel=help target=github href={url}>View on Github</a>
  </slot>

</template>


<script defer>

Element `github-ribbon`

(class extends HTMLElement {

  get url ()
    { return this.getAttribute ('url') || 'https://github.com' }
})

</script>


<style>

github-ribbon svg {
  pointer-events: all;
}
github-ribbon a {
  margin:0;
  padding: 0.3em;
  z-index: 3;
  top: 1.1em;
  right: -10vw;
  width: 30vw;
  height: 8vh;
  display: block;
  position: fixed;

  border: none;
  transform-style: flat;
  transform: rotate(38deg);
  background: var(--darker-color);
  box-shadow: 0px 0px 0.8em 0.2em rgba(20,20,20,.6);
  background: rgba(200,200,200,0.9);
}

github-ribbon a::before {
  top: -0.3em; /* padding */
  width: 8vh;
  height: 8vh;
  content: "";
  padding: 0.3em;
  display: block;
  margin-left: 11vw;
  border-radius: 10vh;
  background: var(--darkest-color);
  border:0.5em solid var(--darkest-color);
  box-shadow: 0px 0px 0.5em 0 rgba(20,20,20,.6);

  background: #898989 url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0,0,16,16'><path fill-rule='evenodd' fill='#eee' d='M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 192.168.127.12 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 192.168.127.12.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 172.16.17.32.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z'></path></svg>") no-repeat;

  /* create a new stacking context */
  position: fixed;
  z-index: -1;  /* to be below the parent element */
}

github-ribbon a:hover::before {
  border:0.5em solid var(--lighter-color);
}

</style>


{'fraction_non_alphanumeric': 0.22297624818225883, 'fraction_numerical': 0.20164808531265146, 'mean_word_length': 2.694717994628469, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 14, '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': '4917716', 'n_tokens_mistral': 2393, 'n_tokens_neox': 1911, 'n_words': 370}