Nouvelle mouture du site web de Dylan
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.
 
 
 
 
 
 

349 lines
5.6 KiB

  1. /**
  2. * Site header
  3. */
  4. .site-header {
  5. border-bottom: 1px solid $grey-color-light;
  6. min-height: $spacing-unit * 1.865;
  7. // Positioning context for the mobile navigation icon
  8. position: relative;
  9. background-color: $background-color;
  10. }
  11. video#demo{
  12. position: fixed;
  13. top: 50%;
  14. left: 50%;
  15. min-width: 100%;
  16. min-height: 100%;
  17. width: auto;
  18. height: auto;
  19. z-index: -100;
  20. -ms-transform: translateX(-50%) translateY(-50%);
  21. -moz-transform: translateX(-50%) translateY(-50%);
  22. -webkit-transform: translateX(-50%) translateY(-50%);
  23. transform: translateX(-50%) translateY(-50%);
  24. /*background: url(polina.jpg) no-repeat;*/
  25. background-size: cover;
  26. }
  27. .site-title {
  28. @include relative-font-size(1.625);
  29. font-weight: 600;
  30. line-height: $base-line-height * $base-font-size * 2.25;
  31. letter-spacing: -1px;
  32. margin-bottom: 0;
  33. float: left;
  34. margin-left: 25px;
  35. text-transform: uppercase;
  36. &,&:visited {
  37. color: black;//$grey-color-dark;
  38. }
  39. .site-subtitle {
  40. font-weight: 300;
  41. text-transform: lowercase;
  42. font-variant: small-caps;
  43. }
  44. }
  45. .site-nav {
  46. float: right;
  47. line-height: $base-line-height * $base-font-size * 2.25;
  48. .nav-trigger {
  49. display: none;
  50. }
  51. .menu-icon {
  52. display: none;
  53. }
  54. .trigger{
  55. display: inline;
  56. }
  57. .page-link {
  58. color: $text-color;
  59. line-height: $base-line-height;
  60. display: inline;
  61. border: none;
  62. // Gaps between nav items, but not on the last one
  63. &:not(:last-child) {
  64. margin-right: 20px;
  65. }
  66. }
  67. @include media-query($on-palm) {
  68. position: absolute;
  69. top: 9px;
  70. right: $spacing-unit / 2;
  71. background-color: $background-color;
  72. // border: 1px solid $grey-color-light;
  73. border-radius: 5px;
  74. text-align: right;
  75. label[for="nav-trigger"] {
  76. display: block;
  77. float: right;
  78. width: 36px;
  79. height: 36px;
  80. z-index: 2;
  81. cursor: pointer;
  82. }
  83. .menu-icon {
  84. display: block;
  85. float: right;
  86. width: 36px;
  87. height: 26px;
  88. line-height: 0;
  89. padding-top: 10px;
  90. text-align: center;
  91. > svg {
  92. fill: $grey-color-dark;
  93. }
  94. }
  95. input ~ .trigger {
  96. clear: both;
  97. display: none;
  98. }
  99. input:checked ~ .trigger {
  100. display: block;
  101. padding-bottom: 5px;
  102. }
  103. .page-link {
  104. display: block;
  105. padding: 5px 10px;
  106. &:not(:last-child) {
  107. margin-right: 0;
  108. }
  109. margin-left: 20px;
  110. }
  111. }
  112. }
  113. /**
  114. * Site footer
  115. */
  116. .site-footer {
  117. border-top: 1px solid $grey-color-light;
  118. padding: calc(#{$spacing-unit}/2) 0;
  119. background-color: $background-color;
  120. a {
  121. text-decoration: none;
  122. color: $grey-color-dark;
  123. &:hover{
  124. color: $grey-color;
  125. }
  126. }
  127. }
  128. .footer-heading {
  129. @include relative-font-size(1.125);
  130. margin-bottom: $spacing-unit / 2;
  131. }
  132. .contact-list,
  133. .social-media-list {
  134. list-style: none;
  135. margin-left: 0;
  136. }
  137. .footer-col-wrapper {
  138. display: flex;
  139. @include relative-font-size(0.9375);
  140. color: $grey-color;
  141. margin-left: -$spacing-unit / 2;
  142. @extend %clearfix;
  143. p {
  144. margin: 0;
  145. }
  146. align-items: center;
  147. justify-content: center;
  148. }
  149. // .footer-col {
  150. // float: left;
  151. // padding-left: $spacing-unit / 2;
  152. // }
  153. //
  154. .footer-col-1 {
  155. flex: 1;
  156. }
  157. //
  158. // .footer-col-2 {
  159. // width: -webkit-calc(20% - (#{$spacing-unit} / 2));
  160. // width: calc(20% - (#{$spacing-unit} / 2));
  161. // }
  162. //
  163. .footer-col-3 {
  164. flex: 3;
  165. img{
  166. margin-left: 15px;
  167. }
  168. }
  169. @include media-query($on-laptop) {
  170. .footer-col-1,
  171. .footer-col-2 {
  172. width: -webkit-calc(50% - (#{$spacing-unit} / 2));
  173. width: calc(50% - (#{$spacing-unit} / 2));
  174. }
  175. .footer-col-3 {
  176. width: -webkit-calc(100% - (#{$spacing-unit} / 2));
  177. width: calc(100% - (#{$spacing-unit} / 2));
  178. }
  179. }
  180. @include media-query($on-palm) {
  181. .footer-col {
  182. float: none;
  183. width: -webkit-calc(100% - (#{$spacing-unit} / 2));
  184. width: calc(100% - (#{$spacing-unit} / 2));
  185. }
  186. }
  187. /**
  188. * Page content
  189. */
  190. .page-content {
  191. padding: $spacing-unit 0;
  192. flex: 1;
  193. }
  194. .page-heading {
  195. @include relative-font-size(2);
  196. }
  197. .post-list-heading {
  198. @include relative-font-size(1.75);
  199. }
  200. .post-list {
  201. margin-left: 0;
  202. list-style: none;
  203. > li {
  204. margin-bottom: $spacing-unit;
  205. }
  206. }
  207. .post-meta {
  208. font-size: $small-font-size;
  209. color: $grey-color;
  210. }
  211. .post-link {
  212. display: block;
  213. @include relative-font-size(1.5);
  214. }
  215. /**
  216. * Posts
  217. */
  218. .post-header {
  219. margin-bottom: $spacing-unit;
  220. }
  221. .post-title {
  222. @include relative-font-size(2.625);
  223. letter-spacing: -1px;
  224. line-height: 1;
  225. @include media-query($on-laptop) {
  226. @include relative-font-size(2.25);
  227. }
  228. }
  229. .post-content {
  230. margin-bottom: $spacing-unit;
  231. h2 {
  232. @include relative-font-size(2);
  233. @include media-query($on-laptop) {
  234. @include relative-font-size(1.75);
  235. }
  236. }
  237. h3 {
  238. @include relative-font-size(1.625);
  239. @include media-query($on-laptop) {
  240. @include relative-font-size(1.375);
  241. }
  242. }
  243. h4 {
  244. @include relative-font-size(1.25);
  245. @include media-query($on-laptop) {
  246. @include relative-font-size(1.125);
  247. }
  248. }
  249. img{
  250. margin :25px 0px;
  251. }
  252. }
  253. #contact-screen{
  254. position:fixed;
  255. background-color: white;
  256. top: 0px;
  257. left:0px;
  258. width: 100vw;
  259. height: 100vh;
  260. display: none;
  261. font-size: 26px;
  262. line-height: 200%;
  263. font-weight: 600;
  264. span.close{
  265. position:fixed;
  266. top:10px;
  267. right: 10px;
  268. z-index: 200;
  269. cursor: pointer;
  270. img{
  271. width: 24px;
  272. height:24px;
  273. }
  274. }
  275. span.logo{
  276. display: inline-block;
  277. margin-right:5px;
  278. }
  279. .text-uppercase{
  280. @include relative-font-size(2);
  281. }
  282. &.shown{
  283. z-index: 100;
  284. display : flex;
  285. justify-content: center;
  286. align-items: center;
  287. }
  288. }