ajout des légendes
This commit is contained in:
		@@ -1459,6 +1459,11 @@ body.toolbar-fixed header {
 | 
			
		||||
    background-color: unset;
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
.fullpage .legende {
 | 
			
		||||
  display: block !important;
 | 
			
		||||
  font-size: 0.8rem;
 | 
			
		||||
  color: #314e41;
 | 
			
		||||
}
 | 
			
		||||
.fullpage .fullpage_content > h2 {
 | 
			
		||||
  font-family: "Barlow", sans-serif;
 | 
			
		||||
  font-size: 2.3rem;
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -18,6 +18,12 @@
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .legende {
 | 
			
		||||
        display: block !important;
 | 
			
		||||
        font-size: 0.8rem;
 | 
			
		||||
        color: $dark_green;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .fullpage_content {
 | 
			
		||||
        > h2 {
 | 
			
		||||
            @include main_title();
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								web/themes/erabletheme/templates/node/image.html.twig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								web/themes/erabletheme/templates/node/image.html.twig
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation of an image.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - attributes: HTML attributes for the img tag.
 | 
			
		||||
 * - style_name: (optional) The name of the image style applied.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_image()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
<img{{ attributes }} />
 | 
			
		||||
<div class="legende" style="display: none;">{{ attributes.title }}</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user