Шаблон:WeaponBlock-styles

 

   ,  
  <style>
  .weapon_block {
    border: 2px solid #aaa;
    height: 125px;
    width: 267px;
  }

  .weapon_block-name {
    color: #383838;
    margin: 0;
    padding: 0 3px;
    text-align: right;
    font-weight: 700;
    width: 100%;
    height: 20%;
  }

  .weapon_block-img {
    width: 100%;
    height: 60%;
  }

  .weapon_block-img a {
    width: 100%;
    margin: auto;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  #content .weapon_block-img img {
    max-height: 80px !important;
    max-width: 225px;
    width: auto;
  }

  .weapon_block-description {
    padding: 0 3px 2px;
    height: auto;
  }
</style>
 
Профиль