123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336 |
- @media screen and (max-width: 960px) {
- header nav{
- position: relative;
- width: 90%;
- .dropmenu{
- background: white;
- display: none;
- position: absolute;
- left: -6%;
- top: 100px;
- width: auto!important;
- height: auto;
- &>ul{
- flex-direction: column!important;
- &>li{
- text-align: left;
- &>ul{
- margin: auto;
- &>li{
- text-align: left;
- margin-left: 10px;
- a{
- font-family: $Regular;
- }
- }
- }
- &> a{
- border: none;
- line-height: 2rem;
- }
- }
- }
- &.active{
- display: block;
- }
- }
- .logo{
- margin: auto;
- }
- .navTrigger {
- cursor: pointer;
- width: 30px;
- height: 25px;
- margin: auto 0;
- left: 0;
- top: 0;
- bottom: 0;
- }
- .navTrigger i {
- background-color: $light-blue;
- border-radius: 2px;
- content: '';
- display: block;
- width: 100%;
- height: 4px;
- }
- .navTrigger i:nth-child(1) {
- -webkit-animation: outT 0.8s backwards;
- animation: outT 0.8s backwards;
- -webkit-animation-direction: reverse;
- animation-direction: reverse;
- }
- .navTrigger i:nth-child(2) {
- margin: 5px 0;
- -webkit-animation: outM 0.8s backwards;
- animation: outM 0.8s backwards;
- -webkit-animation-direction: reverse;
- animation-direction: reverse;
- }
- .navTrigger i:nth-child(3) {
- -webkit-animation: outBtm 0.8s backwards;
- animation: outBtm 0.8s backwards;
- -webkit-animation-direction: reverse;
- animation-direction: reverse;
- }
- .navTrigger.active i:nth-child(1) {
- -webkit-animation: inT 0.8s forwards;
- animation: inT 0.8s forwards;
- }
- .navTrigger.active i:nth-child(2) {
- -webkit-animation: inM 0.8s forwards;
- animation: inM 0.8s forwards;
- }
- .navTrigger.active i:nth-child(3) {
- -webkit-animation: inBtm 0.8s forwards;
- animation: inBtm 0.8s forwards;
- }
- @-webkit-keyframes inM {
- 50% {
- -webkit-transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(45deg);
- }
- }
- @keyframes inM {
- 50% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(45deg);
- }
- }
- @-webkit-keyframes outM {
- 50% {
- -webkit-transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(45deg);
- }
- }
- @keyframes outM {
- 50% {
- transform: rotate(0deg);
- }
- 100% {
- transform: rotate(45deg);
- }
- }
- @-webkit-keyframes inT {
- 0% {
- -webkit-transform: translateY(0px) rotate(0deg);
- }
- 50% {
- -webkit-transform: translateY(9px) rotate(0deg);
- }
- 100% {
- -webkit-transform: translateY(9px) rotate(135deg);
- }
- }
- @keyframes inT {
- 0% {
- transform: translateY(0px) rotate(0deg);
- }
- 50% {
- transform: translateY(9px) rotate(0deg);
- }
- 100% {
- transform: translateY(9px) rotate(135deg);
- }
- }
- @-webkit-keyframes outT {
- 0% {
- -webkit-transform: translateY(0px) rotate(0deg);
- }
- 50% {
- -webkit-transform: translateY(9px) rotate(0deg);
- }
- 100% {
- -webkit-transform: translateY(9px) rotate(135deg);
- }
- }
- @keyframes outT {
- 0% {
- transform: translateY(0px) rotate(0deg);
- }
- 50% {
- transform: translateY(9px) rotate(0deg);
- }
- 100% {
- transform: translateY(9px) rotate(135deg);
- }
- }
- @-webkit-keyframes inBtm {
- 0% {
- -webkit-transform: translateY(0px) rotate(0deg);
- }
- 50% {
- -webkit-transform: translateY(-9px) rotate(0deg);
- }
- 100% {
- -webkit-transform: translateY(-9px) rotate(135deg);
- }
- }
- @keyframes inBtm {
- 0% {
- transform: translateY(0px) rotate(0deg);
- }
- 50% {
- transform: translateY(-9px) rotate(0deg);
- }
- 100% {
- transform: translateY(-9px) rotate(135deg);
- }
- }
- @-webkit-keyframes outBtm {
- 0% {
- -webkit-transform: translateY(0px) rotate(0deg);
- }
- 50% {
- -webkit-transform: translateY(-9px) rotate(0deg);
- }
- 100% {
- -webkit-transform: translateY(-9px) rotate(135deg);
- }
- }
- @keyframes outBtm {
- 0% {
- transform: translateY(0px) rotate(0deg);
- }
- 50% {
- transform: translateY(-9px) rotate(0deg);
- }
- 100% {
- transform: translateY(-9px) rotate(135deg);
- }
- }
- }
- .gal{
- .title_gal{
- max-width: 80%!important;
- top: 15vw!important;
- }
- .content_gal{
- width: 2%!important;
- }
- }
- .entete .entete_c{
- width: 95%!important;
- margin: 30px auto!important;
- }
- .content{
- width: 80%!important;
- }
- .sidebar{
- position: relative!important;
- width: 350px!important;
- margin: 0 auto!important;
- }
- #devis{
- .title{
- width: 100%!important;
- height: auto!important;
- transform: translateX(0px)!important;
- border-radius: 0px!important;
- h4{
- margin-top: 15px!important;
- font-size: 1.3rem!important;
- margin: auto!important;
- transform: translateY(0%)!important;
- }
- }
- .txt{
- width: 100%!important;
- height: auto!important;
- background: $red!important;
- margin: auto!important;
- p{
- color: white!important;
- padding: 15px 55px !important;
- strong{
- font-size: 1rem!important;
- }
- }
- }
- .img{
- width: auto!important;
- }
- .demander-votre-devis{
- transform: translate(0px, 40%)!important;
- right: 30px!important;
- }
- }
- #devis.item .title, #devis.sublog .title{
- border-radius: 30px!important;
- }
- #item .demander-votre-devis, #sublog .demander-votre-devis{
- width: 300px!important;
- height: 110px!important;
- margin-top: -55px!important;
- a{
- display: inline-flex!important;
- }
- p:nth-of-type(2){
- display: none!important;
- }
- img{
- margin-left: 20px!important;
- margin-top: 0px!important;
- }
- }
- .start:not(#form)#archive, .start:not(#form)#calendrier{
- width: 80%!important;
- }
- .start:not(#form) .body-wrapper .card{
- width: calc((100% / 3) - 7.5px)!important;
- }
- .start#form .body-wrapper form{
- width: 90%!important;
- }
- .start#form .body-wrapper form > div.button-wrapper button{
- margin-right: 5%!important;
- }
- .sidebar{
- padding: 20px 0;
- ::before{
- display: block;
- width: 100vw;
- height: 100%;
- content: '';
- background-image: url(/user/themes/lecampus/images/Trame-bleu.svg);
- background-repeat: no-repeat;
- background-position: center;
- background-size: cover;
- position: absolute;
- top: 0;
- margin-left: -90%;
- z-index: -1;
- }
- }
- .start:not(#form) .body-wrapper .event{
- width: 90%!important;
- }
- .start:not(#form)#event .title{
- width: 90%!important;
- }
- }
- @media screen and (max-width: 750px) {
- .gal .title_gal{
- display: none!important;
- }
- .entete{
- padding: 0!important;
- p{
- font-size: 1rem;
- line-height: 1.4rem;
- }
- }
- #home .content > p{
- width: 100%!important;
- }
- }
|