Sources du blog ALLELLA
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 

153 рядки
2.4 KiB

  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. h3{
  44. font-weight: bold;
  45. }
  46. .blog {
  47. .post-list li {
  48. p{
  49. margin-bottom: 10px
  50. }
  51. }
  52. h3{
  53. margin-bottom: 5px;
  54. border-bottom: 1px solid $border-color;
  55. font-weight: normal;
  56. }
  57. h3 a, h3 a:visited {
  58. // color: $bg-color;
  59. // background-color: $txt-color;
  60. width: 50%;
  61. // padding:5px;
  62. }
  63. background-color: $bg-color;
  64. color: $txt-color;
  65. .post-meta-tags-cats {
  66. margin-top:5px;
  67. @include relative-font-size(0.8);
  68. .post-meta::after{
  69. color: $txt-color;
  70. content: " / ";
  71. }
  72. .post-meta-category:not(:last-child)::after{
  73. content: " · ";
  74. }
  75. }
  76. .read-more{
  77. @include relative-font-size(0.8);
  78. }
  79. }
  80. }
  81. .post-list{
  82. @include relative-font-size(1.1);
  83. p{
  84. @include relative-font-size(1);
  85. line-height: 200%;
  86. }
  87. }
  88. .post-content{
  89. @include relative-font-size(1.1);
  90. h2 {
  91. font-weight: 600;
  92. margin-top: 50px;
  93. }
  94. h3{
  95. @include relative-font-size(1.2);
  96. margin-top:40px;
  97. }
  98. }
  99. .wrapper{
  100. max-width: $content-width;
  101. }
  102. .services-list{
  103. list-style-type: none;
  104. display: flex;
  105. flex-wrap: wrap;
  106. li{
  107. display: flex;
  108. flex: 1 0 calc(25% - 12px);
  109. margin: 5px;
  110. border: 1px solid #333;
  111. justify-content: center;
  112. align-items: center;
  113. }
  114. li:after{
  115. content: '';
  116. display: block;
  117. padding-bottom: 100%;
  118. }
  119. }
  120. // .container{
  121. // border: 2px solid black;
  122. // display: flex;
  123. // flex-wrap: wrap;
  124. // }