avancées intégration mobile
This commit is contained in:
@@ -43,4 +43,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.liens_fixed {
|
||||
padding: 0 $x_margin;
|
||||
text-align: right;
|
||||
margin: 2rem 0;
|
||||
@include fluo_button();
|
||||
}
|
||||
}
|
45
web/themes/erabletheme/scss/partials/_articles_teaser.scss
Normal file
45
web/themes/erabletheme/scss/partials/_articles_teaser.scss
Normal file
@@ -0,0 +1,45 @@
|
||||
.views-row {
|
||||
article {
|
||||
> div:first-of-type {
|
||||
width: 100%;
|
||||
max-height: 30vh;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
padding-left: $x_margin;
|
||||
padding-right: $x_margin;
|
||||
a {
|
||||
img {
|
||||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.preview_meta {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: $m_font_size;
|
||||
width: auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
color: $teal;
|
||||
border-top: solid 1px $teal;
|
||||
margin: 0 $x_margin;
|
||||
margin-top: 1.3rem;
|
||||
padding-top: 0.7rem;
|
||||
> div:first-of-type {
|
||||
font-weight: 800;
|
||||
}
|
||||
}
|
||||
|
||||
.preview_sous_titre {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: $m_font_size;
|
||||
padding: 2px $x_margin;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@include main_title();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -4,10 +4,11 @@
|
||||
border-bottom: solid 2px $teal;
|
||||
div.views-row article {
|
||||
width: 100%;
|
||||
div:first-of-type { // container du lien image
|
||||
> div:first-of-type { // container du lien image
|
||||
width: 100%;
|
||||
max-height: 40vh;
|
||||
height: 40vh;
|
||||
overflow-y: hidden;
|
||||
padding: 0 !important;
|
||||
> div {
|
||||
width: 100%;
|
||||
> a {
|
||||
@@ -20,18 +21,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.preview_date, .preview_type, .preview_sous_titre {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: $m_font_size;
|
||||
padding: 2px $x_margin;
|
||||
}
|
||||
.preview_date {
|
||||
margin-top: 1.3rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
h2 {
|
||||
@include main_title();
|
||||
}
|
||||
}
|
||||
#carousel_dots {
|
||||
position: relative;
|
||||
|
Reference in New Issue
Block a user