Sources du blog ALLELLA
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

239 linhas
3.8 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: 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. // }