add interviews post_type

This commit is contained in:
kevin
2021-04-19 13:10:04 +02:00
parent 7707f7f2c2
commit e7e5c22bb9
22 changed files with 1107 additions and 404 deletions
@@ -1,18 +1,18 @@
header{
#block-mainnavigation{
ul{
li{
header {
#block-mainnavigation {
ul {
li {
font-size: 0.8rem;
a{
a {
color: black;
font-family: 'truenoregular';
&.is-active{
font-family: 'truenobold';
font-family: "truenoregular";
&.is-active {
font-family: "truenobold";
color: black;
text-decoration: none;
}
&:hover{
font-family: 'truenobold';
&:hover {
font-family: "truenobold";
color: black;
text-decoration: none;
}
@@ -22,159 +22,159 @@ header{
}
}
#txt_present{
margin: 3rem 0;
@media screen and (min-width: 992px) {
margin: 5rem 0;
}
#txt_present {
margin: 3rem 0;
@media screen and (min-width: 992px) {
margin: 5rem 0;
}
& * {
color: $color2;
}
& * {
color: $color2;
}
& > div{
margin: 2rem auto;
}
& > div {
margin: 2rem auto;
}
.__title-present{
h2{
font-size: 1.9rem;
font-family: 'truenoregular';
line-height: normal;
}
}
.__title-present {
h2 {
font-size: 1.9rem;
font-family: "truenoregular";
line-height: normal;
}
}
.__sub-title-present{
p{
font-family: 'truenoregular_italic';
font-size: 0.9rem;
line-height: 1.3rem;
}
}
.__sub-title-present {
p {
font-family: "truenoregular_italic";
font-size: 0.9rem;
line-height: 1.3rem;
}
}
.__body-present{
p{
font-family: 'truenolight';
font-size: 1.2rem;
line-height: 1.8rem;
}
}
.more_link{
padding: 0rem 1rem 0.2rem 1rem;
background: white;
a{
font-size: 0.7rem
}
}
.__body-present {
p {
font-family: "truenolight";
font-size: 1.2rem;
line-height: 1.8rem;
}
}
.more_link {
padding: 0rem 1rem 0.2rem 1rem;
background: white;
a {
font-size: 0.7rem;
}
}
}
#block-views-block-dernieres-publications-block-1{
.views{
section:not(.wrap_head){
#block-views-block-dernieres-publications-block-1,
#block-views-block-slide-interviews-block-1 {
.views {
section:not(.wrap_head) {
margin: 1rem 0;
@media screen and (min-width: 768px) {
margin: 1rem calc( 0rem - #{$gutter});
margin: 1rem calc(0rem - #{$gutter});
}
}
}
}
#block-views-block-gallerie-block-1{
section:not(.wrap_head){
#block-views-block-gallerie-block-1 {
section:not(.wrap_head) {
display: flex;
flex-wrap: wrap;
margin:0 -1rem!important;
figure{
margin: 0 -1rem !important;
figure {
padding: 1rem;
margin: 0;
width: 100%;
max-height: 400px;
@media screen and (min-width: 768px) {
width: calc( 100% / 3);
width: calc(100% / 3);
max-height: 300px;
}
@media screen and (min-width: 1024px) {
width: calc( 100% / 6);
max-height:200px;
width: calc(100% / 6);
max-height: 200px;
}
img{
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
}
.pager{
.pager {
text-align: center;
margin: 2rem;
.wrap--btn{
a{
.wrap--btn {
a {
@include shadow;
background: white;
width: fit-content;
margin: auto;
padding: 0.5rem 1rem;
padding: 0.5rem 1rem;
font-size: 12px;
display: block;
font-family: 'truenobold';
font-family: "truenobold";
color: $color2;
}
}
}
}
.lightbox{
position: fixed!important;
top: 50%!important;
transform: translateY(-50%)!important;
}
.lightbox {
position: fixed !important;
top: 50% !important;
transform: translateY(-50%) !important;
}
.lb-dataContainer{
.lb-dataContainer {
width: 100%;
background:white;
.lb-details{
background: white;
.lb-details {
width: 100%;
}
span{
span {
display: block;
text-align: center;
color: black;
}
.lb-number{
font-family: 'truenobold';
padding-bottom:0;
.lb-number {
font-family: "truenobold";
padding-bottom: 0;
}
}
#block-views-block-gallerie-block-1,
#block-views-block-slide-programme-block-1,
#block-views-block-dernieres-publications-block-1{
#block-views-block-dernieres-publications-block-1,
#block-views-block-slide-interviews-block-1 {
margin: 2rem 0;
@media screen and (min-width: 992px) {
margin: 5rem 0;
}
h3{
h3 {
text-transform: uppercase;
margin: 0;
font-family: 'dukefill';
font-family: "dukefill";
font-size: 2rem;
letter-spacing: $letter_spacingH;
color: $color2
color: $color2;
}
}
#block-views-block-slide-programme-block-1{
h3{
&::after{
display: inline-flex;
#block-views-block-slide-programme-block-1 {
h3 {
&::after {
display: inline-flex;
width: 60px;
height: 60px;
vertical-align: middle;
margin-left:20px;
margin-left: 20px;
@include labelOnline;
}
}
}
}
@@ -0,0 +1,30 @@
article {
&.interviews {
.__wrap_content {
.__head {
& * {
color: $color2;
}
.__auteur {
div {
font-family: "cormorantBold";
font-size: 1.5rem;
}
}
.__titre {
span {
font-family: "cormorantBoldItalic";
font-size: 1.5rem;
}
}
.__info {
margin: 1rem 0;
div {
font-family: "cormorantBold";
font-size: 1rem;
}
}
}
}
}
}
@@ -1,16 +1,16 @@
main:not(.home){
main:not(.home) {
@media screen and (min-width: 768px) {
padding: 1.5rem 0!important;
padding: 1.5rem 0 !important;
}
@media screen and (min-width: 992px) {
padding: 4rem 0!important;
padding: 4rem 0 !important;
}
}
//
body{
body {
position: relative;
&::before{
&::before {
z-index: -1;
content: " ";
width: 100%;
@@ -22,15 +22,16 @@ body{
top: 0;
left: 0;
}
&::after{
&::after {
z-index: -1;
content: " ";
width: 100%;
height: 100%;
background:
linear-gradient(
background: linear-gradient(
to top,
rgba(255, 255, 255, 0.8), white, rgba(255, 255, 255, 0.8)
rgba(255, 255, 255, 0.8),
white,
rgba(255, 255, 255, 0.8)
);
display: block;
position: absolute;
@@ -40,14 +41,15 @@ body{
}
}
article{
.__title{
article {
.__title {
@include croix_or;
}
&.publications{
&.publications,
&.interviews {
margin-top: 1rem;
.paragraph--type--images{
img{
.paragraph--type--images {
img {
max-width: 100%;
max-height: 400px;
object-fit: contain;
@@ -58,6 +60,6 @@ article{
}
}
}
h4{
h4 {
@include croix_or;
}
@@ -1,8 +1,10 @@
.participant_full{
.__wrap_content{
.participant_full {
.__wrap_content {
margin: 3rem auto;
}
.__publications,.__bibliographie{
.__publications,
.__bibliographie,
.__interviews {
margin: 3rem auto;
}
}
}
@@ -1,6 +1,8 @@
.publications, .bibliographie{
.views{
section{
.publications,
.bibliographie,
.interviews {
.views {
section {
@media screen and (min-width: 768px) {
margin: 0 calc(0rem - #{$gutter});
}
@@ -8,10 +10,9 @@
}
}
#block-popsu-colloque-submenu{
.is-active{
color:white;
background:#1d378eff;
#block-popsu-colloque-submenu {
.is-active {
color: white;
background: #1d378eff;
}
}
}