Sources du blog ALLELLA
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

main.scss 3.8 KiB

4 yıl önce
4 yıl önce
4 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  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: 10vh;
  10. .scrolled{
  11. }
  12. .fullscreen{
  13. width: 100%;
  14. background-color: black;
  15. min-height: calc(100vh - #{$header-height});
  16. margin-top: $header-height;
  17. display: flex;
  18. justify-content: center;
  19. align-items:center;
  20. }
  21. header.site-header{
  22. position: fixed;
  23. width: 100vw;
  24. border-top: none;
  25. min-height: $header-height;
  26. display: flex;
  27. align-items: center;
  28. background-color: black;//$bg-color;
  29. border-bottom: 2px solid $txt-color;
  30. a, a:visited {
  31. color : $txt-color;
  32. }
  33. img{
  34. height: calc(#{$header-height / 1.5});
  35. }
  36. .wrapper::after{
  37. content: none;
  38. }
  39. .site-title{
  40. @include relative-font-size(1.2);
  41. float:none;
  42. // visibility: hidden;
  43. // background-image: url('../assets/images/logo.svg');
  44. }
  45. // .site-logo{
  46. // background: url('../assets/images/logo.svg') no-repeat;
  47. // background-size: contain;
  48. // }
  49. .wrapper {
  50. width: $content-width;
  51. display: flex;
  52. justify-content: space-between;
  53. }
  54. .site-nav .page-link{
  55. color: #2a7ae2;
  56. letter-spacing : 0.02em;
  57. font-weight: bold;
  58. //background-color: $txt-color;
  59. padding: 5px;
  60. font-variant: small-caps;
  61. @include relative-font-size(1.2);
  62. &:hover{
  63. text-decoration: none;
  64. background-color: #2a7ae2;
  65. color:white;
  66. }
  67. }
  68. }
  69. body{
  70. @include relative-font-size(1.4);
  71. h2, h3 {
  72. letter-spacing : 0.02em;
  73. }
  74. h3{
  75. font-weight: bold;
  76. }
  77. .blog {
  78. .post-list li {
  79. p{
  80. margin-bottom: 10px
  81. }
  82. }
  83. h3{
  84. margin-bottom: 5px;
  85. border-bottom: 1px solid $border-color;
  86. font-weight: normal;
  87. }
  88. h3 a, h3 a:visited {
  89. // color: $bg-color;
  90. // background-color: $txt-color;
  91. width: 50%;
  92. // padding:5px;
  93. }
  94. background-color: $bg-color;
  95. color: $txt-color;
  96. .post-meta-tags-cats {
  97. margin-top:5px;
  98. @include relative-font-size(0.8);
  99. .post-meta::after{
  100. color: $txt-color;
  101. content: " / ";
  102. }
  103. .post-meta-category:not(:last-child)::after{
  104. content: " · ";
  105. }
  106. }
  107. .read-more{
  108. @include relative-font-size(0.8);
  109. }
  110. }
  111. }
  112. h2 {
  113. font-weight: bold;
  114. margin-top: 50px;
  115. }
  116. h3{
  117. @include relative-font-size(1.1);
  118. margin-top: 40px;
  119. }
  120. .page-content{
  121. margin-top: $header-height;
  122. }
  123. .home-page-content{
  124. margin-top: 10px;
  125. @include relative-font-size(1.1);
  126. }
  127. .logo-home {
  128. display:flex;
  129. flex-direction: column;
  130. color: white;
  131. img{
  132. width: 33vw;
  133. }
  134. h2{
  135. @include relative-font-size(1.2);
  136. }
  137. }
  138. .post-list{
  139. @include relative-font-size(1.1);
  140. p{
  141. @include relative-font-size(1);
  142. line-height: 200%;
  143. }
  144. }
  145. .post-content{
  146. @include relative-font-size(1.1);
  147. /*h2 {
  148. font-weight: 600;
  149. margin-top: 50px;
  150. }*/
  151. h3{
  152. @include relative-font-size(1.2);
  153. margin-top:40px;
  154. }
  155. }
  156. .wrapper{
  157. max-width: $content-width;
  158. }
  159. .services-list{
  160. list-style-type: none;
  161. display: flex;
  162. flex-wrap: wrap;
  163. li{
  164. display: flex;
  165. width: calc(25% - 12px);
  166. margin: 5px;
  167. border: 1px solid #555;
  168. /*justify-content: center;
  169. align-items: center;*/
  170. box-shadow: 8px 8px 12px #aaa;
  171. a{
  172. display : flex;
  173. justify-content: center;
  174. align-items: center;
  175. flex: 1;
  176. &:hover{
  177. box-shadow: none;
  178. background-color: black;
  179. color : white;
  180. text-decoration: none;
  181. // a {
  182. // color : white;
  183. // }
  184. }
  185. }
  186. }
  187. li:after{
  188. content: '';
  189. display: block;
  190. padding-bottom: 100%;
  191. }
  192. }
  193. .cgu{
  194. text-align: center;
  195. }
  196. // .container{
  197. // border: 2px solid black;
  198. // display: flex;
  199. // flex-wrap: wrap;
  200. // }