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.

277 lines
4.5 KiB

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