templates/portada/_twitter.html.twig line 1

Open in your IDE?
  1. <br>
  2. <div class="range range-no-gutter text-center">
  3.     <div class="cell-xs-12 cell-sm-1 cell-md-1">
  4.     </div>
  5.     <div class="cell-xs-12 cell-sm-5 cell-md-5">
  6.         <a class="twitter-timeline" data-lang="es" data-width="500" data-height="555" data-theme="light" data-link-color="#383371" href="https://twitter.com/Agua_IPA_Chubut?ref_src=twsrc%5Etfw">Tweets de IPA Chubut</a>
  7.     </div>
  8.     <div class="cell-xs-12 cell-sm-1 cell-md-1">
  9.     </div>
  10.     <div class="cell-xs-12 cell-sm-4 cell-md-4 offset-top-10">
  11.         <h1 class="header-section">Sugerencias</h1>
  12.         <div class="main">
  13.           <div class="column">
  14.                 <figure>
  15.                     <a href="http://www.plataformadelagua.org.ar/mapa" target="_blank">
  16.                         <img src="{{ asset( proyecto.nombre ~ '/images/chubut2-min.png') }}" />
  17.                     </a>
  18.                 </figure>
  19.             </div>
  20.             <div class="column">
  21.                 <figure>
  22.                     <a href="{{ path('saquito_informe_ameghino_listar') }}">
  23.                         <img src="{{ asset( proyecto.nombre ~ '/images/informe-min.png') }}" />
  24.                         <div class="centered">
  25.                             <p style="font-weight: bold; font-size:20px">Informe Diario Hidroel&eacute;ctrica Ameghino</p>
  26.                         </div>
  27.                     </a>
  28.                 </figure>
  29.             </div>
  30.             <div class="column">
  31.                 <figure>
  32.                     <a href="{{ path('saquito_paginas_ver', {'id': 77 ,'slug': 'plan-de-gestion-sustentable-de-agua-en-la-meseta-central'}) }}">
  33.                         <img src="{{ asset( proyecto.nombre ~ '/images/mapa_1-min.png') }}" />
  34.                         <div class="centered">
  35.                             <p style="font-weight: bold; font-size:18px">Plan de gestiĆ³n Sustentable de Agua Subterr&aacute;nea y Superficial en la Meseta Central</p>
  36.                         </div>
  37.                     </a>
  38.                 </figure>
  39.             </div>
  40.         </div>
  41.     </div>
  42.     <div class="cell-xs-12 cell-sm-1 cell-md-1">
  43.     </div>
  44. </div>
  45. <style type="text/css">
  46.     .header-section {
  47.         font-size: 27px !important; line-height: 36px !important;font-weight: 300 !important;color: #292F33;font: normal normal 14px/1.4 Helvetica,Roboto,'Segoe UI',Calibri,sans-serif;display: inline-block !important; max-width: 100%;margin: 0;padding: 0;list-style: none;border: none;
  48.     }
  49.     .centered {
  50.         position: absolute;
  51.         top: 50%;
  52.         left: 50%;
  53.         color: black;
  54.         transform: translate(-50%, -50%);
  55.     }
  56.     .main{
  57.       display: flex;
  58.       flex-flow: row wrap;
  59.       width: 100%;
  60.       justify-content: center;
  61.     }
  62.     .column{
  63.       flex-basis: 1 10px;
  64.       width: calc(100% / 3 - 10px);
  65.       margin: 5px;
  66.       padding: 0;
  67.       width: 100%;
  68.     }
  69.     figure {
  70.         position: relative; 
  71.       overflow: hidden;
  72.       margin: 0;
  73.       height: 100%;
  74.       width: 100%;
  75.       filter: grayscale(.8);
  76.     }
  77.     figure img{
  78.       width: 100%;
  79.       height: 100%;
  80.     }
  81.     figure::before {
  82.         position: absolute;
  83.         top: 50%;
  84.         left: 50%;
  85.         z-index: 2;
  86.         display: block;
  87.         width: 0;
  88.         height: 0;
  89.         background: rgba(0,0,0,.2);
  90.         border-radius: 100%;
  91.         transform: translate(-50%, -50%);
  92.         opacity: 0;
  93.     }
  94.     figure:hover{
  95.       animation: bloom ease-in-out .75s forwards;
  96.     }
  97.     figure:hover::before {
  98.         animation: circle .75s;
  99.     }
  100.     @keyframes bloom {
  101.         0% {
  102.             filter: grayscale(.8);
  103.         }
  104.         40% {
  105.             filter: grayscale(.5);
  106.         }
  107.         100% {
  108.             filter: grayscale(0);
  109.         }
  110.     }
  111.     @keyframes circle {
  112.         0% {
  113.             opacity: .3;
  114.             background: rgba(213,156,34,.2);
  115.         }
  116.         40% {
  117.             opacity: 1;
  118.             background: rgba(213,34,160,.2);
  119.         }
  120.         100% {
  121.             width: 200%;
  122.             height: 200%;
  123.             opacity: 0;
  124.         }
  125.     }
  126. </style>