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.
 
 
 
 
 

223 lines
3.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: 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. }
  43. .wrapper {
  44. width: $content-width;
  45. display: flex;
  46. justify-content: space-between;
  47. }
  48. .site-nav .page-link{
  49. color: #2a7ae2;
  50. letter-spacing : 0.02em;
  51. font-weight: bold;
  52. padding: 5px;
  53. font-variant: small-caps;
  54. @include relative-font-size(1.2);
  55. &:hover{
  56. text-decoration: none;
  57. background-color: #2a7ae2;
  58. color:white;
  59. }
  60. }
  61. }
  62. body{
  63. @include relative-font-size(1.1);
  64. h2, h3 {
  65. letter-spacing : 0.02em;
  66. }
  67. h3{
  68. font-weight: bold;
  69. }
  70. .blog {
  71. .post-list li {
  72. p{
  73. margin-bottom: 10px
  74. }
  75. }
  76. h3{
  77. margin-bottom: 5px;
  78. border-bottom: 1px solid $border-color;
  79. font-weight: normal;
  80. }
  81. h3 a, h3 a:visited {
  82. width: 50%;
  83. }
  84. background-color: $bg-color;
  85. color: $txt-color;
  86. .post-meta-tags-cats {
  87. margin-top:5px;
  88. @include relative-font-size(0.8);
  89. .post-meta::after{
  90. color: $txt-color;
  91. content: " / ";
  92. }
  93. .post-meta-category:not(:last-child)::after{
  94. content: " · ";
  95. }
  96. }
  97. .read-more{
  98. @include relative-font-size(0.8);
  99. }
  100. }
  101. }
  102. h2 {
  103. font-weight: bold;
  104. margin-top: 50px;
  105. }
  106. h3{
  107. @include relative-font-size(1.1);
  108. margin-top: 40px;
  109. }
  110. .page-content{
  111. margin-top: $header-height;
  112. }
  113. .home-page-content{
  114. margin-top: 10px;
  115. @include relative-font-size(1.1);
  116. }
  117. .logo-home {
  118. display:flex;
  119. flex-direction: column;
  120. color: white;
  121. img{
  122. width: 400px;
  123. }
  124. h2{
  125. @include relative-font-size(1.2);
  126. letter-spacing: 0.06em;
  127. }
  128. }
  129. .post-list{
  130. @include relative-font-size(1.1);
  131. p{
  132. @include relative-font-size(1);
  133. line-height: 200%;
  134. }
  135. }
  136. .post-content{
  137. @include relative-font-size(1.1);
  138. h3{
  139. @include relative-font-size(1.2);
  140. margin-top:40px;
  141. }
  142. }
  143. .wrapper{
  144. max-width: $content-width;
  145. }
  146. .services-list{
  147. list-style-type: none;
  148. display: flex;
  149. flex-wrap: wrap;
  150. li{
  151. display: flex;
  152. flex-direction: column;
  153. flex: 0 0 30;
  154. min-height:200px;
  155. width: 30%;
  156. max-width: 30%;
  157. margin: 5px;
  158. border: 1px solid #ccc;
  159. justify-content: space-between;
  160. box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  161. &:hover{
  162. box-shadow: none;
  163. }
  164. a{
  165. display : flex;
  166. justify-content: center;
  167. align-items: center;
  168. flex: 1;
  169. &:hover{
  170. box-shadow: none;
  171. text-decoration: none;
  172. }
  173. }
  174. span{
  175. @include relative-font-size(0.8);
  176. text-align: center;
  177. }
  178. }
  179. }
  180. .cgu{
  181. text-align: center;
  182. }
  183. img.inline-logo{
  184. width: 42px;
  185. }