Pisces.styl 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // Variables of Pisces scheme
  2. // ==================================================
  3. // Settings for some of the most global styles.
  4. // --------------------------------------------------
  5. $body-bg-color = #f5f7f9;
  6. $sidebar-width = hexo-config('sidebar.width') is a 'unit' ? hexo-config('sidebar.width') : 240;
  7. $sidebar-desktop = unit($sidebar-width, 'px');
  8. $content-wrap = 'calc(100% - %s)' % unit($sidebar-width + $sidebar-offset, 'px');
  9. $content-desktop = 'calc(100% - %s)' % unit($content-desktop-padding / 2, 'px');
  10. $content-desktop-large = 1160px;
  11. $content-desktop-largest = 73%;
  12. // Borders
  13. // --------------------------------------------------
  14. $box-shadow-inner = initial;
  15. $box-shadow = initial;
  16. $border-radius-inner = initial;
  17. $border-radius = initial;
  18. // Header
  19. // --------------------------------------------------
  20. $subtitle-color = $grey-lighter;
  21. // Sidebar
  22. // --------------------------------------------------
  23. $sidebar-nav-color = var(--text-color);
  24. $sidebar-nav-hover-color = $orange;
  25. $sidebar-highlight = $orange;
  26. $site-author-image-width = 120px;
  27. $site-author-image-border-width = 1px;
  28. $site-author-image-border-color = $gainsboro;
  29. $site-author-name-margin = 0;
  30. $site-author-name-color = var(--text-color);
  31. $site-author-name-weight = 600;
  32. $site-description-font-size = $font-size-smaller;
  33. $site-description-color = $grey-dark;
  34. $site-description-margin-top = 0;
  35. $site-state-item-count-font-size = $font-size-medium;
  36. $site-state-item-name-font-size = $font-size-smaller;
  37. $site-state-item-name-color = $grey-dark;
  38. $site-state-item-border-color = $gainsboro;
  39. // Components
  40. // --------------------------------------------------
  41. // Button
  42. $btn-default-radius = 2px;
  43. $btn-default-bg = white;
  44. $btn-default-color = $text-color;
  45. $btn-default-border-color = $text-color;
  46. $btn-default-hover-bg = $black-deep;
  47. $btn-default-hover-color = white;
  48. // Back to top
  49. $b2t-opacity = .6;
  50. $b2t-position-bottom = -100px;
  51. $b2t-position-bottom-on = 30px;