index.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. @footer-prefix-cls: rc-footer;
  2. .@{footer-prefix-cls} {
  3. position: relative;
  4. clear: both;
  5. color: rgba(255, 255, 255, .4);
  6. font-size: 14px;
  7. line-height: 1.5;
  8. background-color: #000;
  9. a {
  10. transition: all .3s;
  11. color: rgba(255, 255, 255, .9);
  12. text-decoration: none;
  13. &:hover {
  14. color: #40a9ff;
  15. }
  16. }
  17. &-container {
  18. width: 100%;
  19. max-width: 1200px;
  20. padding: 80px 0;
  21. margin: auto;
  22. }
  23. &-columns {
  24. display: flex;
  25. justify-content: space-around;
  26. }
  27. &-column {
  28. h2 {
  29. position: relative;
  30. margin: 0 auto 24px;
  31. font-weight: 500;
  32. font-size: 16px;
  33. color: #fff;
  34. }
  35. &-icon {
  36. margin-right: .5em;
  37. width: 22px;
  38. display: inline-block;
  39. vertical-align: middle;
  40. top: -1px;
  41. position: relative;
  42. text-align: center;
  43. > span,
  44. > svg,
  45. img {
  46. width: 100%;
  47. display: block;
  48. }
  49. }
  50. }
  51. &-item {
  52. margin: 12px 0;
  53. &-icon {
  54. margin-right: .4em;
  55. width: 16px;
  56. display: inline-block;
  57. vertical-align: middle;
  58. top: -1px;
  59. position: relative;
  60. text-align: center;
  61. > span,
  62. > svg,
  63. img {
  64. width: 100%;
  65. display: block;
  66. }
  67. }
  68. &-separator {
  69. margin: 0 .3em;
  70. }
  71. }
  72. &-bottom {
  73. &-container {
  74. border-top: 1px solid rgba(255, 255, 255, .25);
  75. width: 100%;
  76. max-width: 1200px;
  77. text-align: center;
  78. margin: 0 auto;
  79. padding: 16px 0;
  80. line-height: 32px;
  81. font-size: 16px;
  82. }
  83. }
  84. &-light {
  85. background-color: transparent;
  86. color: rgba(0, 0, 0, .85);
  87. h2,
  88. a {
  89. color: rgba(0, 0, 0, .85);
  90. }
  91. }
  92. &-light &-bottom-container {
  93. border-top-color: #e8e8e8;
  94. }
  95. &-light &-item-separator,
  96. &-light &-item-description {
  97. color: rgba(0, 0, 0, .45);
  98. }
  99. }
  100. @media only screen and (max-width: 767.99px) {
  101. .@{footer-prefix-cls} {
  102. text-align: center;
  103. &-container {
  104. padding: 40px 0;
  105. }
  106. &-columns {
  107. display: block;
  108. }
  109. &-column {
  110. display: block;
  111. margin-bottom: 40px;
  112. &:last-child {
  113. margin-bottom: 0;
  114. }
  115. }
  116. }
  117. }