embde&&_ressource_externe
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,11 +1,13 @@
|
|||||||
.dl_ressource{
|
.dl_ressource{
|
||||||
margin-top: 1.5rem;
|
font-size: 0.9rem;
|
||||||
font-size: 0.5rem;
|
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
font-family: 'truenoregular';
|
font-family: 'truenoregular';
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
margin: 1.5rem .25rem 0 .25rem;
|
||||||
@media screen and (min-width : 768px){
|
@media screen and (min-width : 768px){
|
||||||
|
margin-top: 1.5rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
font-size: 0.5rem;
|
||||||
}
|
}
|
||||||
a{
|
a{
|
||||||
&::before{
|
&::before{
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'dukefill';
|
font-family: 'dukefill';
|
||||||
src: url('../fonts/duke_fill-webfont.woff2') format('woff2'),
|
src: url('../fonts/duke_fill-webfont.woff') format('woff'),
|
||||||
url('../fonts/duke_fill-webfont.woff') format('woff');
|
url('../fonts/duke_fill-webfont.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
@@ -23,48 +23,48 @@
|
|||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'truenolight';
|
font-family: 'truenolight';
|
||||||
src: url('../fonts/trueno/truenolt-webfont.woff2') format('woff2'),
|
src: url('../fonts/trueno/truenolt-webfont.woff') format('woff'),
|
||||||
url('../fonts/trueno/truenolt-webfont.woff') format('woff');
|
url('../fonts/trueno/truenolt-webfont.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'truenolight_italic';
|
font-family: 'truenolight_italic';
|
||||||
src: url('../fonts/trueno/truenoltit-webfont.woff2') format('woff2'),
|
src: url('../fonts/trueno/truenoltit-webfont.woff') format('woff'),
|
||||||
url('../fonts/trueno/truenoltit-webfont.woff') format('woff');
|
url('../fonts/trueno/truenoltit-webfont.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'truenoregular';
|
font-family: 'truenoregular';
|
||||||
src: url('../fonts/trueno/truenorg-webfont.woff2') format('woff2'),
|
src: url('../fonts/trueno/truenorg-webfont.woff') format('woff'),
|
||||||
url('../fonts/trueno/truenorg-webfont.woff') format('woff');
|
url('../fonts/trueno/truenorg-webfont.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'truenoregular_italic';
|
font-family: 'truenoregular_italic';
|
||||||
src: url('../fonts/trueno/truenorgit-webfont.woff2') format('woff2'),
|
src: url('../fonts/trueno/truenorgit-webfont.woff') format('woff'),
|
||||||
url('../fonts/trueno/truenorgit-webfont.woff') format('woff');
|
url('../fonts/trueno/truenorgit-webfont.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'truenobold';
|
font-family: 'truenobold';
|
||||||
src: url('../fonts/trueno/truenobd-webfont.woff2') format('woff2'),
|
src: url('../fonts/trueno/truenobd-webfont.woff') format('woff'),
|
||||||
url('../fonts/trueno/truenobd-webfont.woff') format('woff');
|
url('../fonts/trueno/truenobd-webfont.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'truenobold_italic';
|
font-family: 'truenobold_italic';
|
||||||
src: url('../fonts/trueno/truenobdit-webfont.woff2') format('woff2'),
|
src: url('../fonts/trueno/truenobdit-webfont.woff') format('woff'),
|
||||||
url('../fonts/trueno/truenobdit-webfont.woff') format('woff');
|
url('../fonts/trueno/truenobdit-webfont.woff2') format('woff2');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -9,6 +9,7 @@ global-styling:
|
|||||||
global-scripts:
|
global-scripts:
|
||||||
js:
|
js:
|
||||||
css/bootstrap/js/bootstrap.min.js: {}
|
css/bootstrap/js/bootstrap.min.js: {}
|
||||||
|
js/lazysizes.min.js: {}
|
||||||
js/flickity.pkgd.min.js: {}
|
js/flickity.pkgd.min.js: {}
|
||||||
js/script.js: {}
|
js/script.js: {}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
+51
@@ -0,0 +1,51 @@
|
|||||||
|
{#
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* Default theme implementation for a field.
|
||||||
|
*
|
||||||
|
* To override output, copy the "field.html.twig" from the templates directory
|
||||||
|
* to your theme's directory and customize it, just like customizing other
|
||||||
|
* Drupal templates such as page.html.twig or node.html.twig.
|
||||||
|
*
|
||||||
|
* Instead of overriding the theming for all fields, you can also just override
|
||||||
|
* theming for a subset of fields using
|
||||||
|
* @link themeable Theme hook suggestions. @endlink For example,
|
||||||
|
* here are some theme hook suggestions that can be used for a field_foo field
|
||||||
|
* on an article node type:
|
||||||
|
* - field--node--field-foo--article.html.twig
|
||||||
|
* - field--node--field-foo.html.twig
|
||||||
|
* - field--node--article.html.twig
|
||||||
|
* - field--field-foo.html.twig
|
||||||
|
* - field--text-with-summary.html.twig
|
||||||
|
* - field.html.twig
|
||||||
|
*
|
||||||
|
* Available variables:
|
||||||
|
* - attributes: HTML attributes for the containing element.
|
||||||
|
* - label_hidden: Whether to show the field label or not.
|
||||||
|
* - title_attributes: HTML attributes for the title.
|
||||||
|
* - label: The label for the field.
|
||||||
|
* - multiple: TRUE if a field can contain multiple items.
|
||||||
|
* - items: List of all the field items. Each item contains:
|
||||||
|
* - attributes: List of HTML attributes for each item.
|
||||||
|
* - content: The field item's content.
|
||||||
|
* - entity_type: The entity type to which the field belongs.
|
||||||
|
* - field_name: The name of the field.
|
||||||
|
* - field_type: The type of the field.
|
||||||
|
* - label_display: The display settings for the label.
|
||||||
|
*
|
||||||
|
* @see template_preprocess_field()
|
||||||
|
*
|
||||||
|
* @ingroup themeable
|
||||||
|
*/
|
||||||
|
#}
|
||||||
|
{%
|
||||||
|
set title_classes = [
|
||||||
|
label_display == 'visually_hidden' ? 'visually-hidden',
|
||||||
|
]
|
||||||
|
%}
|
||||||
|
|
||||||
|
{% for item in items %}
|
||||||
|
<div class="dl_ressource">
|
||||||
|
<a href="{{item.content['#url']}}" target="_blank">Télécharger la ressource en pdf</a>
|
||||||
|
</div>
|
||||||
|
{% endfor %}
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
#}
|
#}
|
||||||
|
|
||||||
{% if file_size %}
|
{% if file_size %}
|
||||||
<a target="_blank" href="{{link['#title']}}">
|
<a rel="noopener" target="_blank" href="{{link['#title']}}">
|
||||||
<img src="{{link['#url']}}" alt="logo">
|
<img src="{{link['#url']}}" alt="logo">
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{#
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* Display an iframe with alterable components.
|
||||||
|
*/
|
||||||
|
#}
|
||||||
|
<iframe{{ attributes }}{% if url is not empty %} title="le direct" src="{{ url }}{% if query is not empty %}?{{ query | url_encode }}{% endif %}{% if fragment is not empty %}#{{ fragment }}{% endif %}"{% endif %}></iframe>
|
||||||
@@ -72,13 +72,14 @@
|
|||||||
* @ingroup themeable
|
* @ingroup themeable
|
||||||
*/
|
*/
|
||||||
#}
|
#}
|
||||||
|
|
||||||
|
|
||||||
<article class="row d-sm-flex flex-wrap d-block publications">
|
<article class="row d-sm-flex flex-wrap d-block publications">
|
||||||
<div class="__wrap_side col-sm-12 col-md-12 col-lg-1">
|
<div class="__wrap_side col-sm-12 col-md-12 col-lg-1">
|
||||||
{% include 'themes/custom/popsu_colloque/template/components/share_rs.html.twig' %}
|
{% include 'themes/custom/popsu_colloque/template/components/share_rs.html.twig' %}
|
||||||
{{content.field_telecharger_la_ressource}}
|
{% if content.field_telecharger_la_ressource['#field_name']|length > 0 %}
|
||||||
|
{{content.field_telecharger_la_ressource}}
|
||||||
|
{% elseif content.field_ressource_externe['#field_name']|length > 0 %}
|
||||||
|
{{content.field_ressource_externe}}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="__wrapper col-sm-12 col-md-9 col-lg-8">
|
<div class="__wrapper col-sm-12 col-md-9 col-lg-8">
|
||||||
|
|||||||
Reference in New Issue
Block a user