|
|
خط ۱٬۶۲۴: |
خط ۱٬۶۲۴: |
|
| |
|
| /* ---------------- لطفاً کدهای از اینجا به بعد را تغییر ندهید ------------------- */ | | /* ---------------- لطفاً کدهای از اینجا به بعد را تغییر ندهید ------------------- */ |
| /* Style for horizontal lists (separator following item) */
| |
|
| |
| .skin-monobook .hlist dl,
| |
| .skin-modern .hlist dl,
| |
| .skin-vector .hlist dl {
| |
| line-height: 1.5em;
| |
| }
| |
| /* Style for horizontal lists (separator following item).
| |
| IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
| |
| @source mediawiki.org/wiki/Snippets/Horizontal_lists
| |
| @revision 5 (2014-02-24)
| |
| @author [[User:Edokter]]
| |
| */
| |
| .hlist dl,
| |
| .hlist ol,
| |
| .hlist ul {
| |
| margin: 0;
| |
| padding: 0;
| |
| }
| |
| /* Display list items inline */
| |
| .hlist dd,
| |
| .hlist dt,
| |
| .hlist li {
| |
| margin: 0;
| |
| display: inline;
| |
| }
| |
| /* Display nested lists inline */
| |
| .hlist.inline,
| |
| .hlist.inline dl,
| |
| .hlist.inline ol,
| |
| .hlist.inline ul,
| |
| .hlist dl dl, .hlist dl ol, .hlist dl ul,
| |
| .hlist ol dl, .hlist ol ol, .hlist ol ul,
| |
| .hlist ul dl, .hlist ul ol, .hlist ul ul {
| |
| display: inline;
| |
| }
| |
| /* Generate interpuncts */
| |
| .hlist dt:after {
| |
| content: ": ";
| |
| }
| |
| .hlist dd:after,
| |
| .hlist li:after {
| |
| content: " •";
| |
| /*font-weight: bold;*/
| |
| }
| |
| .hlist dd:last-child:after,
| |
| .hlist dt:last-child:after,
| |
| .hlist li:last-child:after {
| |
| content: none;
| |
| }
| |
| /* For IE8 */
| |
| .hlist dd.hlist-last-child:after,
| |
| .hlist dt.hlist-last-child:after,
| |
| .hlist li.hlist-last-child:after {
| |
| content: none;
| |
| }
| |
| /* Add parentheses around nested lists */
| |
| .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
| |
| .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
| |
| .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
| |
| content: " (";
| |
| font-weight: normal;
| |
| }
| |
| .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
| |
| .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
| |
| .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
| |
| content: ") ";
| |
| font-weight: normal;
| |
| }
| |
| /* For IE8 */
| |
| .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
| |
| .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
| |
| .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
| |
| content: ") ";
| |
| font-weight: normal;
| |
| }
| |
| /* Put ordinals in front of ordered list items */
| |
| .hlist ol {
| |
| counter-reset: listitem;
| |
| }
| |
| .hlist ol > li {
| |
| counter-increment: listitem;
| |
| }
| |
| .hlist ol > li:before {
| |
| content: " " counter(listitem) " ";
| |
| content: " " counter(listitem, -moz-persian) " ";
| |
| content: " " counter(listitem, persian) " ";
| |
| white-space: nowrap;
| |
| }
| |
| .hlist dd ol > li:first-child:before,
| |
| .hlist dt ol > li:first-child:before,
| |
| .hlist li ol > li:first-child:before {
| |
| content: " (" counter(listitem) " ";
| |
| content: " (" counter(listitem, -moz-persian) " ";
| |
| content: " (" counter(listitem, persian) " ";
| |
| }
| |
|
| |
| /* فهرست بدون گلوله */
| |
| .plainlist ul {
| |
| line-height: inherit;
| |
| list-style: none none;
| |
| margin: 0;
| |
| }
| |
| .plainlist ul li {
| |
| margin-bottom: 0;
| |
| }
| |
|
| |
| /* Normal font styling for table row headers with scope="row" tag */
| |
| .wikitable.plainrowheaders th[scope=row] {
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
|
| |
| /* Lists in data cells are always left-aligned */
| |
| .wikitable td ul,
| |
| .wikitable td ol,
| |
| .wikitable td dl {
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| /* ...unless they also use the hlist class */
| |
| .wikitable.hlist td ul,
| |
| .wikitable.hlist td ol,
| |
| .wikitable.hlist td dl {
| |
| text-align: inherit;
| |
| }
| |
|
| |
| /* Default style for navigation boxes */
| |
| .navbox { /* Navbox container style */
| |
| border: 1px solid #aaa;
| |
| width: 100%;
| |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| }
| |
| .navbox-inner,
| |
| .navbox-subgroup {
| |
| width: 100%;
| |
| }
| |
| .navbox-group,
| |
| .navbox-title,
| |
| .navbox-abovebelow {
| |
| padding: 0.25em 1em; /* Title, group and above/below styles */
| |
| line-height: 1.5em;
| |
| text-align: center;
| |
| }
| |
| th.navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| /* @noflip */
| |
| text-align: right;
| |
| }
| |
| .navbox,
| |
| .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| line-height: 1.8em;
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| }
| |
| .navbox th,
| |
| .navbox-title {
| |
| background: #ccccff; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow,
| |
| th.navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background: #ddddff; /* Level 2 color */
| |
| }
| |
| .navbox-subgroup .navbox-group,
| |
| .navbox-subgroup .navbox-abovebelow {
| |
| background: #e6e6ff; /* Level 3 color */
| |
| }
| |
| .navbox-even {
| |
| background: #f7f7f7; /* Even row striping */
| |
| }
| |
| .navbox-odd {
| |
| background: transparent; /* Odd row striping */
| |
| }
| |
| table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
| |
| margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| |
| }
| |
| .navbox .hlist td dl,
| |
| .navbox .hlist td ol,
| |
| .navbox .hlist td ul,
| |
| .navbox td.hlist dl,
| |
| .navbox td.hlist ol,
| |
| .navbox td.hlist ul {
| |
| padding: 0.125em 0; /* Adjust hlist padding in navboxes */
| |
| }
| |
| ol + table.navbox,
| |
| ul + table.navbox {
| |
| margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
| |
| }
| |
|
| |
| /* Default styling for Navbar template */
| |
| .navbar {
| |
| display: inline;
| |
| font-size: 88%;
| |
| font-weight: normal;
| |
| }
| |
| .navbar ul {
| |
| display: inline;
| |
| white-space: nowrap;
| |
| }
| |
| .navbar li {
| |
| word-spacing: -0.125em;
| |
| }
| |
| .navbar.mini li { /* span is removed */
| |
| font-size: xx-small;
| |
| }
| |
| .nv-talk > a {
| |
| color: #002BB8;
| |
| }
| |
| /* Navbar styling when nested in infobox and navbox */
| |
| .infobox .navbar {
| |
| font-size: 100%;
| |
| }
| |
| .navbox .navbar {
| |
| display: block;
| |
| font-size: 100%;
| |
| }
| |
| .navbox-title .navbar {
| |
| /* @noflip */
| |
| float: right;
| |
| /* @noflip */
| |
| text-align: right;
| |
| /* @noflip */
| |
| margin-left: 0.5em;
| |
| width: 6em;
| |
| }
| |
|
| |
| /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
| |
| in [[MediaWiki:Common.js]] are styled here so they can be customised. */
| |
| .collapseButton {
| |
| /* @noflip */
| |
| float: left;
| |
| font-weight: normal;
| |
| /* @noflip */
| |
| margin-right: 0.5em;
| |
| /* @noflip */
| |
| text-align: left;
| |
| width: auto;
| |
| }
| |
| /* In navboxes, the show/hide button balances the v·d·e links
| |
| from [[Template:Navbar]], so they need to be the same width. */
| |
| .navbox .collapseButton {
| |
| width: 6em;
| |
| }
| |
| /* Infobox template style */ | | /* Infobox template style */ |
| .infobox { | | .infobox { |