Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 6.89 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. @media screen and (min-width: 1920px) {
  131.   .banner-video video {
  132.     width: 260rem;
  133.     transform: translateX(-50%);
  134.   }
  135. }
  136.  
  137. .three-women > div {
  138.   display: flex;
  139.   background: #000;
  140. }
  141.  
  142. .three-women-item {
  143.   position: relative;
  144.   flex-grow: 1;
  145.   text-align: center;
  146.   overflow: hidden;
  147. }
  148.  
  149. .three-women-item img {
  150.   transition: transform ease-in .4s;
  151.   display: block;
  152.   width: 100%;
  153.   height: auto;
  154. }
  155.  
  156. .three-women-item img:hover {
  157.   transform: scale(1.1);
  158. }
  159.  
  160. .three-women-item figcaption {
  161.   position: absolute;
  162.   bottom: 0;
  163.   left: 0;
  164.   right: 0;
  165.   padding: 3rem 2rem;
  166. }
  167.  
  168. .text-hide {
  169.   font: 0/0 a;
  170.   color: transparent;
  171.   text-shadow: none;
  172.   background-color: transparent;
  173.   border: 0;
  174. }
  175.  
  176. .footer{
  177.   text-align: center;
  178.   padding-bottom: 1rem;
  179. }
  180. .footer p{
  181.   font-family: 'Reenie Beanie';
  182.   font-size: 3rem;
  183.   line-height: 3rem;
  184.   margin: 0;
  185.   padding-top: 1rem;
  186. }
  187.  
  188. .footer-socials a{
  189.   display:inline-block;
  190.   width: 4.5rem;
  191.   height: 4.5rem;
  192.   margin: .5rem;
  193.   background: url('../images/socials.jpg');
  194. }
  195. /* technique des portes coulissantes */
  196. .footer-socials a#btn-fb{
  197.   background-position: -.3rem -.5rem;
  198. }
  199. .footer-socials a#btn-fb:hover{
  200.   background-position: -.3rem -5.2rem;
  201. }
  202. .footer-socials a#btn-tw{
  203.   background-position: -6.4rem -.5rem;
  204. }
  205. .footer-socials a#btn-tw:hover{
  206.   background-position: -6.4rem -5.2rem;
  207. }
  208. .footer-socials a#btn-yt{
  209.   background-position: -12.6rem -.5rem;
  210. }
  211. .footer-socials a#btn-yt:hover{
  212.   background-position: -12.6rem -5.2rem;
  213. }
  214. .footer-socials a#btn-it{
  215.   background-position: -18.9rem -.5rem;
  216. }
  217. .footer-socials a#btn-it:hover{
  218.   background-position: -18.9rem -5.2rem;
  219. }
  220. .footer-socials a#btn-tu{
  221.   background-position: -25.1rem -.5rem;
  222. }
  223. .footer-socials a#btn-tu:hover{
  224.   background-position: -25.1rem -5.2rem;
  225. }
  226.  
  227. /* */
  228. .bons-plans {
  229.   background: #eee;
  230.   text-align: center;
  231. }
  232.  
  233. .bons-plans .title-like {
  234.   font-size: 6rem;
  235.   line-height: 1;
  236.   padding-top: 3rem;
  237.   color: #000;
  238. }
  239.  
  240. .bons-plans p {
  241.   padding-left: 150px;
  242.   padding-bottom: 2rem;
  243.   background: url('../images/bon-reduction.png') no-repeat;
  244.   font-size: 1.8rem;
  245. }
  246.  
  247. .bons-plans form {
  248.   max-width: 40rem;
  249.   margin: 0 auto;
  250.   padding: 3rem 2rem;
  251. }
  252.  
  253. .bons-plans form div {
  254.   display: flex;
  255. }
  256.  
  257. .bons-plans input[type="email"] {
  258.   font-size: 1.6rem;
  259.   padding: 1.7rem 1rem;
  260.   flex-basis: 60%;
  261.   color: #4a4a4a;
  262.   background: #fff;
  263.   border: .1rem solid #bbb;
  264.   border-radius: 0;
  265. }
  266.  
  267. .bons-plans input[type="submit"] {
  268.   flex-basis: 40%;
  269.   border-radius: 0;
  270.   border: .1rem solid #000;
  271.   text-transform: uppercase;
  272. }
  273.  
  274. .articles {
  275.   width: 80%;
  276.   margin: 0 auto;
  277.   padding: 3rem 0;
  278. }
  279.  
  280. .articles > div {
  281.   display: flex;
  282.   flex-wrap: wrap;
  283.   margin-bottom: 2rem;
  284.   justify-content: space-around;
  285. }
  286.  
  287. .articles > div > div {
  288.   flex-basis: 31%;
  289.   min-width: 30rem;
  290.   margin-bottom: 2rem;
  291.   background: #eee;
  292. }
  293.  
  294. .articles img {
  295.   width: 100%;
  296. }
  297.  
  298. .articles .title-like {
  299.   font-size: 5rem;
  300.   text-align: center;
  301.   color: #000;
  302. }
  303.  
  304. .articles a {
  305.   display: block;
  306.   color: #000;
  307.   text-decoration: none;
  308.   padding: 1rem;
  309. }
  310.  
  311. .articles-title {
  312.   font-size: 1.3rem;
  313.   line-height: 1.8rem;
  314. }
  315.  
  316. .articles-date {
  317.   display: block;
  318.   text-align: center;
  319.   font-size: 1.9rem;
  320.   font-family: 'Times New Roman', Times, serif;
  321.   font-style: italic;
  322.   margin-bottom: 3rem;
  323.   position: relative;
  324. }
  325.  
  326. .articles-date:before {
  327.   content: '';
  328.   position: absolute;
  329.   width: 5rem;
  330.   height: .1rem;
  331.   left: 50%;
  332.   transform: translateX(-50%);
  333.   background: #000;
  334.   bottom: 0;
  335. }
  336.  
  337. .articles-img {
  338.   position: relative;
  339. }
  340.  
  341. .articles-over {
  342.   position: absolute;
  343.   top: 1rem;
  344.   right: 1rem;
  345.   bottom: 1rem;
  346.   left: 1rem;
  347.   background: rgba(0, 0, 0, 0.7);
  348.   opacity: 0;
  349.   transition: opacity 300ms ease-in;
  350. }
  351.  
  352. .articles-over .title-like {
  353.   position: absolute;
  354.   width: 100%;
  355.   font-size: 3rem;
  356.   color: #fff;
  357.   left: 0;
  358.   overflow: hidden;
  359.   transform: translateY(-50%);
  360.   transition: top .1s ease-in;
  361. }
  362.  
  363. .articles a:hover .articles-over {
  364.   opacity: 1;
  365. }
  366.  
  367. .articles a:hover .title-like {
  368.   top: 50%;
  369. }
  370.  
  371. .short-text {
  372.   text-align: center;
  373.   background: #eee;
  374.   padding: 8rem 0;
  375.   font-size: 2rem;
  376.   line-height: 4rem;
  377. }
  378.  
  379. .short-text p {
  380.   max-width: 60%;
  381.   margin: 0 auto;
  382. }
  383.  
  384. .tendances {
  385.   display: flex;
  386. }
  387.  
  388. .tendances-item {
  389.   flex-basis: 50%;
  390. }
  391.  
  392. .tendances-inverse {
  393.   flex-direction: row-reverse;
  394. }
  395.  
  396. .tendances-txt {
  397.   font-size: 1.6rem;
  398.   line-height: 2.5rem;
  399.   padding: 7rem;
  400. }
  401.  
  402. .tendances-txt a {
  403.   color: #5c738d;
  404. }
  405.  
  406. .tendances-txt a:hover {
  407.   text-decoration: underline;
  408. }
  409.  
  410. .tendances-txt .title-like {
  411.   color: #000;
  412. }
  413.  
  414. .tendances-img {
  415.   position: relative;
  416. }
  417.  
  418. .tendances-img span {
  419.   position: absolute;
  420.   bottom: 0;
  421.   left: 0;
  422.   right: 0;
  423.   background: rgba(0, 0, 0, .7);
  424.   padding: 3rem 0;
  425.   text-align: center;
  426.   color: #fff;
  427.   font-size: 1.8rem;
  428. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement