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.
 
 
 
 
 
 

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