app/template/default/Block/topic.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% block stylesheet %}
  9. <style>
  10. .ec-topicRole {
  11.     padding-top: 0;
  12.     padding-bottom: 60px;
  13.     border-bottom: 1px solid #555555;
  14.     margin-bottom: 75px;
  15. }
  16. .ec-role {
  17.     margin-bottom: 0;
  18.     max-width: 905px;
  19. }
  20. .ec-secHeading {
  21.     margin-bottom: 30px;
  22. }
  23. .ec-secHeading .ec-secHeading__en {
  24.     line-height: 1;
  25. }
  26. .ec-secHeading .ec-secHeading__line {
  27.     width: 14px;
  28.     height: 1px;
  29.     margin-bottom: 5px;
  30. }
  31. .ec-topicRole .ec-topicRole__list {
  32.     flex-wrap: wrap;
  33.     gap: 20px;
  34. }
  35. .ec-topicRole .ec-topicRole__listItem {
  36.     width: calc(100% / 3);
  37.     max-width: 275px;
  38. }
  39. @media only screen and (max-width: 768px) {
  40.     .ec-topicRole .ec-topicRole__listItem {
  41.         width: 100%;
  42.         max-width: 100%;
  43.     }
  44.     .ec-topicRole {
  45.         padding-bottom: 30px;
  46.         margin-bottom: 30px;
  47.     }
  48. }
  49. </style>
  50. {% endblock %}
  51. <div class="ec-topicRole">
  52.     <div class="ec-role">
  53.         <div class="ec-secHeading txtCenter">
  54.             <p class="ec-secHeading__en">{{ '特集'|trans }}</p>
  55.             <p class="ec-secHeading__line"></p>
  56.             <p class="ec-secHeading__ja">{{ 'TOPICS'|trans }}</p>
  57.         </div>
  58.         <div class="ec-topicRole__list displayPc">
  59.             <div class="ec-topicRole__listItem mb10">
  60.                 <a href="/frontlines/html/special/gadget/index.php">
  61.                     <img src="/html/images/top/banner/gadget-pc.png" alt="ガジェット特集">
  62.                 </a>
  63.             </div>
  64.             <div class="ec-topicRole__listItem mb10">
  65.                 <a href="/frontlines/html/special/bag/index.php">
  66.                     <img src="/html/images/top/banner/bag-pc.png" alt="バッグ特集">
  67.                 </a>
  68.             </div>
  69.             <div class="ec-topicRole__listItem mb10">
  70.                 <a href="/frontlines/html/special/outdoor/index.php">
  71.                     <img src="/html/images/top/banner/outdoor-pc.png" alt="アウトドア特集">
  72.                 </a>
  73.             </div>
  74.         </div>
  75.         <div class="ec-topicRole__list displaySp">
  76.             <div class="ec-topicRole__listItem mb10">
  77.                 <a href="/frontlines/html/special/gadget/index.php">
  78.                     <img src="/html/images/top/banner/gadget-sp.png" alt="ガジェット特集">
  79.                 </a>
  80.             </div>
  81.             <div class="ec-topicRole__listItem mb10">
  82.                 <a href="/frontlines/html/special/bag/index.php">
  83.                     <img src="/html/images/top/banner/bag-sp.png" alt="バッグ特集">
  84.                 </a>
  85.             </div>
  86.             <div class="ec-topicRole__listItem mb10">
  87.                 <a href="/frontlines/html/special/outdoor/index.php">
  88.                     <img src="/html/images/top/banner/outdoor-sp.png" alt="アウトドア特集">
  89.                 </a>
  90.             </div>
  91.         </div>
  92.     </div>
  93. </div>