您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

68 行
1.4 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .intro {
  4. padding: 0;
  5. overflow: hidden;
  6. margin: calc(2vw + 20px) 0 calc(2vw + 30px);
  7. + #toclist > section:first-child {
  8. margin-top: 0;
  9. }
  10. @media(max-width: 767px) {
  11. padding: 0;
  12. }
  13. h1 {
  14. position: relative;
  15. padding-bottom: 0.7em;
  16. &:first-child {
  17. margin-top: 0.1em;
  18. }
  19. &:last-child {
  20. margin-bottom: 0;
  21. }
  22. &:after {
  23. content: "";
  24. position: absolute;
  25. left: 0.05em;
  26. bottom: calc(0.15em - var(--border-width) / 2);
  27. height: var(--border-width);
  28. background: linear-gradient(85deg, var(--theme-color-gradient-01) 0%, var(--theme-color-gradient-02) 50%, var(--theme-color-gradient-03) 100%);
  29. width: calc(50vw + 460px);
  30. @media(max-width: 999px) {
  31. width: calc(100% + 30px);
  32. }
  33. }
  34. }
  35. > p:first-of-type, > div.text:first-of-type {
  36. &::first-letter:not(.no-initial) {
  37. font-size: 3.3em;
  38. line-height: 1;
  39. margin: -0.03em 0.08em -0.2em -0.02em;
  40. font-weight: 400;
  41. display: inline-block;
  42. vertical-align: top;
  43. float: left;
  44. }
  45. }
  46. .detail-text > *:last-child {
  47. margin-bottom: 0;
  48. }
  49. }
  50. [data-browser="firefox"] {
  51. .intro > p:first-of-type::first-letter,
  52. .intro > .text:first-of-type::first-letter,
  53. .initial::first-letter {
  54. margin-top: 0.113em;
  55. }
  56. }