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

Open in your IDE?
  1. {% block main %}
  2. <style>
  3. .main_box_g {
  4.    display: flex;    
  5.   flex-wrap: wrap;
  6.   justify-content: space-around;    
  7.   width: 100%;
  8.   height: auto;
  9.   min-height: 450px;
  10.   background-color: ;
  11.   position: relative;
  12.   margin-top: 25px;
  13.   margin-bottom: 100px;
  14. }
  15. .box_g {
  16.   display: flex;
  17.   flex-wrap: wrap;
  18.   background-color: #fff;
  19.   width:calc(100% / 4 - 20px);  
  20.   width: 315px;
  21.   height: auto; 
  22.   {#border: solid 1px #dcdcdc;#}
  23.   margin-left: 10px;
  24.   margin-right: 10px;
  25.   margin-top: 10px;
  26.   margin-bottom: 10px;
  27.   {#position: relative;#}/*sliderに重ねる場合使用*/
  28.   {#z-index: 9999;#}/*sliderに重ねる場合使用*/
  29. }
  30. .box_ga {
  31.     display: flex;
  32.     flex-wrap: wrap;
  33.     justify-content: space-around;    
  34.     background-color: bule;
  35.     width: auto;  
  36.     height: auto; 
  37.     text-align: center;
  38.     padding-left: auto;
  39.     padding-right: auto;
  40.     {#position: relative;#}/*sliderに重ねる場合使用*/
  41.     {#z-index: 9999;#}/*sliderに重ねる場合使用*/
  42. }
  43. .box_g1 { 
  44.   display: flex;    
  45.   flex-wrap: wrap;
  46.   justify-content: space-around;      
  47.   width: 150px;
  48.   height: 150px;
  49.   background-color: ;    
  50.   margin-top: 10px;
  51.   margin-bottom: 10px;
  52.   margin-left: 6px;
  53. }
  54. .box_g2 {
  55.   width: auto;
  56.   height: auto;
  57.   text-align: left;
  58. }
  59. .box_g3 { 
  60.   background-color: ;    
  61.   display: flex;
  62.   flex-wrap: wrap;
  63.   width: 300px;    
  64.   height: 300px;    
  65.   margin-top: 20px;
  66.   margin-right: auto; 
  67.   margin-left: auto;
  68. }
  69. /*空欄用*/
  70. .box_g4 { 
  71.   display: flex;    
  72.   flex-wrap: wrap;
  73.   justify-content: space-around;      
  74.   width: 150px;
  75.   height: 150px;
  76.   background-color: #fff;    
  77.   margin-top: 20px;
  78.   margin-bottom: 10px;
  79.   margin-left: 6px;
  80. }
  81. .box_g5 { 
  82.   display: flex;    
  83.   flex-wrap: wrap;
  84.   width: 300px;
  85.   height: 150px;
  86.   border: ;
  87.   background-color: #999;    
  88.   margin-top: 10px;
  89.   margin-bottom: 10px;
  90.   margin-left: 9px;
  91. }
  92. .pexample_g1 {
  93.   color: #008080; 
  94.   margin: 0 auto;
  95.   margin-top: 6px;    
  96.   margin-bottom: -6px;
  97.   margin: left;    
  98.   width: 100%;     
  99.   height: 20px;
  100.   font-weight: 500;
  101.   margin-left: 10px;
  102. }
  103. .pexample_g2 {
  104.   color: #000;    
  105.   margin-top: 2px; 
  106.   font-size: 12px;
  107.   margin: left;  
  108.   margin-left: 10px;
  109.   width: auto;     
  110.   height: 20px;
  111.   font-weight: 400;
  112. }
  113. .pexample_g3 {
  114.   color: #4682b4;    
  115.   margin-top: -10px;    
  116.   font-size: 12px;
  117.   margin: left;    
  118.   width: 300px;     
  119.   height: 12px;
  120.   font-weight: 400;
  121. }
  122. .pexample_g4 {
  123.   text-align: left;    
  124.   margin: left;    
  125.   margin-left: 10px;
  126.   color: #4682b4;    
  127.   margin-top: 16px;
  128.   margin-bottom: 10px;
  129.   font-size: 12px;
  130.   width: 300px;     
  131.   height: 20px;
  132.   font-weight: 400;
  133. }
  134. .fit-picture_a {
  135.   width: 150px;
  136. }
  137. .fit-picture_b {
  138.   width: 300px;
  139.   height: 150px;
  140.   margin-bottom: 5px;
  141. }
  142. .fit-picture_o {
  143.   width: 150px;
  144.   opacity: 0.6;
  145. }
  146. </style>
  147. <div class="main_box_g">
  148.     <div class="box_ga">
  149.         <div class="box_g">
  150.             <p class="pexample_g1"><font color="red">灯油ヒーター</font></p>
  151.             <div class="box_g5">
  152.             <a href="https://www.nakatomishop.com/products/detail/534">
  153.             <img class="fit-picture_b" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/POP_KH-30D_150_300.png"></a>
  154.             <p class="pexample_g2">KH-30D</p>    
  155.             </div>
  156.             <div class="box_g5">
  157.             <a href="https://www.nakatomishop.com/products/detail/705">
  158.             <img class="fit-picture_b" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/POP_SH-17D_150_300.png"></a>
  159.             <p class="pexample_g2">SH-17D</p>    
  160.             </div>
  161.             <div class="box_g2">  
  162.             <a href="https://www.nakatomishop.com/products/list?category_id=3">
  163.             <p class="pexample_g4">【灯油ヒーター】一覧へ移動</p></a>
  164.             </div>   
  165.         </div>
  166.         <div class="box_g">
  167.             <p class="pexample_g1">遠赤外線ヒーター【100V】</p>
  168.             <div class="box_g5">
  169.             <a href="https://www.nakatomishop.com/products/list?category_id=3">
  170.             <img class="fit-picture_b" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH-POP_150_300.png"></a>    
  171.             <p class="pexample_g2">FIHシリーズ</p>    
  172.             </div>
  173.             <div class="box_g1">
  174.             <a href="https://www.nakatomishop.com/products/detail/1400">
  175.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH-10RS_150_150.png"></a>    
  176.             <p class="pexample_g2">FIH-10RS</p>    
  177.             </div>       
  178.             <div class="box_g1">
  179.             <a href="https://www.nakatomishop.com/products/detail/1401">
  180.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH-10RC_150_150.png"></a>    
  181.             <p class="pexample_g2">FIH-10RC</p>    
  182.             </div>   
  183.             <div class="box_g2">  
  184.             <a href="https://www.nakatomishop.com/products/list?category_id=35">
  185.             <p class="pexample_g4">【遠赤外線ヒーター】一覧へ移動</p></a>
  186.             </div>      
  187.         </div>   
  188.         <div class="box_g">
  189.             <p class="pexample_g1">遠赤外線ヒーター【200V】</p>
  190.             <div class="box_g1">
  191.             <a href="https://www.nakatomishop.com/products/detail/245">
  192.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/IFH-20TP_150_150.png"></a>    
  193.             <p class="pexample_g2">IFH-20TP<font color="#0000cd"><b>【三相200V】</b></font></p>    
  194.             </div>       
  195.             <div class="box_g1">
  196.             <a href="https://www.nakatomishop.com/products/detail/246">
  197.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/IFH-30TP_150_150.png"></a>    
  198.             <p class="pexample_g2">IFH-30TP<font color="#0000cd"><b>【三相200V】</b></font></p>    
  199.             </div>   
  200.             <div class="box_g1">
  201.             <a href="https://www.nakatomishop.com/products/detail/1402">
  202.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH-15RS_150_150.png"></a>    
  203.             <p class="pexample_g2">FIH-15RS<font color="#4b0082"><b>【単相200V】</b></font></p>    
  204.             </div>
  205.             <div class="box_g1">
  206.             <a href="https://www.nakatomishop.com/products/detail/1403">
  207.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/FIH-15RC_150_150.png"></a>    
  208.             <p class="pexample_g2">FIH-15RC<font color="#4b0082"><b>【単相200V】</b></font></p>    
  209.             </div>       
  210.             <div class="box_g2">  
  211.             <a href="https://www.nakatomishop.com/products/list?category_id=35">
  212.             <p class="pexample_g4">【遠赤外線ヒーター】一覧へ移動</p></a>
  213.             </div>      
  214.         </div>           
  215.         <div class="box_g">
  216.             <p class="pexample_g1">電気ファンヒーター【200V】</p>
  217.             <div class="box_g1">
  218.             <a href="https://www.nakatomishop.com/products/detail/247">
  219.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/TEH-50_150_150.png"></a>
  220.             <p class="pexample_g2">TEH-50<font color="#0000cd"><b>【三相200V】</b></font></p>    
  221.             </div>
  222.             <div class="box_g1">
  223.             <a href="https://www.nakatomishop.com/products/detail/248">
  224.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/TEH-100_150_150.png"></a>
  225.             <p class="pexample_g2">TEH-100<font color="#0000cd"><b>【三相200V】</b></font></p>    
  226.             </div>       
  227.             <div class="box_g1">
  228.             <a href="https://www.nakatomishop.com/products/detail/250">
  229.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25winter/ISH-10KT_150_150.png"></a>    
  230.             <p class="pexample_g2">ISH-10KT<font color="#0000cd"><b>【三相200V】</b></font></p>    
  231.             </div>       
  232.             <div class="box_g1">
  233.             <a href="https://www.nakatomishop.com/products/list?category_id=9">
  234.             <img class="fit-picture_a" src="https://nakatomishop.sakura.ne.jp/prod/merchandiseimage/25summer/OP_etc_300_300.png"></a>    
  235.             <p class="pexample_g2">【その他】一覧へ移動</p>    
  236.             </div>   
  237.             <div class="box_g2">  
  238.             <a href="https://www.nakatomishop.com/products/list?category_id=75">
  239.             <p class="pexample_g4">【電気ファンヒーター】一覧へ移動</p></a>
  240.             </div>      
  241.         </div>           
  242.     </div>   
  243. </div>
  244. {% endblock %}