aboutsummaryrefslogtreecommitdiffstats
path: root/public/prism/prism-avisynth.js
Commit message (Collapse)AuthorAgeFilesLines
* chore: add prismjs for syntax highlightingArmand Philippot2021-12-301-0/+208
0 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
@use "@styles/abstracts/functions" as fun;

.icon {
  transition: all 0.25s ease-in-out 0s;
}

.wrapper {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  width: 100%;
  padding: 0 var(--spacing-2xs);
  position: sticky;
  top: 0;
  background: inherit;
  border: none;
  border-top: fun.convert-px(2) solid var(--color-primary-dark);
  border-bottom: fun.convert-px(2) solid var(--color-primary-dark);
  cursor: pointer;

  .heading {
    padding: var(--spacing-2xs) 0;
    background: none;
    font-size: var(--font-size-xl);
    font-weight: 500;
    text-align: left;
  }

  &:hover,
  &:focus {
    .icon {
      background: var(--color-primary-light);
      color: var(--color-fg-inverted);
      transform: scale(1.25);

      &::before,
      &::after {
        background: var(--color-bg);
      }
    }
  }
}