Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 8.17 KB | None | 0 0
  1. /** Ce style est cadeau ;-) */
  2. body{
  3.   font-family: 'Open Sans', Arial, sans-serif;
  4. }
  5.  
  6. * {
  7.   margin: 0;
  8.   padding: 0;
  9.   box-sizing: border-box;
  10. }
  11.  
  12. html {
  13.   font-size: 62.5%;
  14. }
  15.  
  16. h1 {
  17.   font-size: 1.8rem;
  18. }
  19.  
  20. .header {
  21.   margin-bottom: 1rem;
  22.   text-align: center;
  23. }
  24.  
  25. .header-logo {
  26.   display: inline-block;
  27. }
  28.  
  29. .header-toogle {
  30.   display: none;
  31. }
  32.  
  33. @media screen and (max-width: 375px) {
  34.   .header-toogle {
  35.     display: block;
  36.   }
  37. }
  38.  
  39. .header-menu {
  40.   display: flex;
  41.   justify-content: space-around;
  42.   width: 80%;
  43.   margin: 0 auto;
  44. }
  45.  
  46. .header-menu a {
  47.   transition: all ease-in .2s;
  48.   transition: background-color ease-in 600ms, color ease-out .3s;
  49.   padding: .5rem;
  50.   color: #202020;
  51.   font-size: 1.6rem;
  52.   background: #fff;
  53.   text-transform: uppercase;
  54.   text-decoration: none;
  55. }
  56.  
  57. .header-menu a:hover {
  58.   color: #fff;
  59.   background: #202020;
  60. }
  61.  
  62. /* 24/04/19 */
  63.  
  64. .short-text {
  65.   text-align: center;
  66.   background: #eee;
  67.   font-size: 2rem;
  68.   line-height: 4rem;
  69.   padding: 8rem 0;
  70. }
  71.  
  72. .title-like {
  73.   font-family: 'Reenie Beanie', Arial, sans-serif;
  74.   font-size: 10rem;
  75.   color: #fff;
  76.   line-height: 8rem;
  77.   font-weight: 400;
  78.   margin: 0;
  79.   padding: 0;
  80. }
  81.  
  82. .banner {
  83.   position: relative;
  84.   display: flex;
  85.   align-items: center;
  86.   justify-content: center;
  87.   text-align: center;
  88.   min-height: 70rem;
  89. }
  90.  
  91. .banner-video {
  92.   position: absolute;
  93.   top: 0;
  94.   right: 0;
  95.   bottom: 0;
  96.   left: 0;
  97.   overflow: hidden;
  98. }
  99.  
  100. .banner-desc {
  101.   z-index: 9;
  102. }
  103.  
  104. .btn {
  105.   transition: background-color ease-in .3s;
  106.   display: inline-block;
  107.   padding: 1.5rem 2.5rem;
  108.   border: solid .2rem #ddd;
  109.   font-size: 2rem;
  110.   text-decoration: none;
  111.   background: rgba(255, 255, 255, 0);
  112. }
  113.  
  114. .btn-white {
  115.   border-color: #fff;
  116.   color: #fff;
  117. }
  118.  
  119. .btn-white:hover {
  120.   background: rgba(255, 255, 255, .7);
  121. }
  122.  
  123. .banner-video-overlay {
  124.   position: absolute;
  125.   top: 0; right: 0; bottom: 0; left: 0;
  126.   z-index: 8;
  127.   background: rgba(0, 0, 0, .5);
  128. }
  129.  
  130. .three-women > div {
  131.   display: flex;
  132.   background: #000;
  133. }
  134.  
  135. .three-women-item {
  136.   position: relative;
  137.   flex-grow: 1;
  138.   text-align: center;
  139.   overflow: hidden;
  140. }
  141.  
  142. .three-women-item img {
  143.   transition: transform ease-in .4s;
  144.   display: block;
  145.   width: 100%;
  146.   height: auto;
  147. }
  148.  
  149. .three-women-item img:hover {
  150.   transform: scale(1.1);
  151. }
  152.  
  153. .three-women-item figcaption {
  154.   position: absolute;
  155.   bottom: 0;
  156.   left: 0;
  157.   right: 0;
  158.   padding: 3rem 2rem;
  159. }
  160.  
  161. .text-hide {
  162.   font: 0/0 a;
  163.   color: transparent;
  164.   text-shadow: none;
  165.   background-color: transparent;
  166.   border: 0;
  167. }
  168.  
  169. .footer{
  170.   text-align: center;
  171.   padding-bottom: 1rem;
  172. }
  173. .footer p{
  174.   font-family: 'Reenie Beanie';
  175.   font-size: 3rem;
  176.   line-height: 3rem;
  177.   margin: 0;
  178.   padding-top: 1rem;
  179. }
  180.  
  181. .footer-socials a{
  182.   display:inline-block;
  183.   width: 4.5rem;
  184.   height: 4.5rem;
  185.   margin: .5rem;
  186.   background: url('../images/socials.jpg');
  187. }
  188. /* technique des portes coulissantes */
  189. .footer-socials a#btn-fb{
  190.   background-position: -.3rem -.5rem;
  191. }
  192. .footer-socials a#btn-fb:hover{
  193.   background-position: -.3rem -5.2rem;
  194. }
  195. .footer-socials a#btn-tw{
  196.   background-position: -6.4rem -.5rem;
  197. }
  198. .footer-socials a#btn-tw:hover{
  199.   background-position: -6.4rem -5.2rem;
  200. }
  201. .footer-socials a#btn-yt{
  202.   background-position: -12.6rem -.5rem;
  203. }
  204. .footer-socials a#btn-yt:hover{
  205.   background-position: -12.6rem -5.2rem;
  206. }
  207. .footer-socials a#btn-it{
  208.   background-position: -18.9rem -.5rem;
  209. }
  210. .footer-socials a#btn-it:hover{
  211.   background-position: -18.9rem -5.2rem;
  212. }
  213. .footer-socials a#btn-tu{
  214.   background-position: -25.1rem -.5rem;
  215. }
  216. .footer-socials a#btn-tu:hover{
  217.   background-position: -25.1rem -5.2rem;
  218. }
  219.  
  220. .bons-plans{
  221.   background: #eee;
  222.   text-align: center;
  223. }
  224.  
  225. .bons-plans form {
  226.   max-width: 40rem;
  227.   margin: 0 auto;
  228.   padding: 3rem 2rem;
  229. }
  230.  
  231. .bons-plans .title-like {
  232.   font-size: 6rem;
  233.   color: #000;
  234.   padding-top: 3rem;
  235. }
  236.  
  237. .bons-plans p {
  238.   padding-left: 15rem;
  239.   font-size: 1.8rem;
  240.   color: #000;
  241.   text-transform: uppercase;
  242.   text-align: left;
  243.   padding-bottom: 2rem;
  244.   background: url('../images/bon-reduction.png') no-repeat;
  245. }
  246.  
  247. .bons-plans form div {
  248.   display: flex;
  249. }
  250.  
  251. .bons-plans input[type="email"] {
  252.   flex-basis: 60%;
  253.   font-size: 1.6rem;
  254.   padding: 1.7rem 1rem;
  255.   color: #4a4a4a;
  256.   background: #fff;
  257.   border: .1rem solid #ddd;
  258.   border-radius: 0;
  259. }
  260. .bons-plans input[type="submit"] {
  261.   flex-basis: 40%;
  262.   border-radius: 0;
  263.   border: .1rem solid #000;
  264.   text-transform: uppercase;
  265. }
  266.  
  267. .articles {
  268.   width: 80%;
  269.   margin: 0 auto;
  270.   padding: 3rem 0;
  271. }
  272.  
  273. .articles > div {
  274.   display: flex;
  275.   flex-wrap: wrap;
  276.   margin-bottom: 2rem;
  277.   justify-content: space-around;
  278. }
  279.  
  280. .articles > div > div {
  281.   flex-basis: 31%;
  282.   min-width: 30rem;
  283.   margin-bottom: 2rem;
  284. }
  285.  
  286. .articles-img img {
  287.   width: 100%;
  288. }
  289.  
  290. .articles .title-like {
  291.   color: #000;
  292.   text-align: center;
  293.   font-size: 5rem;
  294.   margin-bottom: 2rem;
  295. }
  296.  
  297. .articles a {
  298.   display: block;
  299.   text-decoration: none;
  300.   color: #000;
  301.   background: #eee;
  302.   padding: 1rem;
  303. }
  304.  
  305. .articles-title {
  306.   font-size: 1.3rem;
  307.   line-height: 1.8rem;
  308. }
  309.  
  310. .articles-date {
  311.   display: block;
  312.   text-align: center;
  313.   font-size: 1.9rem;
  314.   font-family: 'Times New Roman', Times, serif;
  315.   font-style: italic;
  316.   margin-bottom: 3rem;
  317.   position: relative;
  318. }
  319.  
  320. .articles-date:after {
  321.   content: '';
  322.   position: absolute;
  323.   width: 5rem;
  324.   height: .1rem;
  325.   background: #000;
  326.   left: 50%;
  327.   transform: translateX(-50%);
  328.   bottom: 0;
  329. }
  330.  
  331. .articles-over {
  332.   position: absolute;
  333.   top: 1rem; right: 1rem; bottom: 1rem; left: 1rem;
  334.   background: rgba(0,0,0,.7);
  335.   text-align: center;
  336.   opacity: 0;
  337.   transition: opacity .2s ease-in;
  338.   overflow: hidden;
  339. }
  340.  
  341. .articles a:hover .articles-over {
  342.   opacity: 1;
  343. }
  344. .articles a:hover .title-like {
  345.   top: 50%;
  346. }
  347.  
  348. .articles-over .title-like {
  349.   transition: top .2s ease-in;
  350.   position: absolute;
  351.   color: #fff;
  352.   font-size: 3rem;
  353.   top: 100%;
  354.   left: 0;
  355.   width: 100%;
  356.   transform: translateY(-50%);
  357. }
  358.  
  359. .articles-img {
  360.   position: relative;
  361. }
  362.  
  363. .tendances {
  364.   display: flex;
  365. }
  366.  
  367. .tendances-item {
  368.   flex-basis: 50%;
  369. }
  370.  
  371. .tendances .title-like {
  372.   color: #000;
  373. }
  374.  
  375. .tendances-txt {
  376.   padding: 7rem;
  377.   font-size: 1.6rem;
  378.   line-height: 2.5rem;
  379. }
  380. .tendances-img {
  381.   position: relative;
  382.   min-height: 75rem;
  383.   background-size: cover;
  384. }
  385. .tendances-img span {
  386.   position: absolute;
  387.   bottom: 0; left: 0; right: 0;
  388.   background: rgba(0, 0, 0, .7);
  389.   padding: 3rem 0;
  390.   text-align: center;
  391.   color: #fff;
  392.   font-size: 1.8rem;
  393. }
  394.  
  395. .tendances-inverse {
  396.   flex-direction: row-reverse;
  397. }
  398.  
  399. .confidence {
  400.   background: #d2d2d2 url('../images/confidence-bg.png') repeat-x 0 0;
  401.   padding: 10rem 0 0 0;
  402.   min-height: 61rem;
  403.   position: relative;
  404. }
  405.  
  406. .confidence-item {
  407.   display: flex;
  408.   max-width: 100rem;
  409.   margin: 0 auto;
  410. }
  411.  
  412. .confidence-intro h3 {
  413.   font-size: 2rem;
  414.   text-transform: uppercase;
  415.   color: #202020;
  416. }
  417.  
  418. .confidence-intro h2 {
  419.   font-size: 6rem;
  420.   line-height: 4rem;
  421.   color: #fff;
  422.   margin: 2rem 0;
  423. }
  424.  
  425. .confidence-intro p {
  426.   margin: 0 0 3rem;
  427.   font-size: 1.8rem;
  428.   line-height: 2rem;
  429.   font-family: 'Times New Roman', Times, serif;
  430. }
  431.  
  432. .confidence-intro .link {
  433.   display: block;
  434.   font-size: 1.5rem;
  435.   text-transform: uppercase;
  436.   text-decoration: none;
  437.   color: #fff;
  438. }
  439. .confidence-intro .link:hover {
  440.   color: #000;
  441.   text-decoration: underline;
  442. }
  443. .confidence-intro .btn {
  444.   display: none;
  445. }
  446. .confidence-produits {
  447.   display: flex;
  448.   align-items: flex-end;
  449. }
  450. .confidence-visuel {
  451.   position: absolute; bottom: 0;
  452. }
  453. .confidence-prix {
  454.   position: relative;
  455.   padding: 28rem 0 9rem 22rem;
  456. }
  457. .confidence .designation {
  458.   display: block;
  459.   color: #fff;
  460.   font-size: 1.6rem;
  461.   text-transform: uppercase;
  462. }
  463. .confidence .fleche-g {
  464.   position: absolute;
  465.   top: 24rem;
  466.   left: 18rem;
  467. }
  468. .confidence-prix .prix {
  469.   display: block;
  470.   margin: 1rem 0;
  471.   color: #fff;
  472.   font-size: 3rem;
  473. }
  474. .confidence-prix .prix span {
  475.   font-size: 1.4rem;
  476.   display: block;
  477. }
  478. .confidence-decor {
  479.   position: absolute;
  480.   right: 10rem;
  481.   bottom: 0;
  482. }
  483. .confidence-intro {
  484.   flex-basis: 32%;
  485.   padding-right: 2rem;
  486. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement