styles.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876
  1. @import '../bower_components/foundation/scss/normalize.scss';
  2. @import "_settings.scss";
  3. @import '../bower_components/foundation/scss/foundation.scss';
  4. @import '../bower_components/foundation/scss/foundation/components/_global.scss';
  5. @import '../bower_components/foundation/scss/foundation/components/_grid.scss';
  6. $column-gutter: rem-calc(15);
  7. // colors
  8. $maincolor: #5b2d87;
  9. $secondcolor: #e30613;
  10. $cat1: #e30613;
  11. $cat2: #00acba;
  12. $cat3: #5b2d87;
  13. $cat4: #f7a939;
  14. $cat5: #95c11f;
  15. $cat6: #e5007d;
  16. $cat7: #009641;
  17. $cat8: #009fe3;
  18. $catRadius: 12px;
  19. // $font: "CiutadellaRounded", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  20. $font: "cocogoose", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  21. @mixin fontbold{
  22. // TODO : media query
  23. font: $font; font-size:0.95em; font-weight:500; font-variant: normal;
  24. }
  25. @mixin fontnormal{
  26. // TODO : media query
  27. font: $font; font-size:0.8em; font-weight:300; font-variant: normal;
  28. }
  29. body{
  30. font-family: $font;
  31. letter-spacing: 1px;
  32. font-weight: 300;
  33. font-variant: normal;
  34. color: $maincolor;
  35. }
  36. h1,h2,h3,h4,h5,h6{font-family: $font;}
  37. a, a:hover{color:inherit;}
  38. ul,li{padding:0; margin:0; list-style: none;}
  39. // @media $large-up {
  40. // .row.fullwidth{width:1200px;}
  41. // }
  42. #container{
  43. display: block; position: relative;
  44. min-height: 100vh;
  45. }
  46. @media #{$medium-up}{
  47. .row{width:41rem;}
  48. }
  49. @media #{$large-up}{
  50. .row{width:62rem;}
  51. }
  52. @media #{$xlarge-up}{
  53. .row{width:83rem;max-width:83rem;}
  54. }
  55. // @media #{$xxlarge-up}{
  56. // .row{width:125rem;max-width:125rem;}
  57. // }
  58. /*
  59. _ _ _
  60. | | | | | |
  61. | |__| | ___ __ _ __| | ___ _ __
  62. | __ |/ _ \/ _` |/ _` |/ _ \ '__|
  63. | | | | __/ (_| | (_| | __/ |
  64. |_| |_|\___|\__,_|\__,_|\___|_|
  65. */
  66. $headerborderH: 0.3em;
  67. $headerpaddingtopH:0.9em;
  68. $logoH: 9.3em;
  69. $logo_mt:0.3em;
  70. $logo_mb:0.5em;
  71. $titleareaH: $logoH+$logo_mb+$logo_mt;
  72. $titleReducedFactor:0.7;
  73. $titleReducedFactorSmall:0.5;
  74. $centerpaddingtop: $headerborderH+$headerpaddingtopH+$titleareaH;
  75. $footerheight: 5em;
  76. $centerpaddingbottom:$footerheight+1em;
  77. header#top-bar{
  78. position: fixed; top:0;
  79. width:100%;
  80. // TODO: flou sous le haeder
  81. z-index: 9;
  82. // &:before{
  83. // content:"";
  84. // background: transparent!important;
  85. // border-top: $headerborderH solid $maincolor;
  86. // display: block;
  87. // padding-bottom: $headerpaddingtopH;
  88. // }
  89. >.bg{
  90. padding-top: $headerpaddingtopH;
  91. background-color: rgba(255, 255, 255, 0.95);
  92. >.row{
  93. position:relative; display:block;
  94. padding:0 0.7em;
  95. // box-sizing: border-box;
  96. }
  97. }
  98. #title-area{
  99. // overflow: hidden;
  100. position:relative;
  101. height:$titleareaH;
  102. transition: height 0.4s ease-in-out;
  103. h1{
  104. font-size: 1em; margin: 0;
  105. height:100%;
  106. // min-height:$titleareaH*0.8;
  107. overflow: hidden;
  108. position: relative;
  109. a{display: block;
  110. height:$logoH;
  111. margin:$logo_mt 0 $logo_mb;
  112. color:$secondcolor;
  113. transition-property: color, font-size;
  114. transition-duration: 0.4s;
  115. transition-timing-function: ease-out;
  116. // transition: color 0.4s ease-out;
  117. @include fontnormal;
  118. font-weight: 500;
  119. &:before{
  120. content:"";
  121. display: block;
  122. $r: 95px;
  123. width:$r; height:$r;
  124. border-radius: $r/2;
  125. border: $r/5.5 solid $maincolor;
  126. transition-property: width, height, border-radius, border-color, border-width;
  127. transition-duration: 0.4s;
  128. transition-timing-function: ease-out;
  129. // transition: border-color 0.4s ease-out;
  130. margin: 0 auto 1em;
  131. }
  132. }
  133. }
  134. &:hover{
  135. h1 a{
  136. color: $maincolor;
  137. transition-duration: 0.2s;
  138. transition-timing-function: ease-in-out;
  139. // transition: color 0.2s ease-in-out;
  140. &:before{
  141. border-color:$secondcolor;
  142. transition-duration: 0.2s;
  143. transition-timing-function: ease-in-out;
  144. // transition: border-color 0.2s ease-in-out;
  145. }
  146. }
  147. }
  148. }
  149. &.reduced{
  150. #title-area{
  151. height:$titleareaH*$titleReducedFactor;
  152. h1 a:before{
  153. $r: 50px;
  154. width:$r; height:$r;
  155. border-radius: $r/2;
  156. border-width: $r/5.5;
  157. }
  158. // @media #{$medium-up}{
  159. // height:$titleareaH*$titleReducedFactorSmall;
  160. // }
  161. }
  162. }
  163. h1, h2{
  164. text-align: center;
  165. a{
  166. color: inherit;
  167. }}
  168. // .nav{
  169. // padding:0;
  170. // position:relative;
  171. // height:100%;
  172. // ul{padding: 0; margin: 0;}
  173. // li{list-style: none;}
  174. // // @include breakpoint(medium) {
  175. // @media screen and (min-width:$small-breakpoint) {
  176. // .wrapper{padding-top: $titleareaH/2-.5em;}
  177. // }
  178. // }
  179. // #left-nav{
  180. // // margin-right: -0.1rem;
  181. // text-align: left;
  182. //
  183. // h4{
  184. // @include fontnormal; margin:0; line-height: 1.9;
  185. // a{color:$maincolor;}
  186. // // a:hover{text-decoration: underline;}
  187. // }
  188. // ul{background-color: transparent; padding-bottom: 1em;}
  189. // li{
  190. // line-height: 1;
  191. // // &:not(.active){
  192. // overflow: hidden; height:0.01px; transition: height 0.3s ease-in;
  193. // // }
  194. // position: relative;
  195. // // line-height: $catRadius;
  196. // // min-width:$catRadius; height:$catRadius;
  197. // a{
  198. // display: block;
  199. // &:before{
  200. // content:"";
  201. // opacity: 1;
  202. // position: relative;
  203. // display:inline-block;
  204. // border-width: 3px;
  205. // border-style: solid;
  206. // // line-height: $catRadius;
  207. // width:$catRadius; height:$catRadius;
  208. // border-radius: $catRadius/2;
  209. // }
  210. // &.tag-1:before{ border-color: $cat1;}
  211. // &.tag-2:before{ border-color: $cat2;}
  212. // &.tag-3:before{ border-color: $cat3;}
  213. // &.tag-4:before{ border-color: $cat4;}
  214. // &.tag-5:before{ border-color: $cat5;}
  215. // &.tag-6:before{ border-color: $cat6;}
  216. // &.tag-7:before{ border-color: $cat7;}
  217. // &.tag-8:before{ border-color: $cat8;}
  218. // span{
  219. // // position: absolute;
  220. // // z-index: -1;
  221. // // font-size: 0.7em;
  222. // @include fontnormal;
  223. // font-weight: 300;
  224. // white-space: nowrap;
  225. // // opacity: 0;
  226. // // transition: opacity 0.3s ease-in-out;
  227. // padding:0.15em 0.3em;
  228. // // width:0;
  229. // }
  230. // // &:hover{
  231. // // span{ opacity: 1; width:auto; z-index: 10;}
  232. // // }
  233. // }
  234. // // &.active span{
  235. // // display:inline-block;
  236. // // position:relative;
  237. // // &:after{
  238. // // content: ""; height:0;
  239. // // display: block; margin-top:-.7em; margin-bottom:.7em;
  240. // // border-top:0.5em solid $maincolor;}
  241. // // }
  242. // }
  243. // @media #{$medium-up}{
  244. // &:hover{
  245. // li{
  246. // height:1.1em; transition: height 0.5s ease-out;
  247. // &:hover span{
  248. // // border-bottom: 1px solid #000;
  249. // text-decoration: underline;
  250. // }
  251. // }
  252. // }
  253. // }
  254. // }
  255. // #right-nav{
  256. // text-align: right;
  257. // // margin-left: -0.1rem;
  258. // line-height:0.5;
  259. // a{@include fontnormal;}
  260. // a:hover{@include fontnormal; text-decoration: underline;}
  261. // }
  262. div.line{
  263. // position: absolute;
  264. bottom: 0;
  265. height: 1px;
  266. // width: 100%;
  267. // box-sizing: border-box;
  268. content:" ";
  269. border-bottom: 1px solid $secondcolor;
  270. }
  271. }
  272. /*
  273. _____ _
  274. / ____| | |
  275. | | ___ _ __ | |_ ___ _ __
  276. | | / _ \ '_ \| __/ _ \ '__|
  277. | |___| __/ | | | || __/ |
  278. \_____\___|_| |_|\__\___|_|
  279. */
  280. @mixin catlist {
  281. // line-height: 0.5;
  282. // outline: 1px solid red;
  283. margin:0;
  284. ul{
  285. margin: 0;
  286. line-height: 1.2;
  287. // outline: 1px solid blue;
  288. li{
  289. // line-height: 0.5;
  290. // outline: 1px solid green;
  291. position: relative;
  292. display: inline-block;
  293. // line-height: $catRadius;
  294. min-width:$catRadius;
  295. // height:$catRadius;
  296. margin-right: -0.2em;
  297. a{
  298. // outline: 1px solid purple;
  299. display: block;
  300. overflow: hidden;
  301. white-space: nowrap;
  302. font-size: 0;
  303. max-width: 15px;
  304. transition: max-width 0.3s ease-in-out;
  305. &:not(.active):before{
  306. content:"";
  307. opacity: 1;
  308. position: relative;
  309. display:inline-block;
  310. vertical-align: middle;
  311. border-width: 3px;
  312. border-style: solid;
  313. // line-height: $catRadius;
  314. width:$catRadius; height:$catRadius;
  315. border-radius: $catRadius/2;
  316. // line-height: 10px;
  317. }
  318. &.active:before{
  319. content: "\d7"; /* use the hex value here... \274c */
  320. // font-weight: bold;
  321. font-size: 35px;
  322. line-height: 0.4;
  323. width:$catRadius; height:$catRadius;
  324. position: relative;
  325. display:inline-block;
  326. vertical-align: middle;
  327. // outline: 1px solid red;
  328. color: #000;
  329. }
  330. &.tag-1:before{ border-color: $cat1; color:$cat1; }
  331. &.tag-2:before{ border-color: $cat2; color:$cat2; }
  332. &.tag-3:before{ border-color: $cat3; color:$cat3; }
  333. &.tag-4:before{ border-color: $cat4; color:$cat4; }
  334. &.tag-5:before{ border-color: $cat5; color:$cat5; }
  335. &.tag-6:before{ border-color: $cat6; color:$cat6; }
  336. &.tag-7:before{ border-color: $cat7; color:$cat7; }
  337. &.tag-8:before{ border-color: $cat8; color:$cat8; }
  338. span{
  339. // outline: 1px solid orange;
  340. display: inline-block;
  341. vertical-align: middle;
  342. letter-spacing: normal;
  343. font-size: 11px;
  344. font-weight: 300;
  345. // line-height: 2;
  346. background-color: #fff;
  347. white-space: nowrap;
  348. opacity: 0;
  349. transition: opacity 0.3s ease-in-out;
  350. padding:1px 5px 0 1px;
  351. }
  352. // &:hover{
  353. // max-width:300px;
  354. // span{
  355. // opacity: 1;
  356. // }
  357. // }
  358. }
  359. }
  360. }
  361. }
  362. div#center{
  363. padding-top:$centerpaddingtop;
  364. padding-bottom: $centerpaddingbottom;
  365. .columns{
  366. padding: 0;
  367. }
  368. p{
  369. line-height:1.5;
  370. position:relative;
  371. @include fontnormal;
  372. span.stab{
  373. display:inline-block; position:relative;
  374. font-weight:bold;
  375. }
  376. a{
  377. text-decoration: underline;
  378. }
  379. }
  380. /*
  381. * LIST PROJET
  382. */
  383. .projet-block{
  384. padding:0.7em 0.7em 2em;
  385. text-align: left;
  386. nav.categories{
  387. @include catlist;
  388. }
  389. a.image-link{
  390. display: block;
  391. overflow: hidden;
  392. img{
  393. transition: transform 0.4s ease-out;
  394. // &:hover{
  395. // transition: transform 0.2s ease-in-out;
  396. // transform-origin: center;
  397. // transform: scale(1.2);
  398. // }
  399. }
  400. }
  401. header{
  402. position:relative;
  403. // margin-top:0;padding-top:0;
  404. margin-top: -3em; padding-top: 3.5em; padding-bottom: 0.7em;
  405. // transition:background-color 0.3s ease-in;
  406. }
  407. header>*{
  408. font-family: $font;
  409. // text-align: center;
  410. padding:0; margin:0;
  411. }
  412. h1{
  413. @include fontbold;
  414. color: $maincolor;
  415. transition: color 0.4s ease-out;
  416. margin:0.4em 0 0.5em 0;
  417. line-height: 1.6;
  418. height:auto;
  419. span.date{
  420. font-weight: 200;
  421. border-left: 1px solid $maincolor;
  422. transition: border-left-color 0.4s ease-out;
  423. padding:0.2em 0 0 0.5em;
  424. margin-left: 0.2em;
  425. }
  426. }
  427. h2{
  428. @include fontnormal;
  429. margin:0.4em 0 0;
  430. line-height: 1;
  431. a{color: $maincolor;}
  432. }
  433. &.projet-block-text{
  434. text-align: left;
  435. h1{margin-bottom: 0.3em;}
  436. h2{
  437. // font-weight:bold;
  438. @include fontbold;
  439. margin-bottom: 0.3em;
  440. }
  441. }
  442. &:hover{
  443. nav.categories a{
  444. max-width:300px;
  445. span{
  446. opacity: 1;
  447. }
  448. }
  449. a.image-link img{
  450. transition: transform 0.3s ease-out;
  451. transform-origin: center;
  452. transform: scale(1.2);
  453. }
  454. header h1, header h2 a{
  455. color:$secondcolor;
  456. transition: color 0.2s ease-in-out;
  457. }
  458. header h1 span.date{
  459. border-left-color: $secondcolor;
  460. transition: border-left-color 0.2s ease-in-out;
  461. }
  462. }
  463. }
  464. /*
  465. * PAGE PROJET
  466. */
  467. .projet{
  468. .row{margin:0;}
  469. nav.categories{
  470. @include catlist;
  471. padding:0.7em 0.7em 0;
  472. ul li a{
  473. max-width: 500px;
  474. span{
  475. opacity:1;
  476. }
  477. }
  478. }
  479. h1{
  480. @include fontbold;
  481. color: $maincolor;
  482. margin:0.4em 0 0.5em 0;
  483. padding:0 0.7em;
  484. line-height: 1.6;
  485. height:auto;
  486. span.date{
  487. font-weight: 200;
  488. border-left: 1px solid $maincolor;
  489. padding:0.2em 0 0 0.5em;
  490. margin-left: 0.2em;
  491. }
  492. }
  493. h2{
  494. @include fontnormal;
  495. margin:0.3em 0 0.7em;
  496. padding:0 0.7em;
  497. line-height: 1;
  498. color:$maincolor;
  499. a{color: $maincolor;}
  500. }
  501. p{padding:0 0.7em 0.7em; margin:0;}
  502. #images{
  503. max-width: 100%;
  504. // .row{margin:0;}
  505. // .block{padding:0.7em;}
  506. letter-spacing: 0px;
  507. a{
  508. // box-sizing: 100%;
  509. max-width: calc(100% - 1em);
  510. letter-spacing: normal;
  511. display: inline-block;
  512. margin:0.4em 0 0 0.5em;
  513. overflow: hidden;
  514. &:hover img{
  515. transition: transform 0.4s ease-out;
  516. transform-origin: center;
  517. transform: scale(1.2);
  518. }
  519. }
  520. }
  521. img{
  522. // width:100%;
  523. // max-width:100%;
  524. height:300px;
  525. transition: transform 0.4s ease-out;
  526. @media #{$small-only}{
  527. max-width: 100%;
  528. height: auto;
  529. }
  530. }
  531. }
  532. .default{
  533. >*{padding-left:0.7em;padding-right:0.7em;}
  534. }
  535. // body.projet{
  536. // nav.categories{
  537. // ul.tags li a:hover span{
  538. // text-decoration: underline;
  539. // }
  540. // }
  541. // }
  542. /*
  543. * Catégories
  544. */
  545. // body
  546. nav.categories{
  547. margin: 1em 0 0;
  548. ul.tags{
  549. margin:0; padding:0; text-align:center;
  550. li{
  551. list-style: none; display:inline-block;
  552. margin:0 0.3em;
  553. a{
  554. display:block;
  555. // &:hover{text-decoration: underline;}
  556. &:not(.active):before{
  557. content:"";
  558. opacity: 1;
  559. position: relative;
  560. display:inline-block;
  561. vertical-align: middle;
  562. border-width: 3px;
  563. border-style: solid;
  564. // line-height: $catRadius;
  565. width:$catRadius; height:$catRadius;
  566. border-radius: $catRadius/2;
  567. }
  568. &.active:before{
  569. content: "\d7"; /* use the hex value here... \274c */
  570. // font-weight: bold;
  571. font-size: 35px;
  572. line-height: 0.4;
  573. width:$catRadius; height:$catRadius;
  574. position: relative;
  575. display:inline-block;
  576. vertical-align: middle;
  577. // outline: 1px solid red;
  578. color: #000;
  579. }
  580. &.tag-1:before{ border-color: $cat1; color:$cat1; }
  581. &.tag-2:before{ border-color: $cat2; color:$cat2; }
  582. &.tag-3:before{ border-color: $cat3; color:$cat3; }
  583. &.tag-4:before{ border-color: $cat4; color:$cat4; }
  584. &.tag-5:before{ border-color: $cat5; color:$cat5; }
  585. &.tag-6:before{ border-color: $cat6; color:$cat6; }
  586. &.tag-7:before{ border-color: $cat7; color:$cat7; }
  587. &.tag-8:before{ border-color: $cat8; color:$cat8; }
  588. }
  589. span{
  590. @include fontnormal;
  591. display:inline-block;
  592. vertical-align: middle;
  593. padding:1px 5px 0 1px;
  594. }
  595. &.active span{
  596. // display:inline-block;
  597. // position:relative;
  598. // font-weight: bold;
  599. // @include fontbold;
  600. // border-bottom: 1px solid #000;
  601. // line-height: 0.2;
  602. // &:after{
  603. // content: ""; height:0;
  604. // display: block; margin-top:-0.2em; margin-bottom:0.2em;
  605. // border-top:0.5em solid $maincolor;}
  606. }
  607. }
  608. }
  609. }
  610. // #diaporama{
  611. // position:relative;
  612. // height:20vw;
  613. // margin:0 0 1.5em;
  614. // >*{
  615. // position:absolute; top:0; left:0;
  616. // height:100%; width:100%;
  617. // text-align: center;
  618. // opacity:0;
  619. // transition: opacity 0.2s ease-in;
  620. // &.visible{opacity:1;}
  621. //
  622. // img{height:100%;}
  623. // }
  624. // }
  625. // .client-block{
  626. // margin:0 0 1em;
  627. // padding:0.7em;
  628. // h3{
  629. // @include fontbold;
  630. // line-height:0.6; display:inline-block; position:relative;
  631. // margin:0; padding:0;
  632. // // $maincolor overline
  633. // // &:after{
  634. // // content: "";
  635. // // display: block; margin-top:-.5em; margin-bottom:.5em;
  636. // // border-top:0.5em solid $maincolor;
  637. // // transition:border-color 0.3s ease-in;
  638. // // }
  639. // }
  640. // h4{
  641. // margin:0;
  642. // @include fontnormal;
  643. // a:hover{text-decoration: underline;}
  644. // }
  645. //
  646. // }
  647. }
  648. /*
  649. _ _ _
  650. (_) | | | |
  651. _ __ ___ ___ _ __ ___ _ __ ___ ___ _____ | | __ _ _ _ ___ _ _| |_
  652. | '__/ _ \/ __| '_ \ / _ \| '_ \/ __| \ \ / / _ \ | |/ _` | | | |/ _ \| | | | __|
  653. | | | __/\__ \ |_) | (_) | | | \__ \ |\ V / __/ | | (_| | |_| | (_) | |_| | |_
  654. |_| \___||___/ .__/ \___/|_| |_|___/_| \_/ \___| |_|\__,_|\__, |\___/ \__,_|\__|
  655. | | __/ |
  656. |_| |___/
  657. */
  658. @media #{$small-only}{
  659. header#top-bar{
  660. &:before{
  661. padding-bottom: $headerpaddingtopH*0.3;
  662. }
  663. #title-area{
  664. height:$titleareaH - 3em;
  665. // padding-top: $headerpaddingtopH;
  666. h1{
  667. height:100%;
  668. min-height:($titleareaH - 7em)*0.8;
  669. a{display: block;
  670. height:$logoH - 3em;
  671. // height:100%;
  672. }
  673. a:before{
  674. $r: 60px;
  675. width:$r; height:$r;
  676. border-radius: $r/2;
  677. border-width: $r/5.5;
  678. }
  679. }
  680. }
  681. &.reduced{
  682. #title-area{
  683. height:($titleareaH - 3.1em)*$titleReducedFactor;
  684. // overflow: hidden;
  685. h1{
  686. font-size: 0.65em;
  687. a:before{
  688. $r: 30px;
  689. width:$r; height:$r;
  690. border-radius: $r/2;
  691. border-width: $r/5.5;
  692. }
  693. }
  694. }
  695. }
  696. // .nav{
  697. // position:absolute;
  698. // top:$headerborderH+$headerpaddingtopH*0.5;
  699. // height:auto;
  700. // }
  701. // #left-nav{left:0;}
  702. // #right-nav{right:0;}
  703. }
  704. div#center{
  705. padding-top:$centerpaddingtop - 3.1em;
  706. padding-bottom: $centerpaddingbottom;
  707. }
  708. body.categories{
  709. a.projet-img{
  710. display:none;
  711. }
  712. }
  713. }
  714. /*
  715. __ _
  716. / _| | |
  717. | |_ ___ ___ | |_ ___ _ __
  718. | _/ _ \ / _ \| __/ _ \ '__|
  719. | || (_) | (_) | || __/ |
  720. |_| \___/ \___/ \__\___|_|
  721. */
  722. footer#bottom-bar{
  723. position:absolute; bottom:0;
  724. width:100%; height:$footerheight;
  725. background-color: $maincolor;
  726. transition: background-color 0.4s ease-out;
  727. color: white;
  728. text-align: center;
  729. padding:0.5em 0;
  730. // margin: 5vh 0 0;
  731. &:hover{
  732. background-color: $secondcolor;
  733. transition: background-color 0.2s ease-in-out;
  734. }
  735. h1{
  736. @include fontbold; height:auto; display:inline-block; position:relative; margin:0;
  737. color: inherit;
  738. font-size: 0.75em;
  739. a{
  740. font-weight: inherit;
  741. color: inherit;
  742. }
  743. // &:after{
  744. // content: ""; height:0;
  745. // display: block; margin-top:-.9em; margin-bottom:1em;
  746. // border-top:0.5em solid #fff;
  747. // transition:border-color 0.3s ease-in;}
  748. }
  749. address{
  750. // font-size: 1em; font-weight: normal;
  751. @include fontnormal;
  752. font-size: 0.6em;
  753. margin:-0.7em 0 0; line-height: 1.1; font-style: normal;
  754. a{text-decoration: underline;}
  755. }
  756. ul.footer-menu{
  757. text-align: center;
  758. li{
  759. display:inline-block;
  760. a{
  761. font-size: 0.6em;
  762. }
  763. }
  764. }
  765. }
  766. div.featherlight:last-of-type{
  767. background-color: rgba(255,255,255,0.9);
  768. div.featherlight-content{
  769. background: none;
  770. span.featherlight-next, span.featherlight-previous{
  771. // left:90%;
  772. // outline: 1px solid red;
  773. &:hover{
  774. background: none;
  775. }
  776. span{
  777. // outline: 1px solid green;
  778. color:$maincolor;
  779. text-shadow: none;
  780. visibility: hidden;
  781. position: relative;
  782. left:0; right:0;
  783. width:100%;
  784. &:after{
  785. // outline: 1px solid purple;
  786. content:">";
  787. display: block;
  788. visibility: visible;
  789. position: absolute;
  790. top:0; width:100%;
  791. text-align: right;
  792. padding:0 0.5em;
  793. // @include font;
  794. font-weight: 500;
  795. font-size: 1.2em;
  796. }
  797. }
  798. }
  799. span.featherlight-previous{
  800. // left:25px;
  801. // right:90%;
  802. span{
  803. &:after{
  804. content:"<";
  805. text-align: left;
  806. }
  807. }
  808. }
  809. }
  810. }