|
|
| خط ۷٬۳۲۶: |
خط ۷٬۳۲۶: |
| } | | } |
| } | | } |
|
| |
| /* تمام صفحه کردن عرض برخی صفحات با الگو:تمام صفحه */
| |
|
| |
| /* استایل مخصوص برای صفحاتی که کلاس full-width-mode دارند */
| |
| body.full-width-mode #content,
| |
| body.full-width-mode .mw-body,
| |
| body.full-width-mode #bodyContent {
| |
| width: 95% !important;
| |
| max-width: none !important;
| |
| margin-left: auto !important;
| |
| margin-right: auto !important;
| |
| }
| |
|
| |
| body.full-width-mode .mw-body-content {
| |
| width: 100% !important;
| |
| }
| |
| /* این کد باعث میشود وقتی تگ مخفی الگو در صفحه بود، بدنه سایت تغییر شکل دهد */
| |
| body:has(.full-width-trigger) #content,
| |
| body:has(.full-width-trigger) .mw-body,
| |
| body:has(.full-width-trigger) #bodyContent {
| |
| width: 95% !important;
| |
| max-width: none !important;
| |
| margin-left: auto !important;
| |
| margin-right: auto !important;
| |
| }
| |
|
| |
| body:has(.full-width-trigger) .mw-body-content {
| |
| width: 100% !important;
| |
| }
| |
|
| |
| /* پایان کد عریض کردن صفحات */
| |