123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- // thumbnails global
- .thumbnails{
- width: 100%;
- height: auto;
- background: white;
- margin: $gutter1;
- &:not(.bibliographie){
- @include shadow;
- }
- figure{
- height: 150px;
- margin: 0;
- }
- .__wrap{
- padding: 1rem;
- & > .d-flex{
- margin-bottom: 0.5rem;
- }
- }
- // thumbnails publications
- &.publications{
- @media screen and (min-width: 768px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 992px) {
- width: calc(100% / 3 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 1200px) {
- width: calc(100% / 4 - #{$gutter1} * 2);
- }
- .__media{
- padding: 0.5rem 0 0.5rem 0.5rem;
- }
- .__wrap{
- padding: 0.5rem;
- }
- }
- &.bibliographie{
- @media screen and (min-width: 768px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 992px) {
- width: calc(100% / 3 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 1200px) {
- width: calc(100% / 4 - #{$gutter1} * 2);
- }
- a{
- & > div * {
- display: inline;
- background: white;
- color: $color2;
- }
- }
- }
- }
- // thumbnails slides
- .__slide{
- .thumbnails{
- max-width: 380px;
- @media screen and (min-width: 768px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 992px) {
- width: calc(100% / 3 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 1200px) {
- width: calc(100% / 4 - #{$gutter1} * 2);
- }
- }
- }
- // Page programme
- .container{
- &.programme{
- .thumbnails{
- @media screen and (min-width: 768px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- margin: 0.5rem;
- }
- @media screen and (min-width: 992px) {
- width: calc(100% / 3 - #{$gutter1} * 2);
- }
- // @media screen and (min-width: 1200px) {
- // width: calc(100% / 4 - #{$gutter1} * 2);
- // }
- }
- }
- }
- // page moment
- .__ressources{
- .__publications{
- .publications{
- // margin: $gutter1;
- .__media{
- padding: 0.5rem 0 0.5rem 0.5rem;
- }
- .__wrap{
- padding: 0.5rem;
- }
- @media screen and (min-width: 768px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 992px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 1200px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- }
- }
- .__bibliographie{
- .thumbnails{
- background: transparent;
- a{
- & > div{
- div, span, p{
- display: inline;
- background: white;
- }
- }
- }
- @media screen and (min-width: 768px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 992px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- @media screen and (min-width: 1200px) {
- width: calc(100% / 2 - #{$gutter1} * 2);
- }
- }
- }
- }
- // thumbnails participant
- .thumbnails_participants{
- figure{
- & > div{
- width: 100px;
- height: 100px;
- margin-left: 0.5rem;
- img{
- border-radius: 50%;
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- }
- figcaption{
- &.__info{
- padding: 4rem 0.5rem 0.5rem 0.5rem;
- margin-top: -3rem;
- background: white;
- .__name{
- text-transform: uppercase;
- }
- }
- }
- }
- }
|