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.

378 lines
6.2 KiB

  1. .about-body {
  2. .wrapper {
  3. max-width: 600px;
  4. margin: 0 auto;
  5. color: $ui-primary-color;
  6. padding-top: 50px;
  7. padding-bottom: 50px;
  8. &.thicc {
  9. max-width: 800px;
  10. }
  11. }
  12. h1 {
  13. font: 46px/52px 'mastodon-font-sans-serif', sans-serif;
  14. font-weight: 600;
  15. margin-bottom: 20px;
  16. color: $ui-highlight-color;
  17. padding: 20px 0;
  18. img {
  19. margin-bottom: -5px;
  20. margin-right: 5px;
  21. width: 46px;
  22. height: 46px;
  23. }
  24. }
  25. h2 {
  26. font-family: 'mastodon-font-display', sans-serif;
  27. font-size: 24px;
  28. line-height: 28px;
  29. font-weight: 400;
  30. margin-bottom: 20px;
  31. color: $primary-text-color;
  32. }
  33. h3 {
  34. font-family: 'mastodon-font-display', sans-serif;
  35. font-size: 20px;
  36. line-height: 28px;
  37. font-weight: 400;
  38. margin-bottom: 20px;
  39. color: $ui-secondary-color;
  40. }
  41. ul,
  42. ol {
  43. list-style: inherit;
  44. margin-left: 20px;
  45. &[type='a'] {
  46. list-style-type: lower-alpha;
  47. }
  48. &[type='i'] {
  49. list-style-type: lower-roman;
  50. }
  51. }
  52. li > ol,
  53. li > ul {
  54. margin-top: 20px;
  55. }
  56. p,
  57. li {
  58. font: 16px/28px 'mastodon-font-sans-serif', sans-serif;
  59. font-weight: 400;
  60. margin-bottom: 12px;
  61. a {
  62. color: $ui-highlight-color;
  63. text-decoration: underline;
  64. }
  65. }
  66. em {
  67. display: inline-block;
  68. padding: 7px 7px 5px;
  69. margin: 0 2px;
  70. background: $ui-primary-color;
  71. color: $ui-base-color;
  72. font: 16px/16px 'mastodon-font-sans-serif', sans-serif;
  73. font-weight: 300;
  74. }
  75. .screenshot {
  76. box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
  77. margin-bottom: 26px;
  78. img {
  79. max-width: 100%;
  80. height: auto;
  81. display: block;
  82. }
  83. }
  84. .actions {
  85. overflow: hidden;
  86. margin-bottom: 20px;
  87. .info {
  88. float: right;
  89. text-align: right;
  90. line-height: 36px;
  91. a {
  92. color: $ui-primary-color;
  93. text-decoration: underline;
  94. }
  95. }
  96. }
  97. @media screen and (max-width: 625px) {
  98. .wrapper {
  99. padding: 20px;
  100. }
  101. .features-list {
  102. display: block;
  103. }
  104. }
  105. }
  106. .information-board {
  107. margin: 20px 0;
  108. display: flex;
  109. justify-content: space-between;
  110. border-top: 1px solid lighten($ui-base-color, 10%);
  111. border-bottom: 1px solid lighten($ui-base-color, 10%);
  112. padding-right: 14px;
  113. .section {
  114. flex: 1 0 0;
  115. padding: 14px;
  116. text-align: right;
  117. font: 16px/28px 'mastodon-font-sans-serif', sans-serif;
  118. span,
  119. strong {
  120. display: block;
  121. }
  122. span {
  123. font-size: 16px;
  124. &:last-child {
  125. color: $ui-secondary-color;
  126. font-size: 14px;
  127. }
  128. }
  129. strong {
  130. font-weight: 500;
  131. font-size: 32px;
  132. line-height: 48px;
  133. color: $primary-text-color;
  134. }
  135. }
  136. @media screen and (max-width: 500px) {
  137. flex-direction: column;
  138. .section {
  139. text-align: left;
  140. }
  141. }
  142. }
  143. .owner {
  144. text-align: center;
  145. .avatar {
  146. @include avatar-size(80px);
  147. margin: 0 auto;
  148. margin-bottom: 15px;
  149. img {
  150. @include avatar-radius();
  151. @include avatar-size(80px);
  152. display: block;
  153. }
  154. }
  155. .name {
  156. font-size: 14px;
  157. a {
  158. display: block;
  159. color: $primary-text-color;
  160. text-decoration: none;
  161. &:hover {
  162. .display_name {
  163. text-decoration: underline;
  164. }
  165. }
  166. }
  167. .username {
  168. display: block;
  169. color: $ui-primary-color;
  170. }
  171. }
  172. }
  173. .contact-email {
  174. text-align: center;
  175. margin: 40px 0;
  176. strong {
  177. display: block;
  178. color: $primary-text-color;
  179. word-break: break-word;
  180. }
  181. }
  182. .sidebar-layout {
  183. display: flex;
  184. .main {
  185. flex: 1 1 auto;
  186. padding: 14px 0;
  187. .panel {
  188. padding-right: 14px;
  189. }
  190. }
  191. .sidebar {
  192. border-left: 1px solid lighten($ui-base-color, 10%);
  193. width: 200px;
  194. flex: 0 0 auto;
  195. }
  196. .panel {
  197. .panel-header {
  198. background: lighten($ui-base-color, 10%);
  199. padding: 7px 14px;
  200. text-transform: uppercase;
  201. font-size: 12px;
  202. font-weight: 500;
  203. }
  204. .panel-body {
  205. padding: 14px;
  206. }
  207. .panel-list {
  208. ul {
  209. list-style: none;
  210. margin: 0;
  211. li {
  212. margin: 0;
  213. font-family: inherit;
  214. font-size: 13px;
  215. line-height: 18px;
  216. a {
  217. display: block;
  218. padding: 7px 14px;
  219. color: rgba($primary-text-color, 0.7);
  220. text-decoration: none;
  221. transition: all 200ms linear;
  222. i.fa {
  223. margin-right: 5px;
  224. }
  225. &:hover {
  226. color: $primary-text-color;
  227. background-color: darken($ui-base-color, 5%);
  228. transition: all 100ms linear;
  229. }
  230. &.selected {
  231. color: $primary-text-color;
  232. background-color: $ui-highlight-color;
  233. &:hover {
  234. background-color: lighten($ui-highlight-color, 5%);
  235. }
  236. }
  237. }
  238. }
  239. }
  240. }
  241. }
  242. @media screen and (max-width: 625px) {
  243. flex-direction: column;
  244. .sidebar {
  245. border: 1px solid lighten($ui-base-color, 10%);
  246. width: auto;
  247. }
  248. }
  249. }
  250. .features-list {
  251. display: flex;
  252. margin-bottom: 20px;
  253. .features-list__column {
  254. flex: 1 1 0;
  255. ul {
  256. list-style: none;
  257. }
  258. li {
  259. margin: 0;
  260. }
  261. }
  262. }
  263. .screenshot-with-signup {
  264. display: flex;
  265. margin-bottom: 20px;
  266. .mascot {
  267. flex: 1 1 auto;
  268. display: flex;
  269. align-items: center;
  270. justify-content: center;
  271. flex-direction: column;
  272. img {
  273. display: block;
  274. margin: 0 auto;
  275. max-width: 100%;
  276. height: auto;
  277. }
  278. }
  279. .simple_form,
  280. .closed-registrations-message {
  281. width: 300px;
  282. flex: 0 0 auto;
  283. background: rgba(darken($ui-base-color, 7%), 0.5);
  284. padding: 14px;
  285. border-radius: 4px;
  286. box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
  287. .actions {
  288. margin-bottom: 0;
  289. }
  290. .info {
  291. text-align: center;
  292. a {
  293. color: $ui-secondary-color;
  294. }
  295. }
  296. }
  297. @media screen and (max-width: 625px) {
  298. .mascot {
  299. display: none;
  300. }
  301. .simple_form,
  302. .closed-registrations-message {
  303. flex: auto;
  304. }
  305. }
  306. }
  307. .closed-registrations-message {
  308. display: flex;
  309. flex-direction: column;
  310. align-items: center;
  311. justify-content: center;
  312. text-align: center;
  313. }