about.scss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. .about-body {
  2. .wrapper {
  3. max-width: 600px;
  4. margin: 0 auto;
  5. color: $color3;
  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: $color4;
  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: $color5;
  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: $color2;
  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: $color4;
  63. text-decoration: underline;
  64. }
  65. }
  66. em {
  67. display: inline-block;
  68. padding: 7px 7px 5px;
  69. margin: 0 2px;
  70. background: $color3;
  71. color: $color1;
  72. font: 16px/16px 'mastodon-font-sans-serif', sans-serif;
  73. font-weight: 300;
  74. }
  75. .screenshot {
  76. box-shadow: 0 0 15px rgba($color8, 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: $color3;
  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($color1, 10%);
  111. border-bottom: 1px solid lighten($color1, 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: $color2;
  126. font-size: 14px;
  127. }
  128. }
  129. strong {
  130. font-weight: 500;
  131. font-size: 32px;
  132. line-height: 48px;
  133. color: $color5;
  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. width: 80px;
  147. height: 80px;
  148. margin: 0 auto;
  149. margin-bottom: 15px;
  150. img {
  151. display: block;
  152. width: 80px;
  153. height: 80px;
  154. border-radius: 48px;
  155. }
  156. }
  157. .name {
  158. font-size: 14px;
  159. a {
  160. display: block;
  161. color: $color5;
  162. text-decoration: none;
  163. &:hover {
  164. .display_name {
  165. text-decoration: underline;
  166. }
  167. }
  168. }
  169. .username {
  170. display: block;
  171. color: $color3;
  172. }
  173. }
  174. }
  175. .contact-email {
  176. text-align: center;
  177. margin: 40px 0;
  178. strong {
  179. display: block;
  180. color: $color5;
  181. word-break: break-word;
  182. }
  183. }
  184. .sidebar-layout {
  185. display: flex;
  186. .main {
  187. flex: 1 1 auto;
  188. padding: 14px 0;
  189. .panel {
  190. padding-right: 14px;
  191. }
  192. }
  193. .sidebar {
  194. border-left: 1px solid lighten($color1, 10%);
  195. width: 200px;
  196. flex: 0 0 auto;
  197. }
  198. .panel {
  199. .panel-header {
  200. background: lighten($color1, 10%);
  201. padding: 7px 14px;
  202. text-transform: uppercase;
  203. font-size: 12px;
  204. font-weight: 500;
  205. }
  206. .panel-body {
  207. padding: 14px;
  208. }
  209. .panel-list {
  210. ul {
  211. list-style: none;
  212. margin: 0;
  213. li {
  214. margin: 0;
  215. font-family: inherit;
  216. font-size: 13px;
  217. line-height: 18px;
  218. a {
  219. display: block;
  220. padding: 7px 14px;
  221. color: rgba($color5, 0.7);
  222. text-decoration: none;
  223. transition: all 200ms linear;
  224. i.fa {
  225. margin-right: 5px;
  226. }
  227. &:hover {
  228. color: $color5;
  229. background-color: darken($color1, 5%);
  230. transition: all 100ms linear;
  231. }
  232. &.selected {
  233. color: $color5;
  234. background-color: $color4;
  235. &:hover {
  236. background-color: lighten($color4, 5%);
  237. }
  238. }
  239. }
  240. }
  241. }
  242. }
  243. }
  244. @media screen and (max-width: 625px) {
  245. flex-direction: column;
  246. .sidebar {
  247. border: 1px solid lighten($color1, 10%);
  248. width: auto;
  249. }
  250. }
  251. }
  252. .features-list {
  253. display: flex;
  254. margin-bottom: 20px;
  255. .features-list__column {
  256. flex: 1 1 0;
  257. ul {
  258. list-style: none;
  259. }
  260. li {
  261. margin: 0;
  262. }
  263. }
  264. }
  265. .screenshot-with-signup {
  266. display: flex;
  267. margin-bottom: 20px;
  268. .mascot {
  269. flex: 1 1 auto;
  270. display: flex;
  271. align-items: center;
  272. justify-content: center;
  273. flex-direction: column;
  274. img {
  275. display: block;
  276. margin: 0 auto;
  277. max-width: 100%;
  278. height: auto;
  279. }
  280. }
  281. .simple_form,
  282. .closed-registrations-message {
  283. width: 300px;
  284. flex: 0 0 auto;
  285. background: rgba(darken($color1, 7%), 0.5);
  286. padding: 14px;
  287. border-radius: 4px;
  288. box-shadow: 0 0 15px rgba($color8, 0.4);
  289. .actions {
  290. margin-bottom: 0;
  291. }
  292. .info {
  293. text-align: center;
  294. a {
  295. color: $color2;
  296. }
  297. }
  298. }
  299. @media screen and (max-width: 625px) {
  300. .mascot {
  301. display: none;
  302. }
  303. .simple_form,
  304. .closed-registrations-message {
  305. flex: auto;
  306. }
  307. }
  308. }
  309. .closed-registrations-message {
  310. display: flex;
  311. flex-direction: column;
  312. align-items: center;
  313. justify-content: center;
  314. text-align: center;
  315. }