Sources du blog ALLELLA
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

main.scss 1.9 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. ---
  2. ---
  3. @import "{{ site.theme }}";
  4. $content-width:800px;
  5. $link-color: #0082c9;
  6. $bg-color: white;
  7. $txt-color: #333;
  8. $border-color: #e8e8e8;
  9. $header-height: 20vh;
  10. header.site-header{
  11. border-top: none;
  12. min-height: $header-height;
  13. display: flex;
  14. align-items: center;
  15. a, a:visited {
  16. color : $txt-color;
  17. }
  18. .site-title{
  19. @include relative-font-size(1.2);
  20. float:none;
  21. // visibility: hidden;
  22. // background-image: url('../assets/images/logo.svg');
  23. }
  24. // .site-logo{
  25. // background: url('../assets/images/logo.svg') no-repeat;
  26. // background-size: contain;
  27. // }
  28. .wrapper {
  29. width: $content-width;
  30. display: flex;
  31. justify-content: space-between;
  32. }
  33. .site-nav .page-link{
  34. color: $bg-color;
  35. background-color: $txt-color;
  36. padding: 5px;
  37. font-variant: small-caps;
  38. @include relative-font-size(1);
  39. }
  40. }
  41. body{
  42. @include relative-font-size(1.4);
  43. .home {
  44. .post-list li {
  45. p{
  46. margin-bottom: 10px
  47. }
  48. }
  49. h3{
  50. margin-bottom: 5px;
  51. border-bottom: 1px solid $border-color;
  52. }
  53. h3 a, h3 a:visited {
  54. // color: $bg-color;
  55. // background-color: $txt-color;
  56. width: 50%;
  57. // padding:5px;
  58. }
  59. background-color: $bg-color;
  60. color: $txt-color;
  61. .post-meta-tags-cats {
  62. margin-top:5px;
  63. @include relative-font-size(0.8);
  64. .post-meta::after{
  65. color: $txt-color;
  66. content: " / ";
  67. }
  68. .post-meta-category:not(:last-child)::after{
  69. content: " · ";
  70. }
  71. }
  72. .read-more{
  73. @include relative-font-size(0.8);
  74. }
  75. }
  76. }
  77. .post-list{
  78. @include relative-font-size(1.1);
  79. p{
  80. @include relative-font-size(1);
  81. line-height: 200%;
  82. }
  83. }
  84. .post-content{
  85. @include relative-font-size(1.1);
  86. h2 {
  87. font-weight: 600;
  88. margin-top: 25px;
  89. }
  90. }
  91. .wrapper{
  92. max-width: $content-width;
  93. }