Nouvelle mouture du site web de Dylan
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

355 lignes
6.1 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: $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. }
  140. .footer-heading {
  141. @include relative-font-size(1.125);
  142. margin-bottom: $spacing-unit / 2;
  143. }
  144. .contact-list,
  145. .social-media-list {
  146. list-style: none;
  147. margin-left: 0;
  148. }
  149. .footer-col-wrapper {
  150. @include relative-font-size(0.9375);
  151. color: $grey-color;
  152. margin-left: -$spacing-unit / 2;
  153. @extend %clearfix;
  154. }
  155. .footer-col {
  156. float: left;
  157. margin-bottom: $spacing-unit / 2;
  158. padding-left: $spacing-unit / 2;
  159. }
  160. .footer-col-1 {
  161. width: -webkit-calc(35% - (#{$spacing-unit} / 2));
  162. width: calc(35% - (#{$spacing-unit} / 2));
  163. }
  164. .footer-col-2 {
  165. width: -webkit-calc(20% - (#{$spacing-unit} / 2));
  166. width: calc(20% - (#{$spacing-unit} / 2));
  167. }
  168. .footer-col-3 {
  169. width: -webkit-calc(45% - (#{$spacing-unit} / 2));
  170. width: calc(45% - (#{$spacing-unit} / 2));
  171. }
  172. @include media-query($on-laptop) {
  173. .footer-col-1,
  174. .footer-col-2 {
  175. width: -webkit-calc(50% - (#{$spacing-unit} / 2));
  176. width: calc(50% - (#{$spacing-unit} / 2));
  177. }
  178. .footer-col-3 {
  179. width: -webkit-calc(100% - (#{$spacing-unit} / 2));
  180. width: calc(100% - (#{$spacing-unit} / 2));
  181. }
  182. }
  183. @include media-query($on-palm) {
  184. .footer-col {
  185. float: none;
  186. width: -webkit-calc(100% - (#{$spacing-unit} / 2));
  187. width: calc(100% - (#{$spacing-unit} / 2));
  188. }
  189. }
  190. /**
  191. * Page content
  192. */
  193. .page-content {
  194. padding: $spacing-unit 0;
  195. flex: 1;
  196. }
  197. .page-heading {
  198. @include relative-font-size(2);
  199. padding-left: 15px;
  200. }
  201. .post-list-heading {
  202. @include relative-font-size(1.75);
  203. }
  204. .post-list {
  205. margin-left: 0;
  206. list-style: none;
  207. > li {
  208. margin-bottom: $spacing-unit;
  209. }
  210. }
  211. .post-meta {
  212. font-size: $small-font-size;
  213. color: $grey-color;
  214. }
  215. .post-link {
  216. display: block;
  217. @include relative-font-size(1.5);
  218. }
  219. /**
  220. * Posts
  221. */
  222. .post-header {
  223. margin-bottom: $spacing-unit;
  224. }
  225. .post-title {
  226. @include relative-font-size(2.625);
  227. letter-spacing: -1px;
  228. line-height: 1;
  229. @include media-query($on-laptop) {
  230. @include relative-font-size(2.25);
  231. }
  232. }
  233. .post-content {
  234. margin-bottom: $spacing-unit;
  235. h2 {
  236. @include relative-font-size(2);
  237. @include media-query($on-laptop) {
  238. @include relative-font-size(1.75);
  239. }
  240. }
  241. h3 {
  242. @include relative-font-size(1.625);
  243. @include media-query($on-laptop) {
  244. @include relative-font-size(1.375);
  245. }
  246. }
  247. h4 {
  248. @include relative-font-size(1.25);
  249. @include media-query($on-laptop) {
  250. @include relative-font-size(1.125);
  251. }
  252. }
  253. img{
  254. margin :25px 0px;
  255. }
  256. }
  257. #contact-screen{
  258. @include relative-font-size(2.0);
  259. text-align: center;
  260. position:fixed;
  261. color:white;
  262. background-color: black;
  263. top: 0px;
  264. left:0px;
  265. width: 100vw;
  266. height: 100vh;
  267. display: none;
  268. line-height: 200%;
  269. font-weight: 600;
  270. span.close{
  271. position:fixed;
  272. top:5px;
  273. right: 10px;
  274. z-index: 200;
  275. cursor: pointer;
  276. color: white;
  277. @include relative-font-size(5.0);
  278. }
  279. &.shown{
  280. z-index: 100;
  281. display : flex;
  282. justify-content: center;
  283. align-items: center;
  284. }
  285. }
  286. #fullscreen-showreel{
  287. &.hidden{display:none;}
  288. display: flex;
  289. position:fixed;
  290. justify-content: center;
  291. align-items: center;
  292. background-color: black;
  293. top:0;
  294. left:0;
  295. z-index: 100;
  296. width: 100%;
  297. height: 100vh;
  298. }