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.

80 lines
1.8 KiB

  1. body {
  2. font-family: 'mastodon-font-sans-serif', sans-serif;
  3. background: $ui-base-color url('../images/background-photo.jpg');
  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. &.embed {
  24. background: transparent;
  25. margin: 0;
  26. .container {
  27. position: absolute;
  28. width: 100%;
  29. height: 100%;
  30. overflow: hidden;
  31. }
  32. }
  33. &.admin {
  34. background: darken($ui-base-color, 4%);
  35. position: fixed;
  36. width: 100%;
  37. height: 100%;
  38. padding: 0;
  39. }
  40. @media screen and (max-width: 360px) {
  41. padding-bottom: 0;
  42. }
  43. }
  44. button {
  45. font-family: inherit;
  46. cursor: pointer;
  47. &:focus {
  48. outline: none;
  49. }
  50. }
  51. .app-holder {
  52. display: flex;
  53. width: 100%;
  54. height: 100%;
  55. align-items: center;
  56. justify-content: center;
  57. }
  58. .system-font {
  59. // system-ui => standard property (Chrome/Android WebView 56+, Opera 43+, Safari 11+)
  60. // -apple-system => Safari <11 specific
  61. // BlinkMacSystemFont => Chrome <56 on macOS specific
  62. // Segoe UI => Windows 7/8/10
  63. // Oxygen => KDE
  64. // Ubuntu => Unity/Ubuntu
  65. // Cantarell => GNOME
  66. // Fira Sans => Firefox OS
  67. // Droid Sans => Older Androids (<4.0)
  68. // Helvetica Neue => Older macOS <10.11
  69. // mastodon-font-sans-serif => web-font (Roboto) fallback and newer Androids (>=4.0)
  70. font-family: system-ui, -apple-system,BlinkMacSystemFont, "Segoe UI","Oxygen", "Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",mastodon-font-sans-serif, sans-serif;
  71. }