مدیاویکی:Common.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| خط ۹۶: | خط ۹۶: | ||
sup, sub { | sup, sub { | ||
line-height: 1em; | line-height: 1em; | ||
} | } | ||
| خط ۱۱۴: | خط ۱۱۴: | ||
} | } | ||
.mw-body h1, | .mw-body h1, | ||
.mw-body #firstHeading { | .mw-body #firstHeading { | ||
| خط ۱۵۳: | خط ۱۵۲: | ||
7. Main Page Customizations | 7. Main Page Customizations | ||
============================================================ */ | ============================================================ */ | ||
body.page-ویکیپدیا_صفحه_تمرین #ca-edit, | body.page-ویکیپدیا_صفحه_تمرین #ca-edit, | ||
body.page-ویکیپدیا_آشنایی #ca-edit { | body.page-ویکیپدیا_آشنایی #ca-edit { | ||
| خط ۱۶۴: | خط ۱۶۲: | ||
} | } | ||
body.page-صفحهٔ_اصلی #mp-topbanner { | body.page-صفحهٔ_اصلی #mp-topbanner { | ||
clear: both; | clear: both; | ||
} | } | ||
body.page-صفحهٔ_اصلی #ca-delete, | body.page-صفحهٔ_اصلی #ca-delete, | ||
body.page-صفحهٔ_اصلی #deleteconfirm, | body.page-صفحهٔ_اصلی #deleteconfirm, | ||
| خط ۲۲۱: | خط ۲۱۷: | ||
} | } | ||
@media screen, handheld, projection { | @media screen, handheld, projection { | ||
cite *.printonly { | cite *.printonly { | ||
| خط ۲۵۱: | خط ۲۴۲: | ||
} | } | ||
.hlist.inline, | .hlist.inline, | ||
.hlist.inline dl, | .hlist.inline dl, | ||
| خط ۲۶۲: | خط ۲۵۲: | ||
} | } | ||
.hlist dt:after { | .hlist dt:after { | ||
content: ": "; | content: ": "; | ||
| خط ۲۹۲: | خط ۲۸۱: | ||
} | } | ||
.hlist ol { | .hlist ol { | ||
counter-reset: listitem; | counter-reset: listitem; | ||
| خط ۳۳۱: | خط ۳۱۹: | ||
} | } | ||
html[dir=rtl] .wikitable td ul, | html[dir=rtl] .wikitable td ul, | ||
html[dir=rtl] .wikitable td ol, | html[dir=rtl] .wikitable td ol, | ||
| خط ۳۶۶: | خط ۳۵۳: | ||
} | } | ||
.infobox .navbar { | .infobox .navbar { | ||
font-size: 100%; | font-size: 100%; | ||
| خط ۳۸۳: | خط ۳۶۹: | ||
/* ============================================================ | /* ============================================================ | ||
14. Collapse Buttons | 14. Collapse Buttons | ||
============================================================ */ | ============================================================ */ | ||
.collapseButton { | .collapseButton { | ||
| خط ۴۸۰: | خط ۴۶۶: | ||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| خط ۵۰۴: | خط ۴۸۹: | ||
} | } | ||
.infobox.sisterproject { | .infobox.sisterproject { | ||
width: 20em; | width: 20em; | ||
| خط ۵۱۰: | خط ۴۹۴: | ||
} | } | ||
.infobox.geography { | .infobox.geography { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
| خط ۵۷۲: | خط ۵۵۵: | ||
17. Persondata and Metadata (hidden) | 17. Persondata and Metadata (hidden) | ||
============================================================ */ | ============================================================ */ | ||
table.InChI, | table.InChI, | ||
table.persondata { | table.persondata { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
| خط ۵۷۸: | خط ۵۶۱: | ||
speak: none; | speak: none; | ||
} | } | ||
.InChI-label, | .InChI-label, | ||
.persondata-label { | .persondata-label { | ||
color: #a2a9b1; | color: #a2a9b1; | ||
| خط ۶۲۷: | خط ۶۱۰: | ||
/* ============================================================ | /* ============================================================ | ||
20. Column Layouts | 20. Column Layouts | ||
============================================================ */ | ============================================================ */ | ||
div.columns-2 div.column { | div.columns-2 div.column { | ||
| خط ۶۶۸: | خط ۶۵۱: | ||
/* ============================================================ | /* ============================================================ | ||
22. Messagebox Templates | 22. Messagebox Templates | ||
============================================================ */ | ============================================================ */ | ||
.messagebox { | .messagebox { | ||
| خط ۷۱۷: | خط ۷۰۰: | ||
margin: 0px 10%; | margin: 0px 10%; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-right: 10px solid #36c; | border-right: 10px solid #36c; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
} | } | ||
| خط ۷۳۴: | خط ۷۱۷: | ||
} | } | ||
table.ambox-notice { border-right: 10px solid #36c; } | |||
table.ambox-notice { | table.ambox-speedy { border-right: 10px solid #DD0000; background: #fee7e6; } | ||
table.ambox-delete { border-right: 10px solid #DD0000; } | |||
} | table.ambox-content { border-right: 10px solid #FF5D00; } | ||
table.ambox-speedy { | table.ambox-style { border-right: 10px solid #fc3; } | ||
table.ambox-move { border-right: 10px solid #9932cc; } | |||
table.ambox-protection { border-right: 10px solid #a2a9b1; } | |||
} | |||
table.ambox-delete { | |||
} | |||
table.ambox-content { | |||
} | |||
table.ambox-style { | |||
} | |||
table.ambox-move { | |||
} | |||
table.ambox-protection { | |||
} | |||
| خط ۷۸۱: | خط ۷۴۸: | ||
background: #f8f9fa; | background: #f8f9fa; | ||
} | } | ||
table.fmbox-system { | table.fmbox-system { background: var(--background-color-interactive-subtle, #f8f9fa); } | ||
table.fmbox-warning { border: 1px solid #DD0000; background: var(--background-color-destructive-subtle, #fee7e6); } | |||
} | table.fmbox-editnotice { background: transparent; } | ||
table.fmbox-warning { | |||
} | |||
table.fmbox-editnotice { | |||
} | |||
div.mw-warning-with-logexcerpt, | div.mw-warning-with-logexcerpt, | ||
div.mw-lag-warn-high, | div.mw-lag-warn-high, | ||
| خط ۸۰۳: | خط ۷۶۲: | ||
padding: 0.25em 0.9em; | padding: 0.25em 0.9em; | ||
} | } | ||
div.mw-lag-warn-normal, | div.mw-lag-warn-normal, | ||
div.fmbox-system { | div.fmbox-system { | ||
| خط ۸۲۴: | خط ۷۸۲: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
table.ombox-notice { | table.ombox-notice { border: 1px solid #a2a9b1; } | ||
table.ombox-speedy { border: 2px solid #b32424; background-color: #fee7e6; } | |||
} | table.ombox-delete { border: 2px solid #b32424; } | ||
table.ombox-speedy { | table.ombox-content { border: 1px solid #f28500; } | ||
table.ombox-style { border: 1px solid #fc3; } | |||
table.ombox-move { border: 1px solid #9932cc; } | |||
} | table.ombox-protection { border: 2px solid #a2a9b1; } | ||
table.ombox-delete { | |||
} | |||
table.ombox-content { | |||
} | |||
table.ombox-style { | |||
} | |||
table.ombox-move { | |||
} | |||
table.ombox-protection { | |||
} | |||
| خط ۱٬۰۷۸: | خط ۱٬۰۲۱: | ||
37. Geographical Coordinates | 37. Geographical Coordinates | ||
============================================================ */ | ============================================================ */ | ||
.geo-default { | .geo-default { display: inline; } | ||
.geo-nondefault { display: none; } | |||
} | .geo-dms { display: inline; } | ||
.geo-nondefault { | .geo-dec { display: inline; } | ||
.geo-multi-punct { display: none; } | |||
} | .longitude .latitude { white-space: nowrap; } | ||
.geo-dms { | |||
} | |||
.geo-dec { | |||
} | |||
.geo-multi-punct { | |||
} | |||
.longitude .latitude { | |||
| خط ۱٬۱۱۷: | خط ۱٬۰۴۷: | ||
} | } | ||
.toclimit-2 .toclevel-2 { display: none; } | .toclimit-2 .toclevel-2 { display: none; } | ||
.toclimit-3 .toclevel-3 { display: none; } | .toclimit-3 .toclevel-3 { display: none; } | ||
| خط ۱٬۱۲۷: | خط ۱٬۰۵۶: | ||
/* ============================================================ | /* ============================================================ | ||
39. Listify | 39. Listify | ||
============================================================ */ | ============================================================ */ | ||
.listify td { display: list-item; } | .listify td { display: list-item; } | ||
.listify tr { display: block; } | .listify tr { display: block; } | ||
.listify table { display: block; } | .listify table { display: block; } | ||
| خط ۱٬۱۷۳: | خط ۱٬۱۰۲: | ||
/* ============================================================ | /* ============================================================ | ||
44. Message Box Cell Sizing | 44. Message Box Cell Sizing | ||
============================================================ */ | ============================================================ */ | ||
th.mbox-text, | th.mbox-text, | ||
| خط ۱٬۱۹۴: | خط ۱٬۱۲۳: | ||
/* ============================================================ | /* ============================================================ | ||
45 | 45. WikiProject Banner Headers | ||
============================================================ */ | ============================================================ */ | ||
.wpbs-inner .wpb .wpb-header { | .wpbs-inner .wpb .wpb-header { | ||
| خط ۱٬۲۰۸: | خط ۱٬۱۳۱: | ||
/* ============================================================ | /* ============================================================ | ||
46. Abuse Filter Tag Styling | |||
============================================================ */ | ============================================================ */ | ||
.mw-tag-markers { | .mw-tag-markers { | ||
| خط ۱٬۲۱۷: | خط ۱٬۱۴۰: | ||
/* ============================================================ | /* ============================================================ | ||
47. Hide Special Permission Elements | |||
============================================================ */ | ============================================================ */ | ||
.checkuser-show, | .checkuser-show, | ||
| خط ۱٬۲۳۲: | خط ۱٬۱۵۵: | ||
/* ============================================================ | /* ============================================================ | ||
48. Hieroglyph Table | |||
============================================================ */ | ============================================================ */ | ||
.mw-hierotable, | .mw-hierotable, | ||
| خط ۱٬۲۴۶: | خط ۱٬۱۶۹: | ||
/* ============================================================ | /* ============================================================ | ||
49. Template:Ref Printing Workaround | |||
============================================================ */ | ============================================================ */ | ||
.plainlinksneverexpand a.external.text:after, | .plainlinksneverexpand a.external.text:after, | ||
| خط ۱٬۲۵۵: | خط ۱٬۱۷۸: | ||
/* ============================================================ | /* ============================================================ | ||
50. Main Page Globe Icon | |||
============================================================ */ | ============================================================ */ | ||
.globegris { | .globegris { | ||
| خط ۱٬۲۶۳: | خط ۱٬۱۸۶: | ||
/* ============================================================ | /* ============================================================ | ||
51. Preferences Section | |||
============================================================ */ | ============================================================ */ | ||
.prefsection fieldset { | .prefsection fieldset { | ||
| خط ۱٬۲۷۱: | خط ۱٬۱۹۴: | ||
/* ============================================================ | /* ============================================================ | ||
52. Hidden Categories Font Size | |||
============================================================ */ | ============================================================ */ | ||
#mw-hidden-catlinks { | #mw-hidden-catlinks { | ||
| خط ۱٬۲۷۹: | خط ۱٬۲۰۲: | ||
/* ============================================================ | /* ============================================================ | ||
53. Listify Spacing | |||
============================================================ */ | ============================================================ */ | ||
.listify { | .listify { | ||
| خط ۱٬۲۸۸: | خط ۱٬۲۱۱: | ||
/* ============================================================ | /* ============================================================ | ||
54. Filter Rules Direction | |||
============================================================ */ | ============================================================ */ | ||
#wpFilterRules { | #wpFilterRules { | ||
| خط ۱٬۲۹۶: | خط ۱٬۲۱۹: | ||
/* ============================================================ | /* ============================================================ | ||
55. Edit Summary Bidi Fixes | |||
============================================================ */ | ============================================================ */ | ||
.comment > span { | .comment > span { | ||
| خط ۱٬۳۰۸: | خط ۱٬۲۳۱: | ||
/* ============================================================ | /* ============================================================ | ||
56. Upload Description Height | |||
============================================================ */ | ============================================================ */ | ||
#wpUploadDescription { | #wpUploadDescription { | ||
| خط ۱٬۳۱۶: | خط ۱٬۲۳۹: | ||
/* ============================================================ | /* ============================================================ | ||
57. User Comment Highlighter | |||
============================================================ */ | ============================================================ */ | ||
.mycomment { | .mycomment { | ||
| خط ۱٬۳۲۴: | خط ۱٬۲۴۷: | ||
/* ============================================================ | /* ============================================================ | ||
58. Pie Chart Test: Transparent Borders | |||
============================================================ */ | ============================================================ */ | ||
.transborder { | .transborder { | ||
| خط ۱٬۳۳۲: | خط ۱٬۲۵۵: | ||
/* ============================================================ | /* ============================================================ | ||
59. Hide Edittools Base | |||
============================================================ */ | ============================================================ */ | ||
#mw-edittools-charinsert { | #mw-edittools-charinsert { | ||
| خط ۱٬۳۴۰: | خط ۱٬۲۶۳: | ||
/* ============================================================ | /* ============================================================ | ||
60. Category Tree Styling | |||
============================================================ */ | ============================================================ */ | ||
#mw-subcategories ul { | #mw-subcategories ul { | ||
| خط ۱٬۳۵۸: | خط ۱٬۲۸۱: | ||
/* ============================================================ | /* ============================================================ | ||
61. Notice for Sandbox Pages | |||
============================================================ */ | ============================================================ */ | ||
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after { | body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after { | ||
| خط ۱٬۳۷۰: | خط ۱٬۲۹۳: | ||
/* ============================================================ | /* ============================================================ | ||
62. Recent Changes Font Adjustments | |||
============================================================ */ | ============================================================ */ | ||
.mw-fr-reviewlink, | .mw-fr-reviewlink, | ||
| خط ۱٬۳۸۱: | خط ۱٬۳۰۴: | ||
/* ============================================================ | /* ============================================================ | ||
63. Temporary Fixes (jQuery UI) | |||
============================================================ */ | ============================================================ */ | ||
.ui-dialog { | .ui-dialog { | ||
| خط ۱٬۳۹۲: | خط ۱٬۳۱۵: | ||
/* ============================================================ | /* ============================================================ | ||
64. Hide Checkboxes in Inputbox | |||
============================================================ */ | ============================================================ */ | ||
.inputbox-hidecheckboxes form .inputbox-element { | .inputbox-hidecheckboxes form .inputbox-element { | ||
| خط ۱٬۴۰۰: | خط ۱٬۳۲۳: | ||
/* ============================================================ | /* ============================================================ | ||
65. Tag Highlighter Visibility | |||
============================================================ */ | ============================================================ */ | ||
.mw-tag-marker-نیازمند_بازبینی { | .mw-tag-marker-نیازمند_بازبینی { | ||
| خط ۱٬۴۰۸: | خط ۱٬۳۳۱: | ||
/* ============================================================ | /* ============================================================ | ||
66. Reduce Page Jumps for Watchlist | |||
============================================================ */ | ============================================================ */ | ||
.client-js .mw-special-Watchlist #watchlist-message { | .client-js .mw-special-Watchlist #watchlist-message { | ||
| خط ۱٬۴۱۶: | خط ۱٬۳۳۹: | ||
/* ============================================================ | /* ============================================================ | ||
67. Emphasize Create Article Links | |||
============================================================ */ | ============================================================ */ | ||
.mw-warning-with-logexcerpt a[title="ویکیپدیا:ایجاد مقاله"] { | .mw-warning-with-logexcerpt a[title="ویکیپدیا:ایجاد مقاله"] { | ||
| خط ۱٬۴۲۵: | خط ۱٬۳۴۸: | ||
/* ============================================================ | /* ============================================================ | ||
68. Admin Editing Protected Page | |||
============================================================ */ | ============================================================ */ | ||
.mw-textarea-protected { | .mw-textarea-protected { | ||
| خط ۱٬۴۳۳: | خط ۱٬۳۵۶: | ||
/* ============================================================ | /* ============================================================ | ||
69. Color Diff Links | |||
============================================================ */ | ============================================================ */ | ||
.mw-diff-undo a, | .mw-diff-undo a, | ||
| خط ۱٬۴۴۶: | خط ۱٬۳۶۹: | ||
/* ============================================================ | /* ============================================================ | ||
70. Cite and dfn Styling | |||
============================================================ */ | ============================================================ */ | ||
cite, | cite, | ||
| خط ۱٬۴۵۵: | خط ۱٬۳۷۸: | ||
/* ============================================================ | /* ============================================================ | ||
71. LTR Citations | |||
============================================================ */ | ============================================================ */ | ||
li.mw-cite-dir-ltr { | li.mw-cite-dir-ltr { | ||
| خط ۱٬۴۶۹: | خط ۱٬۳۹۲: | ||
/* ============================================================ | /* ============================================================ | ||
72. Persian Alphabet Ordered List Counter | |||
============================================================ */ | ============================================================ */ | ||
@counter-style persian-alpha { | @counter-style persian-alpha { | ||
| خط ۱٬۴۸۵: | خط ۱٬۴۰۸: | ||
/* ============================================================ | /* ============================================================ | ||
73. Parsoid Cite Implementation | |||
============================================================ */ | ============================================================ */ | ||
.mw-ref > a[data-mw-group=lower-greek]::after { | .mw-ref > a[data-mw-group=lower-greek]::after { content: '[' counter(mw-Ref, lower-greek) ']'; } | ||
.mw-ref > a[data-mw-group=upper-roman]::after { content: '[' counter(mw-Ref, upper-roman) ']'; } | |||
} | .mw-ref > a[data-mw-group=upper-alpha]::after { content: '[' counter(mw-Ref, upper-alpha) ']'; } | ||
.mw-ref > a[data-mw-group=upper-roman]::after { | .mw-ref > a[data-mw-group=persian-alpha]::after { content: '[' counter(mw-Ref, persian-alpha) ']'; } | ||
.mw-ref > a[data-mw-group=lower-roman]::after { content: '[' counter(mw-Ref, lower-roman) ']'; } | |||
} | .mw-ref > a[data-mw-group=lower-alpha]::after { content: '[' counter(mw-Ref, lower-alpha) ']'; } | ||
.mw-ref > a[data-mw-group=upper-alpha]::after { | |||
} | |||
.mw-ref > a[data-mw-group=persian-alpha]::after { | |||
} | |||
.mw-ref > a[data-mw-group=lower-roman]::after { | |||
} | |||
.mw-ref > a[data-mw-group=lower-alpha]::after { | |||
} | |||
span[rel="mw:referencedBy"] > a::before { | span[rel="mw:referencedBy"] > a::before { | ||
content: counter(mw-references, persian) '٫' counter(mw-ref-linkback, persian); | content: counter(mw-references, persian) '٫' counter(mw-ref-linkback, persian); | ||
| خط ۱٬۵۱۱: | خط ۱٬۴۲۲: | ||
/* ============================================================ | /* ============================================================ | ||
74. Table Alignment Adjustments | |||
============================================================ */ | ============================================================ */ | ||
table[align="left"] { | table[align="left"] { | ||
| خط ۱٬۵۲۳: | خط ۱٬۴۳۴: | ||
/* ============================================================ | /* ============================================================ | ||
75. User-select Prevention for Indicators | |||
============================================================ */ | ============================================================ */ | ||
.mw-indicator, | .mw-indicator, | ||
| خط ۱٬۵۳۶: | خط ۱٬۴۴۷: | ||
/* ============================================================ | /* ============================================================ | ||
76. Title Padding for Italic Headings | |||
============================================================ */ | ============================================================ */ | ||
html[dir=rtl] #firstHeading > i:first-child { | html[dir=rtl] #firstHeading > i:first-child { | ||
| خط ۱٬۵۴۴: | خط ۱٬۴۵۵: | ||
/* ============================================================ | /* ============================================================ | ||
77. Persian Numerals for Static Row Numbers | |||
============================================================ */ | ============================================================ */ | ||
body:not(.skin-minerva) .static-row-numbers.sortable tbody tr:not(.static-row-header):not(.static-row-numbers-norank)::before, | body:not(.skin-minerva) .static-row-numbers.sortable tbody tr:not(.static-row-header):not(.static-row-numbers-norank)::before, | ||
| خط ۱٬۵۵۴: | خط ۱٬۴۶۵: | ||
/* ============================================================ | /* ============================================================ | ||
78. Dark Mode Background Fix | |||
============================================================ */ | ============================================================ */ | ||
html.skin-theme-clientpref-night { | html.skin-theme-clientpref-night { | ||
| خط ۱٬۵۶۷: | خط ۱٬۴۷۸: | ||
/* ============================================================ | /* ============================================================ | ||
79. Main Page Logos (section icons) | |||
============================================================ */ | ============================================================ */ | ||
#mp-article .mp-h2 span:before, | #mp-article .mp-h2 span:before, | ||
| خط ۱٬۵۷۶: | خط ۱٬۴۸۷: | ||
background: url('https://imamreza.org/w/images/6/64/Favicon.ico') no-repeat center center; | background: url('https://imamreza.org/w/images/6/64/Favicon.ico') no-repeat center center; | ||
} | } | ||
/* ============================================================ | |||
Design by ali.jafari | @elnino799 | |||
============================================================ */ | |||