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.
 
 
 
 

103 lines
2.2 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: 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. &.system-font {
  17. // system-ui => standard property (Chrome/Android WebView 56+, Opera 43+, Safari 11+)
  18. // -apple-system => Safari <11 specific
  19. // BlinkMacSystemFont => Chrome <56 on macOS specific
  20. // Segoe UI => Windows 7/8/10
  21. // Oxygen => KDE
  22. // Ubuntu => Unity/Ubuntu
  23. // Cantarell => GNOME
  24. // Fira Sans => Firefox OS
  25. // Droid Sans => Older Androids (<4.0)
  26. // Helvetica Neue => Older macOS <10.11
  27. // mastodon-font-sans-serif => web-font (Roboto) fallback and newer Androids (>=4.0)
  28. font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", mastodon-font-sans-serif, sans-serif;
  29. }
  30. &.app-body {
  31. position: fixed;
  32. width: 100%;
  33. height: 100%;
  34. padding: 0;
  35. background: $ui-base-color;
  36. }
  37. &.about-body {
  38. background: darken($ui-base-color, 8%);
  39. padding-bottom: 0;
  40. }
  41. &.embed {
  42. background: transparent;
  43. margin: 0;
  44. padding-bottom: 0;
  45. .container {
  46. position: absolute;
  47. width: 100%;
  48. height: 100%;
  49. overflow: hidden;
  50. }
  51. }
  52. &.admin {
  53. background: darken($ui-base-color, 4%);
  54. position: fixed;
  55. width: 100%;
  56. height: 100%;
  57. padding: 0;
  58. }
  59. &.error {
  60. text-align: center;
  61. color: $ui-primary-color;
  62. padding: 20px;
  63. .dialog img {
  64. display: block;
  65. margin: 0 auto;
  66. max-width: 470px;
  67. width: 100%;
  68. height: auto;
  69. }
  70. .dialog h1 {
  71. font-size: 20px;
  72. line-height: 28px;
  73. font-weight: 400;
  74. }
  75. }
  76. }
  77. button {
  78. font-family: inherit;
  79. cursor: pointer;
  80. &:focus {
  81. outline: none;
  82. }
  83. }
  84. .app-holder {
  85. display: flex;
  86. width: 100%;
  87. height: 100%;
  88. align-items: center;
  89. justify-content: center;
  90. }