page-consult.component_20241217151331.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /* 设置页面背景色 */
  2. ion-content {
  3. --background: #f9f9f9; /* 设置内容背景色 */
  4. margin: 0;
  5. padding: 0;
  6. font-family: Arial, sans-serif;
  7. }
  8. /* 设置头部标题样式 */
  9. h1 {
  10. color: #333333;
  11. text-align: center;
  12. margin: 20px 0;
  13. }
  14. /* 输入框和文本域的样式 */
  15. ion-input, ion-textarea {
  16. width: 100%;
  17. margin: 0 auto;
  18. padding: 10px;
  19. border: 1px solid #cccccc0c;
  20. border-radius: 5px;
  21. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  22. margin-bottom: 20px;
  23. }
  24. /* 按钮样式 */
  25. ion-button {
  26. color: white;
  27. border: none;
  28. border-radius: 5px;
  29. margin: 0 auto;
  30. display: block;
  31. width: 60%;
  32. padding: 10px;
  33. font-size: 16px;
  34. text-transform: uppercase;
  35. letter-spacing: 1px;
  36. box-shadow: 0 4px 6px rgba(255, 255, 255, 0.904);
  37. }
  38. /* 特别为Markdown预览设置样式 */
  39. fm-markdown-preview {
  40. font-size: 16px;
  41. line-height: 1.5;
  42. color: #333333;
  43. }
  44. /* 可选:增加一些过渡效果 */
  45. ion-input, ion-textarea, ion-button, div.response-msg, fm-markdown-preview {
  46. transition: all 0.3s ease;
  47. }
  48. .title-text{
  49. position: absolute;
  50. display: flex;
  51. left: 65px;
  52. margin: auto;
  53. top: 10px;
  54. }
  55. ion-toolbar {
  56. margin: auto;
  57. }