logo

pleroma

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

static.css (5066B)


  1. * {
  2. box-sizing: border-box;
  3. }
  4. :root {
  5. --brand-color: #d8a070;
  6. --background-color: #121a24;
  7. --foreground-color: #182230;
  8. --primary-text-color: #b9b9ba;
  9. --muted-text-color: #89898a;
  10. }
  11. body {
  12. background-color: var(--background-color);
  13. font-family: sans-serif;
  14. color: var(--primary-text-color);
  15. padding: 0;
  16. margin: 0;
  17. }
  18. .instance-header {
  19. height: 60px;
  20. padding: 10px;
  21. background: var(--foreground-color);
  22. box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.5);
  23. }
  24. .instance-header__content {
  25. display: flex;
  26. align-items: center;
  27. max-width: 400px;
  28. margin: 0 auto;
  29. }
  30. .instance-header__thumbnail {
  31. max-width: 40px;
  32. border-radius: 4px;
  33. margin-right: 12px;
  34. }
  35. .instance-header__title {
  36. font-size: 16px;
  37. font-weight: bold;
  38. color: var(--primary-text-color);
  39. }
  40. .container {
  41. max-width: 400px;
  42. background-color: var(--foreground-color);
  43. border-radius: 4px;
  44. overflow: hidden;
  45. margin: 35px auto;
  46. box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.5);
  47. padding: 0em 1em 0em 1em;
  48. }
  49. .container__content {
  50. padding: 0 20px;
  51. }
  52. h1 {
  53. margin: 0;
  54. font-size: 24px;
  55. text-align: center;
  56. }
  57. h2 {
  58. color: var(--primary-text-color);
  59. font-weight: normal;
  60. font-size: 18px;
  61. margin-bottom: 20px;
  62. }
  63. a {
  64. color: var(--brand-color);
  65. text-decoration: none;
  66. }
  67. form {
  68. width: 100%;
  69. }
  70. .input {
  71. color: var(--muted-text-color);
  72. display: flex;
  73. flex-direction: column;
  74. }
  75. input {
  76. padding: 10px;
  77. margin-top: 5px;
  78. margin-bottom: 10px;
  79. background-color: var(--background-color);
  80. color: var(--primary-text-color);
  81. border: 0;
  82. transition-property: border-bottom;
  83. transition-duration: 0.35s;
  84. border-bottom: 2px solid #2a384a;
  85. font-size: 14px;
  86. width: inherit;
  87. box-sizing: border-box;
  88. }
  89. .scopes-input {
  90. display: flex;
  91. flex-direction: column;
  92. margin: 1em 0;
  93. color: var(--muted-text-color);
  94. }
  95. .scopes-input label:first-child {
  96. height: 2em;
  97. }
  98. .scopes {
  99. display: flex;
  100. flex-wrap: wrap;
  101. color: var(--primary-text-color);
  102. }
  103. .scope {
  104. display: flex;
  105. flex-basis: 100%;
  106. height: 2em;
  107. align-items: center;
  108. }
  109. .scope:before {
  110. color: var(--primary-text-color);
  111. content: "✔\fe0e";
  112. margin-left: 1em;
  113. margin-right: 1em;
  114. }
  115. [type="checkbox"] + label {
  116. display: none;
  117. cursor: pointer;
  118. margin: 0.5em;
  119. }
  120. [type="checkbox"] {
  121. display: none;
  122. }
  123. [type="checkbox"] + label:before {
  124. cursor: pointer;
  125. display: inline-block;
  126. color: white;
  127. background-color: var(--background-color);
  128. border: 4px solid var(--background-color);
  129. box-shadow: 0px 0px 1px 0 var(--brand-color);
  130. width: 1.2em;
  131. height: 1.2em;
  132. margin-right: 1.0em;
  133. content: "";
  134. transition-property: background-color;
  135. transition-duration: 0.35s;
  136. color: var(--background-color);
  137. margin-bottom: -0.2em;
  138. border-radius: 2px;
  139. }
  140. [type="checkbox"]:checked + label:before {
  141. background-color: var(--brand-color);
  142. }
  143. input:focus {
  144. outline: none;
  145. border-bottom: 2px solid var(--brand-color);
  146. }
  147. .actions {
  148. display: flex;
  149. justify-content: flex-end;
  150. }
  151. .actions button,
  152. .actions a.button {
  153. width: auto;
  154. margin-left: 10px;
  155. }
  156. a.button,
  157. button {
  158. width: 100%;
  159. background-color: #1c2a3a;
  160. color: var(--primary-text-color);
  161. border-radius: 4px;
  162. border: none;
  163. padding: 10px 16px;
  164. margin-top: 20px;
  165. margin-bottom: 20px;
  166. text-transform: uppercase;
  167. font-size: 16px;
  168. box-shadow: 0px 0px 2px 0px black,
  169. 0px 1px 0px 0px rgba(255, 255, 255, 0.2) inset,
  170. 0px -1px 0px 0px rgba(0, 0, 0, 0.2) inset;
  171. }
  172. a.button:hover,
  173. button:hover {
  174. cursor: pointer;
  175. box-shadow: 0px 0px 0px 1px var(--brand-color),
  176. 0px 1px 0px 0px rgba(255, 255, 255, 0.2) inset,
  177. 0px -1px 0px 0px rgba(0, 0, 0, 0.2) inset;
  178. }
  179. .alert-danger {
  180. width: 100%;
  181. background-color: #931014;
  182. border: 1px solid #a06060;
  183. border-radius: 4px;
  184. padding: 10px;
  185. margin-top: 20px;
  186. font-weight: 500;
  187. font-size: 16px;
  188. }
  189. .alert-info {
  190. width: 100%;
  191. border-radius: 4px;
  192. border: 1px solid #7d796a;
  193. padding: 10px;
  194. margin-top: 20px;
  195. font-weight: 500;
  196. font-size: 16px;
  197. }
  198. .account-header__banner {
  199. width: 100%;
  200. height: 112px;
  201. background-size: cover;
  202. background-position: center;
  203. }
  204. .account-header__avatar {
  205. width: 94px;
  206. height: 94px;
  207. background-size: cover;
  208. background-position: center;
  209. margin: -47px 10px 0;
  210. border: 6px solid var(--foreground-color);
  211. border-radius: 999px;
  212. }
  213. .account-header__meta {
  214. padding: 6px 20px 17px;
  215. }
  216. .account-header__display-name {
  217. font-size: 20px;
  218. font-weight: bold;
  219. }
  220. .account-header__nickname {
  221. font-size: 14px;
  222. color: var(--muted-text-color);
  223. }
  224. @media all and (max-width: 420px) {
  225. .container {
  226. margin: 0 auto;
  227. border-radius: 0;
  228. }
  229. .scope {
  230. flex-basis: 0%;
  231. }
  232. .scope:before {
  233. content: "";
  234. margin-left: 0em;
  235. margin-right: 1em;
  236. }
  237. .scope:first-child:before {
  238. margin-left: 1em;
  239. content: "✔\fe0e";
  240. }
  241. .scope:after {
  242. content: ",";
  243. }
  244. .scope:last-child:after {
  245. content: "";
  246. }
  247. }
  248. .form-row {
  249. display: flex;
  250. }
  251. .form-row > label {
  252. line-height: 47px;
  253. flex: 1;
  254. }
  255. .form-row > input {
  256. flex: 2;
  257. }