The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

127 lines
2.6 KiB

  1. body {
  2. font-family: 'mastodon-font-sans-serif', sans-serif;
  3. background: darken($ui-base-color, 8%);
  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. text-rendering: optimizelegibility;
  11. font-feature-settings: "kern";
  12. text-size-adjust: none;
  13. -webkit-tap-highlight-color: rgba(0,0,0,0);
  14. -webkit-tap-highlight-color: transparent;
  15. &.system-font {
  16. // system-ui => standard property (Chrome/Android WebView 56+, Opera 43+, Safari 11+)
  17. // -apple-system => Safari <11 specific
  18. // BlinkMacSystemFont => Chrome <56 on macOS specific
  19. // Segoe UI => Windows 7/8/10
  20. // Oxygen => KDE
  21. // Ubuntu => Unity/Ubuntu
  22. // Cantarell => GNOME
  23. // Fira Sans => Firefox OS
  24. // Droid Sans => Older Androids (<4.0)
  25. // Helvetica Neue => Older macOS <10.11
  26. // mastodon-font-sans-serif => web-font (Roboto) fallback and newer Androids (>=4.0)
  27. font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", mastodon-font-sans-serif, sans-serif;
  28. }
  29. &.app-body {
  30. position: absolute;
  31. width: 100%;
  32. height: 100%;
  33. padding: 0;
  34. background: $ui-base-color;
  35. }
  36. &.about-body {
  37. background: darken($ui-base-color, 8%);
  38. padding-bottom: 0;
  39. }
  40. &.tag-body {
  41. background: darken($ui-base-color, 8%);
  42. padding-bottom: 0;
  43. }
  44. &.player {
  45. text-align: center;
  46. }
  47. &.embed {
  48. background: lighten($ui-base-color, 4%);
  49. margin: 0;
  50. padding-bottom: 0;
  51. .container {
  52. position: absolute;
  53. width: 100%;
  54. height: 100%;
  55. overflow: hidden;
  56. }
  57. }
  58. &.admin {
  59. background: darken($ui-base-color, 4%);
  60. position: fixed;
  61. width: 100%;
  62. height: 100%;
  63. padding: 0;
  64. }
  65. &.error {
  66. position: absolute;
  67. text-align: center;
  68. color: $darker-text-color;
  69. background: $ui-base-color;
  70. width: 100%;
  71. height: 100%;
  72. padding: 0;
  73. display: flex;
  74. justify-content: center;
  75. align-items: center;
  76. .dialog {
  77. vertical-align: middle;
  78. margin: 20px;
  79. img {
  80. display: block;
  81. max-width: 470px;
  82. width: 100%;
  83. height: auto;
  84. margin-top: -120px;
  85. }
  86. h1 {
  87. font-size: 20px;
  88. line-height: 28px;
  89. font-weight: 400;
  90. }
  91. }
  92. }
  93. }
  94. button {
  95. font-family: inherit;
  96. cursor: pointer;
  97. &:focus {
  98. outline: none;
  99. }
  100. }
  101. .app-holder {
  102. &,
  103. & > div {
  104. display: flex;
  105. width: 100%;
  106. height: 100%;
  107. align-items: center;
  108. justify-content: center;
  109. outline: 0 !important;
  110. }
  111. }