logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

basics.scss (1926B)


  1. body {
  2. font-family: 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: 20px;
  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: absolute;
  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. &.tag-body {
  28. background: darken($ui-base-color, 8%);
  29. padding-bottom: 0;
  30. }
  31. &.player {
  32. text-align: center;
  33. }
  34. &.embed {
  35. background: transparent;
  36. margin: 0;
  37. padding-bottom: 0;
  38. .container {
  39. position: absolute;
  40. width: 100%;
  41. height: 100%;
  42. overflow: hidden;
  43. }
  44. }
  45. &.admin {
  46. background: darken($ui-base-color, 4%);
  47. position: fixed;
  48. width: 100%;
  49. height: 100%;
  50. padding: 0;
  51. }
  52. &.error {
  53. position: absolute;
  54. text-align: center;
  55. color: $ui-primary-color;
  56. background: $ui-base-color;
  57. width: 100%;
  58. height: 100%;
  59. padding: 0;
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. .dialog {
  64. vertical-align: middle;
  65. margin: 20px;
  66. img {
  67. display: block;
  68. max-width: 470px;
  69. width: 100%;
  70. height: auto;
  71. margin-top: -120px;
  72. }
  73. h1 {
  74. font-size: 20px;
  75. line-height: 28px;
  76. font-weight: 400;
  77. }
  78. }
  79. }
  80. }
  81. button {
  82. font-family: inherit;
  83. cursor: pointer;
  84. &:focus {
  85. outline: none;
  86. }
  87. }
  88. .app-holder {
  89. &,
  90. & > div {
  91. display: flex;
  92. width: 100%;
  93. height: 100%;
  94. align-items: center;
  95. justify-content: center;
  96. outline: 0 !important;
  97. }
  98. }