Advertisement
Guest User

Untitled

a guest
May 22nd, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.43 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. .bons-plans {
  228.   background: #eee;
  229.   text-align: center;
  230. }
  231.  
  232. .bons-plans form {
  233.   max-width: 40rem;
  234.   margin: 0 auto;
  235.   padding: 3rem 2rem;
  236. }
  237.  
  238. .bons-plans .title-like {
  239.   font-size: 6rem;
  240.   padding-top: 3rem;
  241.   color: #000;
  242. }
  243. .bons-plans p {
  244.   color: #333;
  245.   font-size: 1.8rem;
  246.   text-transform: uppercase;
  247.   text-align: left;
  248.   padding-left: 15rem;
  249.   background: url('../images/bon-reduction.png') no-repeat;
  250.   padding-bottom: 2rem;
  251. }
  252. .bons-plans form div {
  253.   display: flex;
  254. }
  255. .bons-plans input[type="email"] {
  256.   flex-basis: 60%;
  257.   border-radius: 0;
  258.   font-size: 1.6rem;
  259.   padding: 1.7rem 1rem;
  260.   color: #4a4a4a;
  261.   background: #fff;
  262.   border: .1rem solid #ddd;
  263. }
  264. .bons-plans input[type="submit"] {
  265.   flex-basis: 40%;
  266.   border-radius: 0;
  267.   border: .1rem solid #000;
  268. }
  269.  
  270. .articles {
  271.   width: 80%;
  272.   margin: 0 auto;
  273.   padding: 3rem 0;
  274. }
  275.  
  276. .articles > div {
  277.   display: flex;
  278.   flex-wrap: wrap;
  279.   margin-bottom: 2rem;
  280.   justify-content: space-around;
  281. }
  282.  
  283. .articles > div > div {
  284.   flex-basis: 31%;
  285.   min-width: 30rem;
  286.   margin-bottom: 2rem;
  287.   background: #eee;
  288. }
  289.  
  290. .articles img {
  291.   width: 100%;
  292. }
  293.  
  294. .articles a {
  295.   display: block;
  296.   text-decoration: none;
  297. }
  298.  
  299. .articles-title {
  300.   font-size: 1.3rem;
  301.   line-height: 1.8rem;
  302. }
  303.  
  304. .articles-date {
  305.   position: relative;
  306.   display: block;
  307.   text-align: center;
  308.   font-size: 1.9rem;
  309.   font-family: 'Times New Roman', Times, serif;
  310.   font-style: italic;
  311.   margin-bottom: 3rem;
  312. }
  313.  
  314. .articles-date:after {
  315.   content: '';
  316.   position: absolute;
  317.   width: 5rem;
  318.   height: .1rem;
  319.   background: #000;
  320.   bottom: 0;
  321.   left: 50%;
  322.   transform: translateX(-50%);
  323. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement