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.
 
 
 
 
 

240 lines
3.9 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: 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: 400px;
  133. }
  134. h2{
  135. @include relative-font-size(1.2);
  136. letter-spacing: 0.06em;
  137. }
  138. }
  139. .post-list{
  140. @include relative-font-size(1.1);
  141. p{
  142. @include relative-font-size(1);
  143. line-height: 200%;
  144. }
  145. }
  146. .post-content{
  147. @include relative-font-size(1.1);
  148. /*h2 {
  149. font-weight: 600;
  150. margin-top: 50px;
  151. }*/
  152. h3{
  153. @include relative-font-size(1.2);
  154. margin-top:40px;
  155. }
  156. }
  157. .wrapper{
  158. max-width: $content-width;
  159. }
  160. .services-list{
  161. list-style-type: none;
  162. display: flex;
  163. flex-wrap: wrap;
  164. li{
  165. display: flex;
  166. width: calc(25% - 12px);
  167. margin: 5px;
  168. border: 1px solid #ccc;
  169. /*justify-content: center;
  170. align-items: center;*/
  171. box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  172. a{
  173. display : flex;
  174. justify-content: center;
  175. align-items: center;
  176. flex: 1;
  177. &:hover{
  178. box-shadow: none;
  179. background-color: black;
  180. color : white;
  181. text-decoration: none;
  182. // a {
  183. // color : white;
  184. // }
  185. }
  186. }
  187. }
  188. li:after{
  189. content: '';
  190. display: block;
  191. padding-bottom: 100%;
  192. }
  193. }
  194. .cgu{
  195. text-align: center;
  196. }
  197. // .container{
  198. // border: 2px solid black;
  199. // display: flex;
  200. // flex-wrap: wrap;
  201. // }