|
|
| خط ۲۰: |
خط ۲۰: |
|
| |
|
|
| |
|
| /* ==================================================== */
| |
| /* تنظیمات باکس اطلاعات جامع (تطبیق یافته با وزیرمتن) */
| |
| /* ==================================================== */
| |
|
| |
|
| /* استایل کلی باکس */
| | .infobox-universal{ |
| .infobox-universal { | | float:left; |
| float: left;
| | width:320px; |
| clear: left;
| | background:#f8f9fa; |
| width: 300px;
| | border:1px solid #aaa; |
| background-color: #f8f9fa;
| | border-radius:6px; |
| border: 1px solid #a2a9b1;
| | border-collapse:collapse; |
| margin: 0.5em 1em 0.5em 0;
| | margin:0 15px 10px 0; |
| font-size: 90%;
| | font-size:90%; |
| line-height: 1.5;
| |
| border-collapse: collapse;
| |
| direction: rtl;
| |
| text-align: center;
| |
| } | | } |
|
| |
|
| /* استایل عنوان اصلی باکس */
| | .infobox-universal th{ |
| .infobox-universal th { | | background:#b0c4de; |
| background-color: #b0c4de;
| | padding:8px; |
| padding: 0.5em;
| | text-align:center; |
| font-weight: bold;
| | font-weight:bold; |
| font-size: 1.1em;
| | font-size:110%; |
| color: black;
| |
| font-family: 'Vazirmatn', Tahoma, sans-serif !important;
| |
| } | | } |
|
| |
|
| /* استایل خانههای باکس */
| | .infobox-universal td{ |
| .infobox-universal td { | | padding:5px 7px; |
| padding: 5px;
| | border-bottom:1px solid #e0e0e0; |
| border-bottom: 1px solid #e0e0e0;
| |
| vertical-align: middle;
| |
| } | | } |
|
| |
|
| /* استایل لیبلها (ستون سمت راست داخل باکس) */
| | .infobox-label{ |
| .infobox-label { | | background:#eef3fb; |
| background-color: #eef;
| | font-weight:bold; |
| font-weight: bold;
| | width:40%; |
| width: 35%;
| |
| } | | } |
|
| |
|
| /* ==================================================== */
| | .infobox-section td{ |
| /* ترفند نهایی برای وسطچین قطعی تصاویر */
| | background:#e8cce8; |
| /* ==================================================== */
| | font-weight:bold; |
| | text-align:center; |
| | } |
|
| |
|
| /* این دستور تصاویر را به صورت یک بلوک مستقل تبدیل میکند
| | .infobox-image td{ |
| و با فاصله خودکار از چپ و راست، دقیقاً وسط قرار میدهد. */
| | text-align:center; |
| .infobox-universal td img { | | padding:8px; |
| display: block;
| |
| margin-left: auto;
| |
| margin-right: auto;
| |
| max-width: 100%;
| |
| height: auto;
| |
| } | | } |