UserLayout.less 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @import '~antd/es/style/themes/default.less';
  2. .container {
  3. display: flex;
  4. flex-direction: column;
  5. height: 100vh;
  6. overflow: auto;
  7. background: url('../assets/background.png');
  8. background-size: 100% 100%;
  9. }
  10. .lang {
  11. width: 100%;
  12. height: 40px;
  13. line-height: 44px;
  14. text-align: right;
  15. :global(.ant-dropdown-trigger) {
  16. margin-right: 24px;
  17. }
  18. }
  19. .content {
  20. flex: 1;
  21. // padding: 32px 0;
  22. }
  23. @media (min-width: @screen-md-min) {
  24. .container {
  25. background-image: url('../assets/background.png');
  26. background-repeat: no-repeat;
  27. // background-position: center 110px;
  28. background-size: 100% 100%;
  29. }
  30. .content {
  31. // padding: 32px 0 24px;
  32. }
  33. }
  34. .top {
  35. text-align: center;
  36. }
  37. .header {
  38. height: 44px;
  39. line-height: 44px;
  40. a {
  41. text-decoration: none;
  42. }
  43. }
  44. .logo {
  45. height: 44px;
  46. margin-right: 16px;
  47. vertical-align: top;
  48. }
  49. .title {
  50. position: relative;
  51. top: 2px;
  52. color: @heading-color;
  53. font-weight: 600;
  54. font-size: 33px;
  55. font-family: Avenir, 'Helvetica Neue', Arial, Helvetica, sans-serif;
  56. }
  57. .desc {
  58. margin-top: 12px;
  59. margin-bottom: 40px;
  60. color: @text-color-secondary;
  61. font-size: @font-size-base;
  62. }