闭社主体 forked from https://github.com/tootsuite/mastodon
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.

275 lines
4.4 KiB

  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: 700px;
  10. }
  11. }
  12. h1 {
  13. font: 46px/52px 'Roboto', 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: 'Montserrat', 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: 'Montserrat', sans-serif;
  35. font-size: 20px;
  36. line-height: 28px;
  37. font-weight: 400;
  38. margin-bottom: 20px;
  39. color: $color2;
  40. }
  41. ul, ol {
  42. list-style: inherit;
  43. margin-left: 20px;
  44. &[type='a'] {
  45. list-style-type: lower-alpha;
  46. }
  47. &[type='i'] {
  48. list-style-type: lower-roman;
  49. }
  50. }
  51. li > ol, li > ul {
  52. margin-top: 20px;
  53. }
  54. p, li {
  55. font: 16px/28px 'Montserrat', sans-serif;
  56. font-weight: 400;
  57. margin-bottom: 26px;
  58. a {
  59. color: $color4;
  60. text-decoration: underline;
  61. }
  62. }
  63. em {
  64. display: inline-block;
  65. padding: 7px 7px 5px 7px;
  66. margin: 0 2px;
  67. background: $color3;
  68. color: $color1;
  69. font: 16px/16px 'Montserrat', sans-serif;
  70. font-weight: 300;
  71. }
  72. .screenshot {
  73. box-shadow: 0 0 15px rgba($color8, 0.4);
  74. margin-bottom: 26px;
  75. img {
  76. max-width: 100%;
  77. height: auto;
  78. display: block;
  79. }
  80. }
  81. .actions {
  82. overflow: hidden;
  83. .info {
  84. float: right;
  85. text-align: right;
  86. line-height: 36px;
  87. a {
  88. color: $color3;
  89. text-decoration: underline;
  90. }
  91. }
  92. }
  93. @media screen and (max-width: 360px) {
  94. .wrapper {
  95. padding: 20px;
  96. }
  97. }
  98. }
  99. .information-board {
  100. margin: 20px 0;
  101. display: flex;
  102. justify-content: space-between;
  103. border-top: 1px solid lighten($color1, 10%);
  104. border-bottom: 1px solid lighten($color1, 10%);
  105. padding-right: 14px;
  106. .section {
  107. flex: 1 0 0;
  108. padding: 14px;
  109. text-align: right;
  110. font: 16px/28px 'Montserrat', sans-serif;
  111. span, strong {
  112. display: block;
  113. }
  114. span {
  115. font-size: 16px;
  116. &:last-child {
  117. color: $color2;
  118. font-size: 14px;
  119. }
  120. }
  121. strong {
  122. font-weight: 500;
  123. font-size: 32px;
  124. line-height: 48px;
  125. color: $color5;
  126. }
  127. }
  128. }
  129. .owner {
  130. text-align: center;
  131. .avatar {
  132. width: 80px;
  133. height: 80px;
  134. margin: 0 auto;
  135. margin-bottom: 15px;
  136. img {
  137. display: block;
  138. width: 80px;
  139. height: 80px;
  140. border-radius: 48px;
  141. }
  142. }
  143. .name {
  144. font-size: 14px;
  145. a {
  146. display: block;
  147. color: $color5;
  148. text-decoration: none;
  149. &:hover {
  150. .display_name {
  151. text-decoration: underline;
  152. }
  153. }
  154. }
  155. .username {
  156. display: block;
  157. color: $color3;
  158. }
  159. }
  160. }
  161. .contact-email {
  162. text-align: center;
  163. margin: 40px 0;
  164. strong {
  165. display: block;
  166. color: $color5;
  167. }
  168. }
  169. .sidebar-layout {
  170. display: flex;
  171. .main {
  172. flex: 1 1 auto;
  173. padding: 14px 0;
  174. .panel {
  175. padding-right: 14px;
  176. }
  177. }
  178. .sidebar {
  179. border-left: 1px solid lighten($color1, 10%);
  180. width: 180px;
  181. flex: 0 0 auto;
  182. }
  183. .panel {
  184. .panel-header {
  185. background: lighten($color1, 10%);
  186. padding: 7px 14px;
  187. text-transform: uppercase;
  188. font-size: 12px;
  189. font-weight: 500;
  190. }
  191. .panel-body {
  192. padding: 14px;
  193. }
  194. .panel-list {
  195. ul {
  196. list-style: none;
  197. margin: 0;
  198. li {
  199. margin: 0;
  200. font-family: inherit;
  201. font-size: 13px;
  202. line-height: 18px;
  203. a {
  204. display: block;
  205. padding: 7px 14px;
  206. color: rgba($color5, 0.7);
  207. text-decoration: none;
  208. transition: all 200ms linear;
  209. i.fa {
  210. margin-right: 5px;
  211. }
  212. &:hover {
  213. color: $color5;
  214. background-color: darken($color1, 5%);
  215. transition: all 100ms linear;
  216. }
  217. &.selected {
  218. color: $color5;
  219. background-color: $color4;
  220. &:hover {
  221. background-color: lighten($color4, 5%);
  222. }
  223. }
  224. }
  225. }
  226. }
  227. }
  228. }
  229. }