闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.9 KiB

  1. body {
  2. font-family: 'mastodon-font-sans-serif', sans-serif;
  3. background: $ui-base-color;
  4. background-size: cover;
  5. background-attachment: fixed;
  6. font-size: 13px;
  7. line-height: 18px;
  8. font-weight: 400;
  9. color: $primary-text-color;
  10. padding-bottom: 140px;
  11. text-rendering: optimizelegibility;
  12. font-feature-settings: "kern";
  13. text-size-adjust: none;
  14. -webkit-tap-highlight-color: rgba(0,0,0,0);
  15. -webkit-tap-highlight-color: transparent;
  16. &.app-body {
  17. position: fixed;
  18. width: 100%;
  19. height: 100%;
  20. padding: 0;
  21. background: $ui-base-color;
  22. }
  23. &.about-body {
  24. background: darken($ui-base-color, 8%);
  25. padding-bottom: 0;
  26. }
  27. &.embed {
  28. background: transparent;
  29. margin: 0;
  30. .container {
  31. position: absolute;
  32. width: 100%;
  33. height: 100%;
  34. overflow: hidden;
  35. }
  36. }
  37. &.admin {
  38. background: darken($ui-base-color, 4%);
  39. position: fixed;
  40. width: 100%;
  41. height: 100%;
  42. padding: 0;
  43. }
  44. @media screen and (max-width: 360px) {
  45. padding-bottom: 0;
  46. }
  47. }
  48. button {
  49. font-family: inherit;
  50. cursor: pointer;
  51. &:focus {
  52. outline: none;
  53. }
  54. }
  55. .app-holder {
  56. display: flex;
  57. width: 100%;
  58. height: 100%;
  59. align-items: center;
  60. justify-content: center;
  61. }
  62. .system-font {
  63. // system-ui => standard property (Chrome/Android WebView 56+, Opera 43+, Safari 11+)
  64. // -apple-system => Safari <11 specific
  65. // BlinkMacSystemFont => Chrome <56 on macOS specific
  66. // Segoe UI => Windows 7/8/10
  67. // Oxygen => KDE
  68. // Ubuntu => Unity/Ubuntu
  69. // Cantarell => GNOME
  70. // Fira Sans => Firefox OS
  71. // Droid Sans => Older Androids (<4.0)
  72. // Helvetica Neue => Older macOS <10.11
  73. // mastodon-font-sans-serif => web-font (Roboto) fallback and newer Androids (>=4.0)
  74. font-family: system-ui, -apple-system,BlinkMacSystemFont, "Segoe UI","Oxygen", "Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",mastodon-font-sans-serif, sans-serif;
  75. }