main.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979
  1. @import './base/reset';
  2. @import './base/variables';
  3. @import './base/colors';
  4. @import './base/grid';
  5. @import './base/layout';
  6. @import './base/animations';
  7. @import './base/fonts';
  8. html{
  9. // background-color: red;
  10. }
  11. aside.messages{
  12. border:none;
  13. }
  14. // _ _ _
  15. // | || |___ __ _ __| |___ _ _
  16. // | __ / -_) _` / _` / -_) '_|
  17. // |_||_\___\__,_\__,_\___|_|
  18. header[role="banner"]{
  19. padding:0.2em 0 0 0;
  20. %header-fs{
  21. font-size: 0.9em;
  22. // line-height: 1;
  23. font-weight: 400;
  24. }
  25. #block-sitebranding{
  26. h1{
  27. margin:0;
  28. line-height: 1;
  29. }
  30. }
  31. #block-userlogin{
  32. position: relative;
  33. // width:8em;
  34. padding:0 1em;
  35. overflow: visible;
  36. h2{
  37. @extend %header-fs;
  38. line-height: 1.38;
  39. margin: 0;
  40. }
  41. &>section{
  42. background-color: #fff;
  43. overflow: hidden;
  44. width:11em;
  45. height:1px;
  46. padding:0.01em 1em;
  47. // margin:0 0 0 -1em;
  48. box-sizing:content-box;
  49. transition: all 0.4s ease-in-out;
  50. // outline: 1px solid blue;
  51. transition-delay: 2s;
  52. position: absolute;
  53. right:0;
  54. top:1.7em;
  55. box-sizing: content-box;
  56. }
  57. &:hover{
  58. &>section{
  59. transition-delay: 0s;
  60. height:12em;
  61. padding:1em 1em;
  62. box-shadow: 0 0 10px #ccc;
  63. }
  64. }
  65. .form-item{
  66. margin:0;
  67. position: relative;
  68. width:100%;
  69. &.form-item-name{
  70. margin:2px 0 0.5em 0;
  71. input{
  72. width:90%;
  73. padding:0;
  74. box-sizing: content-box;
  75. }
  76. }
  77. &.form-item-pass{
  78. margin:0 0 0.5em 0;
  79. input{
  80. width:90%;
  81. padding:0;
  82. box-sizing: content-box;
  83. }
  84. }
  85. &.form-item-persistent-login{
  86. font-size: 0.756em;
  87. label{
  88. vertical-align: top;
  89. }
  90. }
  91. }
  92. #edit-actions{
  93. margin:0;
  94. }
  95. .item-list{
  96. ul{
  97. margin:0;
  98. li{
  99. list-style: none;
  100. margin:0;
  101. a{
  102. font-size: 0.756em;
  103. }
  104. }
  105. }
  106. }
  107. }
  108. // non-vue userblock
  109. #block-userblock{
  110. h2{display:none;}
  111. a{
  112. margin-right: 1em;
  113. }
  114. }
  115. // vue userblock
  116. #user-tools{
  117. padding-top: 0.06em;
  118. h4{
  119. @extend %header-fs;
  120. cursor: pointer;
  121. }
  122. .mdi-logout::before {
  123. margin: -0.125em 0 0 0;
  124. vertical-align: top;
  125. }
  126. }
  127. // vue flaglist
  128. #user-flags{
  129. border-left: 1px solid #000;
  130. padding-left: 0.5em;
  131. margin-left: 0.5em;
  132. display: inline-block;
  133. vertical-align: top;
  134. position: relative;
  135. h2{
  136. @extend %header-fs;
  137. cursor: pointer;
  138. &:before{padding-right: 0.2em;}
  139. }
  140. ul{
  141. background-color: #fff;
  142. overflow: hidden;
  143. width:11em;
  144. max-height:1px;
  145. padding:0.01em 1em;
  146. // margin:0 0 0 -1em;
  147. box-sizing:content-box;
  148. transition: all 0.4s ease-in-out;
  149. // outline: 1px solid blue;
  150. transition-delay: 2s;
  151. position: absolute;
  152. right:0;
  153. top:1.7em;
  154. box-sizing: content-box;
  155. }
  156. &:hover{
  157. ul{
  158. transition-delay: 0s;
  159. max-height:12em;
  160. padding:1em 1em;
  161. box-shadow: 0 0 10px #ccc;
  162. }
  163. }
  164. li{
  165. width:100%;
  166. // cursor: pointer;
  167. display: flex;
  168. flex-direction: row;
  169. align-items: baseline;
  170. flex-wrap: nowrap;
  171. h5{
  172. @extend %header-fs;
  173. cursor: pointer;
  174. }
  175. span.mdi{
  176. font-size: 0.9em;
  177. }
  178. div.actions{
  179. opacity:0;
  180. transition: opacity 0.3s ease-in-out;
  181. padding-left:0.5em;
  182. span.mdi{
  183. cursor: pointer;
  184. color: #4e4d4d;
  185. }
  186. span.delete-btn{
  187. &.loading:before{
  188. animation: rotating 2s linear infinite;
  189. }
  190. }
  191. }
  192. &:hover{
  193. div.actions{
  194. opacity:1;
  195. }
  196. }
  197. &.create-flag{
  198. margin-top: 0.2em;
  199. input{
  200. align-self: flex-end;
  201. border: 1px solid #bbb;
  202. border-radius:5px;
  203. width: calc(100% - 2em);
  204. font-size:0.8em;
  205. }
  206. span.add-btn{
  207. align-self: flex-end;
  208. color: #bbb;
  209. font-size: 1em;
  210. padding: 0 0 0 .5em;
  211. transition: all 0.2s ease-in-out;
  212. &.active{
  213. cursor: pointer;
  214. color:#1a1a1a;
  215. }
  216. &.loading:before{
  217. animation: rotating 2s linear infinite;
  218. }
  219. }
  220. }
  221. }
  222. }
  223. // menu
  224. #block-header{
  225. margin-right: 1em;
  226. padding-left: 1em;
  227. border-left: 1px solid #000;
  228. ul.menu{
  229. margin:0;
  230. li{
  231. padding:0;
  232. display: inline-block;
  233. &:not(:first-of-type){
  234. margin-left: 0.5em;
  235. }
  236. a{
  237. @extend %header-fs;
  238. }
  239. }
  240. }
  241. }
  242. #block-languageswitcher{
  243. text-align: right;
  244. h2{
  245. margin: 0.1em 0 0 0;
  246. font-size: 0.756em;
  247. font-weight: 400;
  248. padding:0.1em 0.4em 0.2em;
  249. border-radius: 3px;
  250. background-color: #444;
  251. color: #fff;
  252. display: inline-block;
  253. vertical-align: top;
  254. }
  255. &>ul.links{
  256. // background-color: #fff;
  257. overflow: hidden;
  258. width:3.5em;
  259. // display: inline-block;
  260. height:1px;
  261. padding:0.01em 0;
  262. margin:0;
  263. box-sizing:content-box;
  264. transition: all 0.4s ease-in-out;
  265. // outline: 1px solid blue;
  266. // transition-delay: 2s;
  267. }
  268. &:hover{
  269. &>ul.links{
  270. transition-delay: 0s;
  271. height:2em;
  272. padding:0.3em 0;
  273. // box-shadow: 0 0 10px #ccc;
  274. }
  275. }
  276. li{
  277. list-style: none;
  278. padding:0;
  279. display: inline-block;
  280. &.is-active{
  281. display:none;
  282. }
  283. a{
  284. margin: 0;
  285. font-size: 0.756em;
  286. font-weight: 400;
  287. padding:0.2em 0.4em;
  288. border-radius: 3px;
  289. background-color: #444;
  290. color: #fff;
  291. }
  292. }
  293. }
  294. // header bottom
  295. #block-pagetitle{
  296. float: left;
  297. padding:1em 0;
  298. h2{
  299. margin:0;
  300. font-size: 1.512em;
  301. text-transform: capitalize;
  302. font-weight: 300;
  303. body:not(.path-home) & {
  304. padding:0.5em 1em;
  305. }
  306. body.path-blabla & {
  307. color: #fff;
  308. background-color: $color-blabla;
  309. }
  310. body.path-showrooms & {
  311. color: #fff;
  312. background-color: $color-showrooms;
  313. }
  314. body.path-base & {
  315. color: #fff;
  316. background-color: $color-base;
  317. }
  318. }
  319. }
  320. #block-materiosapisearchblock{
  321. float:right;
  322. display:inline-block;
  323. // box-shadow: 0 0 5px rgba(0,0,0,0.2);
  324. padding:0;
  325. #materio-sapi-search-form{
  326. .form-item, input.button{
  327. display: inline-block;
  328. }
  329. #edit-search{
  330. border:1px #BBB solid;
  331. border-radius: 14px;
  332. padding:0.3em;
  333. color:#666;
  334. }
  335. #edit-submit{
  336. border:0;
  337. text-indent: 50px;
  338. overflow: hidden;
  339. width:20px; height:20px;
  340. margin:0;
  341. // border-radius: 7px;
  342. background-image: url('../img/search.png');
  343. background-position: center;
  344. background-repeat: no-repeat;
  345. background-size: contain;
  346. }
  347. }
  348. }
  349. }
  350. // main
  351. aside.messages{
  352. padding: 0;
  353. }
  354. // content top
  355. // #content-top{
  356. // &:after{
  357. // content:"";
  358. // clear:both;
  359. // display: block;
  360. // }
  361. // }
  362. // ___ _ _ _ __ _
  363. // / __|___ _ _| |_ ___ _ _| |_ ___| | ___ / _| |_
  364. // | (__/ _ \ ' \ _/ -_) ' \ _|___| |__/ -_) _| _|
  365. // \___\___/_||_\__\___|_||_\__| |____\___|_| \__|
  366. #content-left{
  367. z-index: 5;
  368. box-sizing: content-box;
  369. max-width:1px;
  370. overflow-x: hidden;
  371. transition: all 0.3s ease-in-out;
  372. &.opened{
  373. max-width: 500px;
  374. padding: 0.3em;
  375. }
  376. >*{
  377. box-sizing: border-box;
  378. background-color: #fff;
  379. box-shadow: -2px 0px 4px rgba(0, 0, 0, 0.2);
  380. padding: 0.5em;
  381. }
  382. .flag-collection{
  383. >header{
  384. display: flex;
  385. flex-direction: row;
  386. justify-content: space-between;
  387. h3{
  388. // flex-basis: calc(100% - 1em);
  389. }
  390. .mdi-close{
  391. // display: block;
  392. // flex-basis: 1em;
  393. cursor:pointer;
  394. align-self: flex-end;
  395. }
  396. }
  397. >ul{
  398. >li{
  399. margin:0 0 $column_goutiere 0;
  400. padding:0;
  401. article.card.minicard{
  402. width:100%;
  403. >header{
  404. padding: 0.3em 0.3em 0.1em;
  405. h1{
  406. margin:0;
  407. }
  408. }
  409. >nav.tools{
  410. padding:0 0.2em;
  411. }
  412. }
  413. }
  414. }
  415. }
  416. }
  417. // __ _
  418. // / _|_ _ ___ _ _| |_
  419. // | _| '_/ _ \ ' \ _|
  420. // |_| |_| \___/_||_\__|
  421. article.node--type-frontpage{
  422. %front-col-field__label{
  423. font-size: 3.5em;
  424. line-height: 1;
  425. }
  426. %front-col-descritpion{
  427. font-size: 0.9em;
  428. line-height: 1.3;
  429. }
  430. %part-centered-layout{
  431. padding:1.5em 0;
  432. background-color: #fff;
  433. >div:nth-child(1){
  434. width:80%;
  435. margin: 0 auto;
  436. text-align: center;
  437. .field__label{
  438. @extend %front-col-field__label;
  439. }
  440. .field__item{
  441. @extend %front-col-descritpion;
  442. }
  443. }
  444. }
  445. %part-columned-layout{
  446. display:grid;
  447. grid-template-columns: 300px 1fr;
  448. grid-column-gap: 2em;
  449. padding:2em 1em;
  450. >div:nth-child(1){
  451. color: #fff;
  452. grid-column: 1;
  453. .field__label{
  454. @extend %front-col-field__label;
  455. }
  456. .field__item{
  457. @extend %front-col-descritpion;
  458. }
  459. }
  460. >div:nth-child(2){
  461. grid-column: 2;
  462. }
  463. }
  464. .node__content{
  465. &>section{
  466. &.home-intro{
  467. @extend %part-centered-layout;
  468. }
  469. &.home-database{
  470. background-color: $color-base;
  471. @extend %part-columned-layout;
  472. .field--name-field-a-database{}
  473. .cards-list-home{
  474. position: relative;
  475. // max-height: (130px*1.4)*3;
  476. max-height: 580px;
  477. overflow-y: hidden;
  478. ul{
  479. width:100%;
  480. margin:0; padding:0;
  481. display: grid;
  482. grid-template-columns: repeat(auto-fill, minmax(50px, 130px));
  483. grid-template-rows: 1fr;
  484. grid-gap: 1em;
  485. justify-content:start;
  486. li{
  487. position: relative;
  488. list-style: none;
  489. margin:0; padding:0;
  490. padding-top: 140%;
  491. .card{
  492. position:absolute;
  493. top:0; bottom:0;
  494. left:0; right:0;
  495. width: auto;
  496. height: auto;
  497. .field--name-field-short-description{
  498. font-size: 0.756em;
  499. line-height: 0.9;
  500. }
  501. }
  502. }
  503. }
  504. }
  505. }
  506. &.home-showrooms{
  507. background-color: $color-showrooms;
  508. @extend %part-columned-layout;
  509. .field--name-field-showrooms{
  510. }
  511. .field--name-computed-showrooms-reference{
  512. position:relative;
  513. // height:550px;
  514. display: grid;
  515. grid-template-rows: 1fr;
  516. $bp: ($column_width + $column_goutiere )*7;
  517. @media only screen and (max-width: $bp){
  518. grid-template-columns: 1fr;
  519. >.field__item{
  520. grid-column: 1;
  521. }
  522. }
  523. @media only screen and (min-width: $bp + 1px){
  524. grid-template-columns: 1fr 1fr;
  525. grid-gap: 1em;
  526. >.field__item:nth-child(odd){
  527. grid-column: 1;
  528. }
  529. >.field__item:nth-child(even){
  530. grid-column: 2;
  531. }
  532. }
  533. >.field__item{
  534. grid-row: 1;
  535. // position: absolute;
  536. // top:0; left:0;
  537. // width:100%; height:100%;
  538. // overflow: hidden;
  539. .taxonomy-term{
  540. position: relative;
  541. width:100%; height:100%;
  542. div.visuel{
  543. width:100%;
  544. padding-bottom: 10em;
  545. img{
  546. max-width: 100%;
  547. height: auto;
  548. }
  549. }
  550. section.text{
  551. position: absolute;
  552. bottom:0; left:0;
  553. width:100%;
  554. box-sizing:border-box;
  555. padding:1em 0;
  556. background-color:$color-showrooms;
  557. color: #fff;
  558. >*{
  559. // display: inline-block;
  560. font-size: 0.9em;
  561. }
  562. h2,p{
  563. margin:0;
  564. }
  565. }
  566. }
  567. }
  568. }
  569. }
  570. &.home-blabla{
  571. background-color: $color-blabla;
  572. @extend %part-columned-layout;
  573. .cards-list-home{
  574. position: relative;
  575. $bp: ($column_width*2 + $column_goutiere );
  576. overflow-y: hidden;
  577. @media only screen and (max-width: $bp * 6){
  578. max-height: 630px;
  579. }
  580. @media only screen and (min-width: ($bp * 6) + 1px){
  581. max-height: 310px;
  582. }
  583. ul{
  584. width:100%;
  585. margin:0; padding:0;
  586. display: grid;
  587. grid-template-columns: repeat(auto-fill, minmax(80px, $column_width*2));
  588. // grid-template-rows: 1fr;
  589. grid-gap: 1em;
  590. justify-content:start;
  591. li{
  592. position: relative;
  593. list-style: none;
  594. margin:0; padding:0;
  595. padding-top: 67.8%;
  596. overflow: hidden;
  597. .card{
  598. position:absolute;
  599. top:0; bottom:0;
  600. left:0; right:0;
  601. width: auto;
  602. height: auto;
  603. .field--name-title{
  604. font-size: 0.756em;
  605. line-height: 0.9;
  606. }
  607. }
  608. }
  609. }
  610. }
  611. }
  612. &.home-pricing{
  613. @extend %part-centered-layout;
  614. }
  615. }
  616. }
  617. }
  618. // ___ _
  619. // / __|__ _ _ _ __| |___
  620. // | (__/ _` | '_/ _` (_-<
  621. // \___\__,_|_| \__,_/__/
  622. .infinite-loading-container{
  623. .infinite-status-prompt{
  624. i[class^="loading-"]{
  625. width:15px; height:15px;
  626. }
  627. }
  628. }
  629. .cards-list{
  630. position: relative;
  631. .search-info{
  632. font-size: 0.756em;
  633. font-weight: 500;
  634. margin: 0;
  635. padding: 0 0 0.5em 0;
  636. }
  637. &>ul{
  638. // outline: 1px green solid;
  639. margin:0; padding:0;
  640. width: calc(100% + #{$column_goutiere});
  641. &>li{
  642. list-style: none;
  643. margin:0 $column_goutiere $column_goutiere 0; padding:0;
  644. display: inline-block;
  645. vertical-align: top;
  646. }
  647. }
  648. }
  649. article.card{
  650. position: relative;
  651. box-shadow: 0 0 5px rgba(0,0,0,0.2);
  652. width:$column_width; height:$card_height;
  653. &.article{
  654. width:$column_width*2 + $column_goutiere; height:$card_height;
  655. }
  656. &.minicard{
  657. height:100px;
  658. }
  659. // &.card-small{
  660. // width:100px; height:140px;
  661. // }
  662. // focused
  663. // box-shadow: 0 0 7px rgba(0,0,0,0.9);
  664. // &.article{
  665. // width: $column_width * 2 + $column_goutiere;
  666. //
  667. // }
  668. header{
  669. position: absolute;
  670. bottom:0;
  671. z-index:10;
  672. color: #000;
  673. background-color: rgba(255,255,255,0.8);
  674. padding: 0.3em 0.3em;
  675. box-sizing:border-box;
  676. width:100%;
  677. h1, h4{ margin:0; padding:0; }
  678. h1{
  679. font-size: 1.3em;
  680. font-weight: 700;
  681. line-height: 0.85;
  682. margin-bottom: 0.2em;
  683. }
  684. h4{
  685. font-size: 0.882em;
  686. font-weight: 300;
  687. line-height: 1;
  688. // margin-bottom: 0.1em;
  689. }
  690. span.ref{
  691. font-size: 0.693em;
  692. font-weight: 300;
  693. line-height: 1;
  694. }
  695. }
  696. nav.tools{
  697. position: absolute;
  698. top: 0;
  699. right: 0;
  700. z-index: 21;
  701. width: 1em;
  702. background-color: #fff;
  703. box-sizing: content-box;
  704. padding: 0.3em 0.1em;
  705. >*{
  706. overflow: visible;
  707. position: relative;
  708. span.btn{
  709. overflow: hidden;
  710. font-size: 0.882em;
  711. }
  712. .tool-content{
  713. position: absolute;
  714. top: 0px;
  715. right: 100%;
  716. width: 5em;
  717. box-sizing: content-box;
  718. padding: 0.3em;
  719. background-color: #fff;
  720. box-shadow: -2px 3px 4px rgba(0, 0, 0, 0.2);
  721. }
  722. }
  723. .tool.flags{
  724. span.flag{
  725. cursor: pointer;
  726. font-size: 0.756em;
  727. color: #bbb;
  728. transition: color 0.3s ease-in-out;
  729. &:hover, &.isActive{
  730. color:#1a1a1a;
  731. }
  732. }
  733. }
  734. }
  735. section.images{
  736. position: relative;
  737. &, *{width: 100%; height:100%;}
  738. figure{
  739. margin:0;
  740. position: absolute;
  741. top:0; left:0;
  742. // width: 100%; height:100%;
  743. &:first-of-type{
  744. z-index:5
  745. }
  746. img{
  747. // width: 100%; height:100%;
  748. &.blank{
  749. position: absolute;
  750. top:0; left:0;
  751. z-index: 20;
  752. }
  753. }
  754. }
  755. }
  756. }
  757. // ___ _ _ _
  758. // | _ ) |__ _| |__| |__ _
  759. // | _ \ / _` | '_ \ / _` |
  760. // |___/_\__,_|_.__/_\__,_|
  761. #blabla{
  762. }
  763. #main-content > article.article{
  764. div.cols{
  765. display: grid;
  766. grid-template-rows: 1fr;
  767. grid-template-columns: repeat(6, 1fr);
  768. grid-gap: 1em;
  769. div.col-left{
  770. grid-column: 1;
  771. }
  772. div.col-right{
  773. grid-column: 2/6;
  774. }
  775. }
  776. section.accroche{
  777. figure{
  778. width:$column_width*2 + $column_goutiere;
  779. margin:0 $column_goutiere 0 0;
  780. img{
  781. width:100%;
  782. }
  783. }
  784. }
  785. section.taxonomy{
  786. margin:1em 0;
  787. ul{
  788. margin: 0;
  789. }
  790. li{
  791. display:inline-block;
  792. padding:0 0.5em 0 0;
  793. }
  794. }
  795. div.gallery-wrapper{
  796. .image{
  797. display: inline-block;
  798. width:$column_width;
  799. margin:0 $column_goutiere $column_goutiere*0.6 0;
  800. height:$card_height / 2;
  801. background-size: cover;
  802. }
  803. }
  804. // section.videos{
  805. // ul{
  806. // margin:0; padding:0;
  807. // li{
  808. // margin:0; padding:0;
  809. // display: inline-block;
  810. // width:100%; overflow: hidden;
  811. // }
  812. // }
  813. // }
  814. // section.visuels{
  815. // width:calc(100% + #{$column_goutiere});
  816. // figure{
  817. // position: relative;
  818. // display: inline-block;
  819. // vertical-align: top;
  820. // width:$column_width*2 + $column_goutiere;
  821. // margin:0 $column_goutiere $column_goutiere*0.6 0;
  822. // img{
  823. // width:100%;
  824. // }
  825. // caption{
  826. // position: absolute; bottom: 0; left:0;
  827. // box-sizing: border-box; width: 100%; padding:0.5em;
  828. // background-color: $transparent-bg-blk; color: #fff;
  829. // }
  830. // }
  831. // }
  832. aside.linked-materials{
  833. ul{
  834. width:calc(100% + #{$column_goutiere});
  835. li{
  836. display: inline-block;
  837. vertical-align: top;
  838. width:$column_width;
  839. margin:0 $column_goutiere 0 0;
  840. }
  841. }
  842. h3.field__label{
  843. font-size: 1em;
  844. font-weight: 500;
  845. margin: 2em 0 1em 0;
  846. }
  847. h1.title{
  848. font-size: 1em;
  849. font-weight: 400;
  850. }
  851. h3.ref{
  852. font-size: 0.756em;
  853. font-weight: 600;
  854. }
  855. h2.description{
  856. font-size: 0.756em;
  857. font-weight: 400;
  858. }
  859. }
  860. nav.prevnext{
  861. &.bottom{
  862. margin:2em 0;
  863. }
  864. ul{
  865. padding:0;
  866. margin:0;
  867. display: grid;
  868. grid-template-columns: 1fr 1fr;
  869. }
  870. li{
  871. padding:0;
  872. margin:0;
  873. list-style: none;
  874. a{
  875. font-size: 0.756em;
  876. font-weight: 700;
  877. }
  878. &:nth-child(1){
  879. grid-column: 1;
  880. a:before{
  881. content:'< ';
  882. }
  883. }
  884. &:nth-child(2){
  885. grid-column: 2;
  886. text-align: right;
  887. a:after{
  888. content:' >';
  889. }
  890. }
  891. }
  892. }
  893. }
  894. // ___ _
  895. // / __| |_ _____ __ ___ _ ___ ___ _ __ ___
  896. // \__ \ ' \/ _ \ V V / '_/ _ \/ _ \ ' \(_-<
  897. // |___/_||_\___/\_/\_/|_| \___/\___/_|_|_/__/
  898. #showrooms{
  899. width: calc(100% + #{$column_goutiere});
  900. article.showroom{
  901. width: $column_width * 2 + $column_goutiere;
  902. display: inline-block;
  903. vertical-align: top;
  904. margin: 0 $column_goutiere $column_goutiere 0;
  905. h1{
  906. margin:0;
  907. font-weight: 4;
  908. }
  909. p{ margin:0; }
  910. figure{
  911. margin:0;
  912. img{
  913. max-width: 100%;
  914. }
  915. }
  916. }
  917. }