闭社主体 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.

71 lines
1.2 KiB

  1. .container {
  2. width: 700px;
  3. margin: 0 auto;
  4. margin-top: 40px;
  5. @media screen and (max-width: 700px) {
  6. width: 100%;
  7. margin: 0;
  8. }
  9. }
  10. .mastodon-column-container {
  11. display: flex;
  12. height: 100%;
  13. width: 100%;
  14. // 707568 - height 100% doesn't work on child of a flex item - chromium - Monorail
  15. // https://bugs.chromium.org/p/chromium/issues/detail?id=707568
  16. flex: 1 1 auto;
  17. }
  18. .logo-container {
  19. max-width: 400px;
  20. margin: 100px auto;
  21. margin-bottom: 0;
  22. cursor: default;
  23. @media screen and (max-width: 360px) {
  24. margin: 30px auto;
  25. }
  26. h1 {
  27. display: block;
  28. text-align: center;
  29. color: $color5;
  30. font-size: 48px;
  31. font-weight: 500;
  32. img {
  33. display: block;
  34. margin: 20px auto;
  35. width: 180px;
  36. height: 180px;
  37. }
  38. a {
  39. color: inherit;
  40. text-decoration: none;
  41. outline: 0;
  42. img {
  43. opacity: 0.8;
  44. transition: opacity 0.8s ease;
  45. }
  46. &:hover {
  47. img {
  48. opacity: 1;
  49. transition-duration: 0.2s;
  50. }
  51. }
  52. }
  53. small {
  54. display: block;
  55. font-size: 12px;
  56. font-weight: 400;
  57. font-family: 'Roboto Mono', monospace;
  58. }
  59. }
  60. }