Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /** Ce style est cadeau ;-) */
- body{
- font-family: 'Open Sans', Arial, sans-serif;
- }
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html {
- font-size: 62.5%;
- }
- h1 {
- font-size: 1.8rem;
- }
- .header {
- margin-bottom: 1rem;
- text-align: center;
- }
- .header-logo {
- display: inline-block;
- margin: 2rem 0;
- }
- .header-toogle {
- display: none;
- }
- @media screen and (max-width: 375px) {
- .header-toogle {
- display: block;
- }
- }
- .header-menu {
- display: flex;
- justify-content: space-around;
- width: 80%;
- margin: 0 auto;
- }
- .header-menu a {
- transition: background-color ease-in 600ms, color ease-out .3s;
- padding: .5rem 1rem;
- color: #202020;
- font-size: 1.6rem;
- background: #fff;
- text-transform: uppercase;
- text-decoration: none;
- }
- .header-menu a:hover {
- color: #fff;
- background: #202020;
- }
- .short-text {
- text-align: center;
- background: #eee;
- padding: 8rem 0;
- font-size: 2rem; line-height: 4rem;
- }
- .short-text p {
- max-width: 60%;
- margin: 0 auto;
- }
- .banner {
- position: relative;
- display: flex; min-height: 70rem; align-items: center; justify-content: center;
- text-align: center;
- }
- .banner-video {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- overflow: hidden;
- }
- .banner-desc {
- z-index: 9;
- }
- .title-like{
- font-family: 'Reenie Beanie', Arial, sans-serif;
- font-size: 10rem;
- color: #fff;
- line-height: 1.1em;
- font-weight: 400;
- margin: 0;
- padding: 0;
- }
- .banner-video-overlay {
- position: absolute;
- top: 0; right: 0; bottom: 0; left: 0;
- z-index: 8;
- background: rgba(0, 0, 0, .5);
- }
- .btn {
- position: relative; z-index: 1;
- display: inline-block; padding: 1.5rem 2.5rem; border: solid .2rem #ddd;
- font-size: 2rem; text-decoration: none;
- }
- .btn-white {
- transition: background ease-in .2s;
- border-color: #fff;
- color: #fff; text-transform: uppercase;
- }
- .btn-white:hover {
- background: rgba(0, 0, 0, .5);
- }
- .btn-grey {
- transition: background ease-out 300ms, color ease-in .2s;
- border-color: #333;
- color: #333;
- }
- .btn-grey:hover {
- background: #000;
- color: #fff;
- }
- .three-women > div {
- display: flex;
- background: #000;
- }
- .three-women-item {
- flex-grow: 1;
- overflow: hidden;
- position: relative;
- text-align: center;
- }
- .three-women-item img {
- transition: transform ease-in .3s;
- display: block;
- width: 100%;
- height: auto;
- }
- .three-women-item img:hover {
- transform: scale(1.1);
- }
- .three-women-item figcaption {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- padding: 3rem 2rem;
- z-index: 3;
- }
- .three-women-item h3 {
- font-size: 4.5rem;
- color: #fff;
- }
- .three-women-item:hover{
- text-decoration: none;
- }
- /** BONS PLANS
- - Mini formulaire avec qq styles sympas
- **/
- .bons-plans{
- background-color: #eee;
- text-align: center;
- clear : both;
- }
- .bons-plans form{
- max-width: 40rem;
- margin: auto;
- padding: 3rem 2rem;
- }
- .bons-plans form div {
- display: flex;
- }
- .bons-plans .title-like{
- font-size: 6rem;
- line-height: 1;
- padding-top: 3rem;
- color: #000;
- }
- .bons-plans p {
- color: #333;
- font-size: 1.8rem;
- line-height: 1.3;
- margin: 0;
- text-transform: uppercase;
- text-align: left;
- padding-left: 15rem;
- padding-bottom: 2rem;
- background: url('../images/bon-reduction.png') no-repeat;
- }
- .bons-plans input[type="email"]{
- font-size: 1.6rem;
- padding: 1.7rem 1rem;
- flex-basis: 60%;
- color: #4A4A44;
- background-color: #FFFFFF;
- border: .1rem solid #bbb;
- border-radius: 0;
- }
- ma
- .bons-plans input[type="submit"] {
- flex-basis: 40%;
- border-radius: 0;
- border: .1rem solid #000;
- }
- /** ARTICLES
- **/
- .articles{
- padding-top: 3rem;
- padding-bottom: 3rem;
- width : 80%;
- margin : 0 auto;
- }
- .articles > div {
- display : flex;
- flex-wrap: wrap;
- margin-bottom : 2rem;
- justify-content: space-around;
- }
- .articles > div > div {
- flex-basis : 31%;
- min-width : 30rem;
- margin-bottom: 2rem;
- }
- .articles .title-like{
- font-size: 5rem;
- text-align: center;
- margin-bottom: 2rem;
- color: #000;
- }
- .articles img{
- width: 100%;
- }
- .articles a{
- color: #000;
- display: block;
- background: #eee;
- padding: 1rem;
- text-decoration: none;
- }
- .articles a:hover{
- text-decoration: none;
- }
- .articles-title {
- font-size: 1.3rem;
- line-height: 1.8rem;
- }
- .articles .articles-date{
- display: block;
- text-align: center;
- font-size: 1.9rem;
- line-height: 1.2;
- font-family: "Times New Roman", Times, serif;
- font-style: italic;
- position: relative;
- margin-bottom: 3rem;
- }
- .articles .articles-date:after{
- content:'';
- position: absolute;
- width: 5rem;
- height: .1rem;
- left: 50%;
- transform: translateX(-50%);
- background: #000;
- bottom: 0;
- }
- .articles-img{
- position: relative;
- }
- .articles-over{
- position: absolute;
- background: rgba(0, 0, 0, 0.7);
- top: 1rem;
- bottom: 1rem;
- left: 1rem;
- right: 1rem;
- opacity: 0;
- text-align: center;
- transition: opacity 300ms ease-in-out;
- }
- .articles-over .title-like {
- color: #fff;
- }
- .articles-over > span{
- position: absolute;
- width: 100%;
- font-size: 3rem;
- color: #fff;
- top: 100%;
- left: 0;
- overflow: hidden;
- transform: translateY(-50%);
- transition: top 200ms ease-in-out;
- }
- .articles a:hover .articles-over{
- opacity: 1;
- }
- .articles a:hover .articles-over > span{
- top: 50%;
- }
- .confidence {
- background: #D2D2D3 url("../images/confidence-bg.png") repeat-x 0 0;
- padding: 10rem 0 0 0;
- min-height: 61rem; position: relative;
- }
- .confidence-item {
- max-width: 100rem;
- margin: auto;
- display: flex;
- }
- .confidence-intro h3 {
- font-size: 2rem;
- text-transform: uppercase;
- color: #202020;
- margin: 0;
- }
- .confidence-intro h2 {
- font-size: 6rem;
- line-height: 4rem;
- color: #fff;
- margin: 2rem 0;
- }
- .confidence-intro p {
- font-size: 1.8rem;
- line-height: 2rem;
- font-family: "Times New Roman", Times, serif;
- font-style: italic;
- margin: 0 0 3rem;
- }
- .confidence-intro .link {
- display: block;
- font-size: 1.5rem;
- text-transform: uppercase;
- text-decoration: none;
- color: #fff;
- }
- .confidence-intro .link:hover {
- color: #000;
- text-decoration: none;
- }
- .confidence-intro .btn {
- display: none;prod
- }
- .confidence-produits {
- display: flex;
- align-items: flex-end;
- }
- .confidence-visuel {
- position: absolute; bottom: 0;
- }
- .confidence-prix {
- position: relative;
- padding: 28rem 0 9rem 22rem;
- }
- .confidence .designation {
- display: block;
- color: #fff; font-size: 1.6rem; text-transform: uppercase;
- }
- .confidence .fleche-g {
- position: absolute; top: 24rem; left: 18rem;
- }
- .confidence-prix .prix {
- display: block; margin: 1rem 0;
- font-size: 3rem; color: #fff;
- }
- .confidence-prix .prix span {
- font-size: 1.4rem; display: block;
- }
- .confidence-decor {
- position: absolute; right: 10rem; bottom: 0;
- }
- .confidence-intro {
- flex-basis: 32%;
- padding-right: 2rem;
- }
- .tendances {
- display: flex;
- }
- .tendances-item {
- flex-basis: 50%;
- }
- .tendances-inverse {
- flex-direction: row-reverse;
- }
- .tendances-img {
- position: relative;
- min-height: 75rem;
- }
- .tendances-img span {
- position: absolute;
- bottom: 0; left: 0; right: 0;
- background: rgba(0, 0, 0, .7);
- padding: 3rem 0;
- color: #fff;
- text-align: center;
- font-size: 1.8rem;
- }
- .tendances .title-like {
- color: #000;
- }
- .tendances-txt {
- padding: 7rem;
- font-size: 1.6rem;
- line-height: 2.5rem;
- }
- .tendances-txt a {
- color: #5c738d;
- text-decoration: none;
- }
- .tendances-txt a:hover {
- text-decoration: underline;
- }
- /** FOOTER
- - pas grand ici a part les liens reseaux sociaux qui utilise une "porte coulissante"
- **/
- .text-hide {
- font: 0/0 a;
- color: transparent;
- text-shadow: none;
- background-color: transparent;
- border: 0;
- }
- .footer{
- text-align: center;
- padding-bottom: 1rem;
- }
- .footer p{
- font-family: 'Reenie Beanie';
- font-size: 3rem;
- line-height: 3rem;
- margin: 0;
- padding-top: 1rem;
- }
- .footer-socials a{
- display:inline-block;
- width: 4.5rem;
- height: 4.5rem;
- margin: .5rem;
- background: url('../images/socials.jpg');
- }
- /* technique des portes coulissantes */
- .footer-socials a#btn-fb{
- background-position: -.3rem -.5rem;
- }
- .footer-socials a#btn-fb:hover{
- background-position: -.3rem -5.2rem;
- }
- .footer-socials a#btn-tw{
- background-position: -6.4rem -.5rem;
- }
- .footer-socials a#btn-tw:hover{
- background-position: -6.4rem -5.2rem;
- }
- .footer-socials a#btn-yt{
- background-position: -12.6rem -.5rem;
- }
- .footer-socials a#btn-yt:hover{
- background-position: -12.6rem -5.2rem;
- }
- .footer-socials a#btn-it{
- background-position: -18.9rem -.5rem;
- }
- .footer-socials a#btn-it:hover{
- background-position: -18.9rem -5.2rem;
- }
- .footer-socials a#btn-tu{
- background-position: -25.1rem -.5rem;
- }
- .footer-socials a#btn-tu:hover{
- background-position: -25.1rem -5.2rem;
- }
- /* Responsive / Media query */
- @media screen and (max-width:993px){
- .header-menu {
- display: block;
- }
- .header-menu a{
- border-top: .1rem solid #ddd;
- display:block;
- }
- .header-toogle{
- position: absolute;
- right: 1rem;
- top: 2.5rem;
- display: block;
- }
- .header-toogle-close{
- display:none;
- }
- /** :target ca veut dire :
- l'ancre du navigateur a visé un element
- dont l'id="main-header"
- (et cet élément existe dans le HTML)
- */
- #main-header:target .header-toogle-close{
- display:inline;
- }
- #main-header:target .header-toogle-open{
- display:none;
- }
- /* version menu non animé */
- /*.header-menu{
- display:none;
- }
- #main-header:target .header-menu {
- display:block;
- }*/
- /* version menu non animé */
- .header-menu{
- overflow: hidden;
- max-height: 0;
- transition: max-height 300ms ease-in-out;
- /* animation de height à height auto/100% pas possible, alors on utilise un tricks avec le max height ... */
- }
- #main-header:target .header-menu {
- max-height: 30rem;
- }
- }
- @media screen and (max-width:993px){
- .banner{
- min-height: 50rem;
- }
- .banner-desc .title-like{
- font-size: 5rem;
- }
- }
- @media screen and (max-width:769px){
- .confidence {
- padding: 2rem;
- }
- .confidence-item {
- display: block;
- }
- .confidence-decor {
- display: none;
- }
- .confidence-intro{
- text-align: center;
- padding-top: 0;
- padding-bottom: 2rem;
- padding-right: 0;
- }
- .confidence-produits{
- text-align: center;
- }
- .confidence-prix{
- position: absolute;
- right: 15rem;
- padding: 0;
- bottom: 15rem;
- }
- .confidence .fleche-g {
- top: -5rem;
- left: -5rem;
- }
- .confidence-prix .btn {
- display: none;
- }
- .confidence-visuel {
- position: relative;
- margin: 0 auto;
- }
- .confidence-intro .btn {
- display: inline-block;
- }
- .confidence-intro .link {
- margin: 2rem 0;
- }
- .three-women > div {
- display: block;
- }
- .three-women figure {
- position: relative;
- }
- }
- @media screen and (max-width:500px){
- .confidence-prix{
- display:none;
- }
- }
- /* tendances mobile **/
- @media screen and (max-width: 993px){
- /* objectif : revenir à 1 seule colonne */
- .tendances{
- display: block; /* (avant table) */
- }
- .tendances-item{
- display: block; /* (avant table-cell) */
- width: 100%;
- }
- .tendances-txt{
- padding: 4rem;
- }
- .tendances-img{
- min-height: 45rem;
- background-size: cover;
- }
- }
- @media screen and (max-width:769px){
- .bons-plans input[type="email"], .bons-plans input[type="submit"]{
- width: 100%;
- }
- .bons-plans form div {
- display: block;
- }
- .bons-plans p {
- padding-top: 15rem;
- padding-left: 0;
- background-position: top center;
- text-align: center;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement