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.
 
 
 
 
 
 

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