styles.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  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: 1.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. padding-bottom: 0.2em;
  389. }
  390. a.image-link{
  391. display: block;
  392. overflow: hidden;
  393. img{
  394. transition: transform 0.4s ease-out;
  395. // &:hover{
  396. // transition: transform 0.2s ease-in-out;
  397. // transform-origin: center;
  398. // transform: scale(1.2);
  399. // }
  400. }
  401. }
  402. header{
  403. position:relative;
  404. // margin-top:0;padding-top:0;
  405. margin-top: -3em; padding-top: 3.5em; padding-bottom: 0.7em;
  406. // transition:background-color 0.3s ease-in;
  407. }
  408. header>*{
  409. font-family: $font;
  410. // text-align: center;
  411. padding:0; margin:0;
  412. }
  413. h1{
  414. @include fontbold;
  415. color: $maincolor;
  416. transition: color 0.4s ease-out;
  417. margin:0.4em 0 0.5em 0;
  418. line-height: 1.6;
  419. height:auto;
  420. span.date{
  421. font-weight: 200;
  422. border-left: 1px solid $maincolor;
  423. transition: border-left-color 0.4s ease-out;
  424. padding:0.2em 0 0 0.5em;
  425. margin-left: 0.2em;
  426. }
  427. }
  428. h2{
  429. @include fontnormal;
  430. margin:0.4em 0 0;
  431. line-height: 1;
  432. a{color: $maincolor;}
  433. }
  434. &.projet-block-text{
  435. text-align: left;
  436. h1{margin-bottom: 0.3em;}
  437. h2{
  438. // font-weight:bold;
  439. @include fontbold;
  440. margin-bottom: 0.3em;
  441. }
  442. }
  443. &:hover{
  444. nav.categories a{
  445. max-width:300px;
  446. span{
  447. opacity: 1;
  448. }
  449. }
  450. a.image-link img{
  451. transition: transform 0.3s ease-out;
  452. transform-origin: center;
  453. transform: scale(1.2);
  454. }
  455. header h1, header h2 a{
  456. color:$secondcolor;
  457. transition: color 0.2s ease-in-out;
  458. }
  459. header h1 span.date{
  460. border-left-color: $secondcolor;
  461. transition: border-left-color 0.2s ease-in-out;
  462. }
  463. }
  464. }
  465. /*
  466. * PAGE PROJET
  467. */
  468. .projet{
  469. .row{margin:0;}
  470. nav.categories{
  471. @include catlist;
  472. padding:0.7em 0.7em 0;
  473. ul li a{
  474. max-width: 500px;
  475. span{
  476. opacity:1;
  477. }
  478. }
  479. }
  480. h1{
  481. @include fontbold;
  482. color: $maincolor;
  483. margin:0.4em 0 0.5em 0;
  484. padding:0 0.7em;
  485. line-height: 1.6;
  486. height:auto;
  487. span.date{
  488. font-weight: 200;
  489. border-left: 1px solid $maincolor;
  490. padding:0.2em 0 0 0.5em;
  491. margin-left: 0.2em;
  492. }
  493. }
  494. h2{
  495. @include fontnormal;
  496. margin:0.3em 0 0.7em;
  497. padding:0 0.7em;
  498. line-height: 1;
  499. color:$maincolor;
  500. a{color: $maincolor;}
  501. }
  502. p{padding:0 0.7em 0.7em; margin:0;}
  503. #images{
  504. max-width: 100%;
  505. // .row{margin:0;}
  506. // .block{padding:0.7em;}
  507. letter-spacing: 0px;
  508. a{
  509. // box-sizing: 100%;
  510. max-width: calc(100% - 1em);
  511. letter-spacing: normal;
  512. display: inline-block;
  513. margin:0.4em 0 0 0.5em;
  514. overflow: hidden;
  515. &:hover img{
  516. transition: transform 0.4s ease-out;
  517. transform-origin: center;
  518. transform: scale(1.2);
  519. }
  520. }
  521. }
  522. img{
  523. // width:100%;
  524. // max-width:100%;
  525. height:300px;
  526. transition: transform 0.4s ease-out;
  527. @media #{$small-only}{
  528. max-width: 100%;
  529. height: auto;
  530. }
  531. }
  532. }
  533. .default{
  534. >*{padding-left:0.7em;padding-right:0.7em;}
  535. }
  536. // body.projet{
  537. // nav.categories{
  538. // ul.tags li a:hover span{
  539. // text-decoration: underline;
  540. // }
  541. // }
  542. // }
  543. /*
  544. * Catégories
  545. */
  546. // body
  547. nav.categories{
  548. margin: 1em 0 0;
  549. ul.tags{
  550. margin:0; padding:0; text-align:center;
  551. li{
  552. list-style: none; display:inline-block;
  553. margin:0 0.3em;
  554. a{
  555. display:block;
  556. // &:hover{text-decoration: underline;}
  557. &:not(.active):before{
  558. content:"";
  559. opacity: 1;
  560. position: relative;
  561. display:inline-block;
  562. vertical-align: middle;
  563. border-width: 3px;
  564. border-style: solid;
  565. // line-height: $catRadius;
  566. width:$catRadius; height:$catRadius;
  567. border-radius: $catRadius/2;
  568. }
  569. &.active:before{
  570. content: "\d7"; /* use the hex value here... \274c */
  571. // font-weight: bold;
  572. font-size: 35px;
  573. line-height: 0.4;
  574. width:$catRadius; height:$catRadius;
  575. position: relative;
  576. display:inline-block;
  577. vertical-align: middle;
  578. // outline: 1px solid red;
  579. color: #000;
  580. }
  581. &.tag-1:before{ border-color: $cat1; color:$cat1; }
  582. &.tag-2:before{ border-color: $cat2; color:$cat2; }
  583. &.tag-3:before{ border-color: $cat3; color:$cat3; }
  584. &.tag-4:before{ border-color: $cat4; color:$cat4; }
  585. &.tag-5:before{ border-color: $cat5; color:$cat5; }
  586. &.tag-6:before{ border-color: $cat6; color:$cat6; }
  587. &.tag-7:before{ border-color: $cat7; color:$cat7; }
  588. &.tag-8:before{ border-color: $cat8; color:$cat8; }
  589. }
  590. span{
  591. @include fontnormal;
  592. display:inline-block;
  593. vertical-align: middle;
  594. padding:1px 5px 0 1px;
  595. }
  596. &.active span{
  597. // display:inline-block;
  598. // position:relative;
  599. // font-weight: bold;
  600. // @include fontbold;
  601. // border-bottom: 1px solid #000;
  602. // line-height: 0.2;
  603. // &:after{
  604. // content: ""; height:0;
  605. // display: block; margin-top:-0.2em; margin-bottom:0.2em;
  606. // border-top:0.5em solid $maincolor;}
  607. }
  608. }
  609. }
  610. }
  611. // #diaporama{
  612. // position:relative;
  613. // height:20vw;
  614. // margin:0 0 1.5em;
  615. // >*{
  616. // position:absolute; top:0; left:0;
  617. // height:100%; width:100%;
  618. // text-align: center;
  619. // opacity:0;
  620. // transition: opacity 0.2s ease-in;
  621. // &.visible{opacity:1;}
  622. //
  623. // img{height:100%;}
  624. // }
  625. // }
  626. // .client-block{
  627. // margin:0 0 1em;
  628. // padding:0.7em;
  629. // h3{
  630. // @include fontbold;
  631. // line-height:0.6; display:inline-block; position:relative;
  632. // margin:0; padding:0;
  633. // // $maincolor overline
  634. // // &:after{
  635. // // content: "";
  636. // // display: block; margin-top:-.5em; margin-bottom:.5em;
  637. // // border-top:0.5em solid $maincolor;
  638. // // transition:border-color 0.3s ease-in;
  639. // // }
  640. // }
  641. // h4{
  642. // margin:0;
  643. // @include fontnormal;
  644. // a:hover{text-decoration: underline;}
  645. // }
  646. //
  647. // }
  648. }
  649. /*
  650. _ _ _
  651. (_) | | | |
  652. _ __ ___ ___ _ __ ___ _ __ ___ ___ _____ | | __ _ _ _ ___ _ _| |_
  653. | '__/ _ \/ __| '_ \ / _ \| '_ \/ __| \ \ / / _ \ | |/ _` | | | |/ _ \| | | | __|
  654. | | | __/\__ \ |_) | (_) | | | \__ \ |\ V / __/ | | (_| | |_| | (_) | |_| | |_
  655. |_| \___||___/ .__/ \___/|_| |_|___/_| \_/ \___| |_|\__,_|\__, |\___/ \__,_|\__|
  656. | | __/ |
  657. |_| |___/
  658. */
  659. @media #{$small-only}{
  660. header#top-bar{
  661. &:before{
  662. padding-bottom: $headerpaddingtopH*0.3;
  663. }
  664. #title-area{
  665. height:$titleareaH - 3em;
  666. // padding-top: $headerpaddingtopH;
  667. h1{
  668. height:100%;
  669. min-height:($titleareaH - 7em)*0.8;
  670. a{display: block;
  671. height:$logoH - 3em;
  672. // height:100%;
  673. }
  674. a:before{
  675. $r: 60px;
  676. width:$r; height:$r;
  677. border-radius: $r/2;
  678. border-width: $r/5.5;
  679. }
  680. }
  681. }
  682. &.reduced{
  683. #title-area{
  684. height:($titleareaH - 3.1em)*$titleReducedFactor;
  685. // overflow: hidden;
  686. h1{
  687. font-size: 0.65em;
  688. a:before{
  689. $r: 30px;
  690. width:$r; height:$r;
  691. border-radius: $r/2;
  692. border-width: $r/5.5;
  693. }
  694. }
  695. }
  696. }
  697. // .nav{
  698. // position:absolute;
  699. // top:$headerborderH+$headerpaddingtopH*0.5;
  700. // height:auto;
  701. // }
  702. // #left-nav{left:0;}
  703. // #right-nav{right:0;}
  704. }
  705. div#center{
  706. padding-top:$centerpaddingtop - 3.1em;
  707. padding-bottom: $centerpaddingbottom;
  708. }
  709. body.categories{
  710. a.projet-img{
  711. display:none;
  712. }
  713. }
  714. }
  715. /*
  716. __ _
  717. / _| | |
  718. | |_ ___ ___ | |_ ___ _ __
  719. | _/ _ \ / _ \| __/ _ \ '__|
  720. | || (_) | (_) | || __/ |
  721. |_| \___/ \___/ \__\___|_|
  722. */
  723. footer#bottom-bar{
  724. position:fixed; bottom:0;
  725. width:100%; height:$footerheight;
  726. background-color: $maincolor;
  727. transition: background-color 0.4s ease-out;
  728. color: white;
  729. text-align: center;
  730. padding:0 0;
  731. // margin: 5vh 0 0;
  732. &:hover{
  733. background-color: $secondcolor;
  734. transition: background-color 0.2s ease-in-out;
  735. }
  736. // h1{
  737. // display: inline-block; vertical-align:middle;
  738. // @include fontbold; height:auto; display:inline-block; position:relative; margin:0;
  739. // color: inherit;font-size: 0.75em;
  740. // a{font-weight: inherit;color: inherit;}
  741. // margin-right:1em;
  742. // }
  743. address{
  744. display: inline-block; vertical-align:baseline;
  745. // font-size: 1em; font-weight: normal;
  746. @include fontnormal;
  747. font-size: 0.6em;
  748. margin:0 0;
  749. // a{
  750. // line-height: 1.5;
  751. // }
  752. font-style: normal;
  753. // a{text-decoration: underline;}
  754. margin-right:1em;
  755. &:after{
  756. content:"-";
  757. margin-left: 1em;
  758. }
  759. }
  760. ul.footer-menu{
  761. display: inline-block; vertical-align:baseline;
  762. text-align: center;
  763. // line-height: 1;
  764. li{
  765. display:inline-block;
  766. // vertical-align:middle;
  767. a{
  768. font-size: 0.6em;
  769. }
  770. }
  771. }
  772. }
  773. div.featherlight:last-of-type{
  774. background-color: rgba(255,255,255,0.9);
  775. div.featherlight-content{
  776. background: none;
  777. span.featherlight-next, span.featherlight-previous{
  778. // left:90%;
  779. // outline: 1px solid red;
  780. &:hover{
  781. background: none;
  782. }
  783. span{
  784. // outline: 1px solid green;
  785. color:$maincolor;
  786. text-shadow: none;
  787. visibility: hidden;
  788. position: relative;
  789. left:0; right:0;
  790. width:100%;
  791. &:after{
  792. // outline: 1px solid purple;
  793. content:">";
  794. display: block;
  795. visibility: visible;
  796. position: absolute;
  797. top:0; width:100%;
  798. text-align: right;
  799. padding:0 0.5em;
  800. // @include font;
  801. font-weight: 500;
  802. font-size: 1.2em;
  803. }
  804. }
  805. }
  806. span.featherlight-previous{
  807. // left:25px;
  808. // right:90%;
  809. span{
  810. &:after{
  811. content:"<";
  812. text-align: left;
  813. }
  814. }
  815. }
  816. }
  817. }