containers.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .container-alt {
  2. width: 700px;
  3. margin: 0 auto;
  4. @media screen and (max-width: 740px) {
  5. width: 100%;
  6. margin: 0;
  7. }
  8. }
  9. .logo-container {
  10. margin: 50px auto;
  11. h1 {
  12. display: flex;
  13. justify-content: center;
  14. align-items: center;
  15. .logo {
  16. height: 42px;
  17. margin-right: 10px;
  18. }
  19. a {
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. color: $primary-text-color;
  24. text-decoration: none;
  25. outline: 0;
  26. padding: 12px 16px;
  27. line-height: 32px;
  28. font-weight: 500;
  29. font-size: 14px;
  30. }
  31. }
  32. }
  33. .compose-standalone {
  34. .compose-form {
  35. width: 400px;
  36. margin: 0 auto;
  37. padding: 20px 0;
  38. margin-top: 40px;
  39. box-sizing: border-box;
  40. @media screen and (max-width: 400px) {
  41. width: 100%;
  42. margin-top: 0;
  43. padding: 20px;
  44. }
  45. }
  46. }
  47. .account-header {
  48. width: 400px;
  49. margin: 0 auto;
  50. display: flex;
  51. font-size: 13px;
  52. line-height: 18px;
  53. box-sizing: border-box;
  54. padding: 20px 0;
  55. margin-top: 40px;
  56. margin-bottom: 10px;
  57. border-bottom: 1px solid $ui-base-color;
  58. @media screen and (max-width: 440px) {
  59. width: 100%;
  60. margin: 0;
  61. padding: 20px;
  62. }
  63. .avatar {
  64. width: 40px;
  65. height: 40px;
  66. margin-right: 10px;
  67. img {
  68. width: 100%;
  69. height: 100%;
  70. display: block;
  71. margin: 0;
  72. border-radius: 4px;
  73. }
  74. }
  75. .name {
  76. flex: 1 1 auto;
  77. color: $secondary-text-color;
  78. width: calc(100% - 90px);
  79. .username {
  80. display: block;
  81. font-weight: 500;
  82. text-overflow: ellipsis;
  83. overflow: hidden;
  84. }
  85. }
  86. .logout-link {
  87. display: block;
  88. font-size: 32px;
  89. line-height: 40px;
  90. margin-left: 10px;
  91. }
  92. }