brand-detail.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @media screen and (min-width: 768px) {
  2. .main {
  3. padding-top: 50px;
  4. .title {
  5. font-size: 28px;
  6. }
  7. .date {
  8. font-size: 18px;
  9. color: #b2b2b2;
  10. margin-top: 16px;
  11. }
  12. .line {
  13. width: 100%;
  14. margin: 40px 0 70px;
  15. position: relative;
  16. height: 1px;
  17. background-color: #d8d8d8;
  18. &::after {
  19. content: '';
  20. display: block;
  21. width: 24px;
  22. height: 2px;
  23. background: #0688d2;
  24. }
  25. }
  26. .detail {
  27. p {
  28. line-height: 34px;
  29. margin: 32px 0;
  30. }
  31. }
  32. }
  33. }
  34. @media screen and (max-width: 768px) {
  35. .main {
  36. padding: 0.8rem 0.32rem;
  37. .title {
  38. font-size: 0.34rem;
  39. }
  40. .date {
  41. font-size: 0.24rem;
  42. color: #b2b2b2;
  43. margin-top: 0.16rem;
  44. }
  45. .line {
  46. width: 100%;
  47. margin: 0.34rem 0 0.5rem;
  48. position: relative;
  49. height: 0.01rem;
  50. background-color: #d8d8d8;
  51. &::after {
  52. content: '';
  53. display: block;
  54. width: 0.4rem;
  55. height: 0.03rem;
  56. background: #0688d2;
  57. }
  58. }
  59. .detail {
  60. p {
  61. line-height: 0.48rem;
  62. margin: 0.32rem 0;
  63. font-size: 0.26rem;
  64. color: #404040;
  65. }
  66. img {
  67. max-width: 100%;
  68. }
  69. }
  70. }
  71. }