style.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. * {
  2. letter-spacing: 1px;
  3. font-family: Noto Sans TC, sans-serif;
  4. }
  5. /* List */
  6. .list {
  7. // max-width: 720px;
  8. margin: auto;
  9. .item {
  10. display: flex;
  11. align-items: flex-start;
  12. margin-bottom: 16px;
  13. border-bottom: 1px solid #ededed;
  14. }
  15. .row {
  16. display: flex;
  17. align-items: center;
  18. width: 100%;
  19. }
  20. .cover {
  21. display: block;
  22. height: 160px;
  23. img {
  24. width: 100%;
  25. height: 100%;
  26. object-fit: cover;
  27. border-radius: 5px;
  28. }
  29. }
  30. .content {
  31. margin-left: 16px;
  32. }
  33. .title {
  34. font-size: 22px;
  35. font-weight: bold;
  36. color: #254B70;
  37. text-decoration: none;
  38. transition: all .2s;
  39. &:hover {
  40. opacity: .7;
  41. }
  42. }
  43. .summary {
  44. margin: 8px 0 0;
  45. color: #555;
  46. font-size: 14px;
  47. }
  48. }
  49. /* Single */
  50. .post-content {
  51. max-width: 800px;
  52. width: 100%;
  53. margin: 0 auto;
  54. padding: 20px;
  55. line-height: 1.7;
  56. font-size: 18px;
  57. letter-spacing: 0.5px;
  58. color: #333333;
  59. text-align: justify;
  60. .post-title {
  61. font-size: 32px;
  62. font-weight: bold;
  63. margin-bottom: 20px;
  64. color: #1E2939;
  65. }
  66. .post-date {
  67. font-size: 14px;
  68. color: #888888;
  69. margin-bottom: 30px;
  70. }
  71. .post-cover {
  72. width: 100%;
  73. height: auto;
  74. border-radius: 8px;
  75. margin-bottom: 30px;
  76. }
  77. .back-link {
  78. display: block;
  79. margin-top: 100px;
  80. color: #1E2939;
  81. text-decoration: none;
  82. text-align: center;
  83. transition: all .2s;
  84. &:hover {
  85. color: #1E2939;
  86. opacity: .7;
  87. }
  88. }
  89. }