topic-detail2.component_20241216084811.scss 801 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* 设置页面背景色 */
  2. ion-content {
  3. --background: #ffffff; /* 白色背景 */
  4. }
  5. /* 设置卡片的样式 */
  6. ion-list {
  7. margin: 10px; /* 卡片之间的间距 */
  8. border-radius: 10px; /* 圆角效果 */
  9. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
  10. }
  11. /* 设置列表项的样式 */
  12. ion-item {
  13. margin: 5px 0; /* 列表项之间的间距 */
  14. }
  15. /* 设置按钮的样式(如果按钮不在顶部方框内) */
  16. ion-button {
  17. font-size: 15px; /* 增大字体大小 */
  18. margin-top: 8px; /* 上间距,仅在需要时添加 */
  19. text-transform: none; /* 按钮文字不变形 */
  20. height: 35px;
  21. }
  22. ion-title {
  23. font-size: 24px; /* 增大字体大小 */
  24. font-weight: bold; /* 加粗 */
  25. }
  26. .title-text{
  27. position: absolute;
  28. display: flex;
  29. left: 65px;
  30. margin: auto;
  31. top: 10px;
  32. }