index.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. .demo-wrap {
  2. position: absolute;
  3. left: 0;
  4. top: 0;
  5. width: 100%;
  6. height: 100%;
  7. }
  8. .demo-viewer {
  9. position: absolute;
  10. left: 0;
  11. top: 0;
  12. width: 100%;
  13. height: 100%;
  14. }
  15. .holder {
  16. height: 60rpx;
  17. }
  18. .hint-wrap {
  19. text-align: center;
  20. }
  21. .hint-words {
  22. display: block;
  23. font-size: 14px;
  24. color: #000;
  25. text-align: center;
  26. font-weight: normal;
  27. margin: 10px 20px;
  28. padding: 10px;
  29. border-radius: 5px;
  30. border: 1px dashed #000;
  31. background-color: #fff;
  32. }
  33. .intro {
  34. display: block;
  35. margin: 20rpx 0;
  36. background: #fff;
  37. }
  38. .intro .title {
  39. font-size: 36rpx;
  40. padding-bottom: 20rpx;
  41. }
  42. .intro .description {
  43. color: #8f8f8f;
  44. font-size: 28rpx;
  45. }
  46. .intro-detail {
  47. padding: 30rpx;
  48. }
  49. .code-inner {
  50. margin: 0rpx;
  51. padding: 30rpx;
  52. font-size: 30rpx;
  53. background-color: #f9f9fa;
  54. }
  55. .code-inner rich-text {
  56. word-wrap: break-word;
  57. }
  58. .block-name {
  59. display: inline-block;
  60. color: #b457ff;
  61. }
  62. .attr-name {
  63. display: inline-block;
  64. color: #ff4d00;
  65. }
  66. .ml20 {
  67. margin-left: 20rpx;
  68. }
  69. .intro-title {
  70. font-size: 30rpx;
  71. font-weight: bold;
  72. display: flex;
  73. justify-content: space-between;
  74. align-items: baseline;
  75. margin-bottom: 24rpx;
  76. }
  77. .share {
  78. margin: 0 !important;
  79. margin-left: 0 !important;
  80. margin-right: 0 !important;
  81. padding: 0;
  82. width: 160rpx !important;
  83. background: none;
  84. font-size: 28rpx;
  85. color: #ff4d00;
  86. }
  87. .back-btn-wrap {
  88. position: absolute;
  89. left: 30rpx;
  90. top: 100rpx;
  91. width: 90rpx;
  92. height: 80rpx;
  93. }
  94. .back-line-t {
  95. position: absolute;
  96. left: 20rpx;
  97. top: 15rpx;
  98. width: 30rpx;
  99. height: 6rpx;
  100. background-color: #000;
  101. transform: rotate(-45deg);
  102. border-radius: 5rpx;
  103. }
  104. .back-line-b {
  105. position: absolute;
  106. left: 20rpx;
  107. top: 32rpx;
  108. width: 30rpx;
  109. height: 6rpx;
  110. background-color: #000;
  111. transform: rotate(45deg);
  112. border-radius: 5rpx;
  113. }