Sources du blog ALLELLA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

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