闭社主体 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.

63 lines
1.1 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. &.app-body {
  15. position: fixed;
  16. width: 100%;
  17. height: 100%;
  18. padding: 0;
  19. background: $ui-base-color;
  20. }
  21. &.embed {
  22. background: transparent;
  23. margin: 0;
  24. .container {
  25. position: absolute;
  26. width: 100%;
  27. height: 100%;
  28. overflow: hidden;
  29. }
  30. }
  31. &.admin {
  32. background: darken($ui-base-color, 4%);
  33. position: fixed;
  34. width: 100%;
  35. height: 100%;
  36. padding: 0;
  37. }
  38. @media screen and (max-width: 360px) {
  39. padding-bottom: 0;
  40. }
  41. }
  42. button {
  43. font-family: inherit;
  44. cursor: pointer;
  45. &:focus {
  46. outline: none;
  47. }
  48. }
  49. .app-holder {
  50. display: flex;
  51. width: 100%;
  52. height: 100%;
  53. align-items: center;
  54. justify-content: center;
  55. }