templates_common/blocks/morenewsbutton.html.twig line 1

  1. <div class="flex flex-col md:flex-row">
  2.     
  3.     <div class="basis-[37%] p-4 text-justify">
  4.         &nbsp;
  5.     </div>
  6.     <div class="px-4 basis-[63%] grow flex flex-col place-content-between">
  7.         <a class="w-[300px] text-[20px] leading-[30px] my-16 transition-all text-white py-4 px-8 inline-block ml-[20px] 
  8.         text-center bg-[#CDA062] hover:bg-[#EDB500] rounded-[.25rem] shadow-[0_2px_2px_rgb(205,160,98,0.2)] hover:shadow-[0_0_25px_rgb(226,176,14,0.3)]
  9.         dark:border-2 dark:border-black dark:bg-white dark:text-black dark:font-bold dark:hover:shadow-none
  10.         " 
  11.         href="{% if app.request.locale == 'ru' %}/ru{% endif %}{% if app.request.locale == 'en' %}/en{% endif %}/post/">
  12.             {{'All news'|trans}}
  13.         </a>
  14.     </div>
  15.     
  16. </div>