page1.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. @import "./components.less";
  2. .body{
  3. .color{
  4. color: @body-bg;
  5. }
  6. h3{
  7. margin-top: 0;
  8. }
  9. #content{
  10. text-align: justify;
  11. p{
  12. text-indent: 30px;
  13. }
  14. &>p:last-child{
  15. padding: 10px 0px;
  16. }
  17. }
  18. #read{
  19. margin-top: 20px;
  20. text-align: center;
  21. .good{
  22. border-radius:5px;
  23. border: 1px solid #e6e6e6;
  24. display: inline-block;
  25. padding: 5px 30px;
  26. margin-bottom: 10px;
  27. }
  28. }
  29. .articles{
  30. ul{
  31. width: 100%;
  32. border-top: 1px solid #e6e6e6;
  33. padding: 10px 20px;
  34. list-style: square;
  35. color: #777;
  36. overflow: hidden;
  37. li{
  38. overflow: hidden;
  39. text-overflow: ellipsis;
  40. white-space: nowrap;
  41. width: 100%;
  42. padding: 5px 0px;
  43. }
  44. }
  45. }
  46. #comment{
  47. .h5{
  48. display: flex;justify-content: space-between;align-content: center;
  49. }
  50. .remind{
  51. text-align: center;
  52. background-color: #e6e6e6;
  53. padding: 5px;
  54. border-radius: 5px;
  55. margin: 10px 0px;
  56. }
  57. .comment{
  58. border-top: 1px solid #e6e6e6;
  59. padding-top: 10px;
  60. .nocomment,.loading,.nodata{
  61. display: none;
  62. text-align: center;
  63. margin: 10px;
  64. }
  65. .nocomment{
  66. display: block;
  67. padding-bottom: 10px;
  68. &:hover{
  69. color: @body-bg;
  70. }
  71. }
  72. .user{
  73. width: 100%;
  74. padding: 20px 0;
  75. border-bottom: 1px solid #e6e6e6;
  76. display: grid;
  77. grid-template-columns: 10% 90%;
  78. .u-img{
  79. width: 100%;
  80. text-align: center;
  81. .img{
  82. width: 100%;
  83. max-width: 64px;
  84. }
  85. }
  86. .u-content{
  87. margin-left: 10px;
  88. text-align: justify;
  89. .u-name{
  90. font-size: 16px;
  91. }
  92. .u-detail{
  93. padding: 5px 0px;
  94. }
  95. .u-flex{display: flex;justify-content: space-between;align-items: center;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }
  102. // 交互板
  103. #toast{
  104. #report{
  105. display: none;
  106. text-align: start;
  107. ul{list-style: none;padding: 0;
  108. li{
  109. padding: 5px;
  110. border-bottom: 1px solid #e6e6e6;
  111. }
  112. }
  113. }
  114. }