_predefined.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. // Colors
  2. //
  3. $accent: #54bab9;
  4. // Fonts
  5. //
  6. $fonts: "Trebuchet MS", Tahoma, Verdana, -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft Yahei, sans-serif;
  7. $serif-fonts: Palatino, Optima, Georgia, "Source Han Serif SC VF", "Source Han Serif CN VF", "Source Han Serif SC", "Source Han Serif CN", "Noto Serif CJK SC", source-han-serif-sc, serif;
  8. $mono-fonts: "Cascadia Code", Consolas, Menlo, Monaco, "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", "YaHei Consolas Hybrid", monospace, "Segoe UI Emoji", "PingFang SC", "Microsoft YaHei";
  9. // Mixins
  10. //
  11. @mixin stylized-link {
  12. a {
  13. text-decoration: none;
  14. border: none;
  15. box-shadow: inset 0 -4px 0 $accent;
  16. transition-property: box-shadow;
  17. transition-duration: .1s;
  18. &:hover {
  19. box-shadow: inset 0 -1em 0 $accent;
  20. color: var(--c-txt);
  21. }
  22. }
  23. }
  24. @keyframes slideIn {
  25. from {
  26. transform: translateY(50%) scale(.8);
  27. opacity: 0;
  28. }
  29. to {
  30. transform: translateY(0) scale(1);
  31. opacity: 1;
  32. }
  33. }