مدیاویکی:Common.css: تفاوت بین نسخه‌ها

از irPress.org
پرش به ناوبری پرش به جستجو
سطر ۵۰: سطر ۵۰:
 
table.gmbox-protection {
 
table.gmbox-protection {
 
     border-right: 10px solid #bba;      /* Gray-gold */
 
     border-right: 10px solid #bba;      /* Gray-gold */
 +
}
 +
 +
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 +
 +
div.Boxmerge,
 +
div.NavFrame {
 +
    margin: 0px;
 +
    padding: 4px;
 +
    border: 1px solid #aaa;
 +
    text-align: center;
 +
    border-collapse: collapse;
 +
    font-size: 95%;
 +
}
 +
div.Boxmerge div.NavFrame {
 +
    border-style: none;
 +
    border-style: hidden;
 +
}
 +
div.NavFrame + div.NavFrame {
 +
    border-top-style: none;
 +
    border-top-style: hidden;
 +
}
 +
div.NavPic {
 +
    background-color: #fff;
 +
    margin: 0px;
 +
    padding: 2px;
 +
    float: right;
 +
}
 +
div.NavFrame div.NavHead {
 +
    height: 1.6em;
 +
    font-weight: bold;
 +
    background-color: #ccf;
 +
    position:relative;
 +
}
 +
div.NavFrame div.NavHead:hover {
 +
        background-color: #aaf;
 +
}
 +
div.NavFrame p {
 +
    font-size: 100%;
 +
}
 +
div.NavFrame div.NavContent {
 +
    font-size: 100%;
 +
}
 +
div.NavFrame div.NavContent p {
 +
    font-size: 100%;
 +
}
 +
div.NavEnd {
 +
    margin: 0px;
 +
    padding: 0px;
 +
    line-height: 1px;
 +
    clear: both;
 +
}
 +
a.NavToggle {
 +
    position:absolute;
 +
    top:0px;
 +
    left:3px;
 +
    font-weight:normal;
 +
    font-size:smaller;
 +
}
 +
 +
/* Coloured watchlist numbers */
 +
.mw-plusminus-pos {
 +
    color: #006400; /* darkgreen */
 +
}
 +
 +
/* .mw-plusminus-null currently at developer default */
 +
 +
.mw-plusminus-neg {
 +
    color: #8B0000; /* darkred */
 +
}
 +
 +
.dablink {
 +
    font-style: italic;
 +
    padding-right: 2em;
 +
}
 +
 +
.dablink i {
 +
    font-style: normal;
 +
}
 +
 +
/* Style for horizontal UL lists */
 +
.horizontal ul {
 +
    padding: 0;
 +
    margin: 0;
 +
}
 +
 +
.horizontal li {
 +
    padding: 0 0.6em 0 0.4em;
 +
    display: inline;
 +
    border-left: 1px solid;
 
}
 
}

نسخهٔ ‏۱۲ اوت ۲۰۱۴، ساعت ۰۰:۲۸

/* دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند. */
/* Copied in the presence of jeremyb from */
/* https://fa.wikipedia.org/w/index.php?title=%D9%85%D8%AF%DB%8C%D8%A7%D9%88%DB%8C%DA%A9%DB%8C:Common.css&oldid=8608192 */
/* See also https://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css */
/* Article message box styles */
table.gmbox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa; 
    border-right: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb; 
}
table.gmbox + table.gmbox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.gmbox th.mbox-text, 
.gmbox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.gmbox td.mbox-image {           /* The left image cell */
    padding: 2px 0.5em 2px 0;    /* 0.5em right, 0px left */
}
.gmbox td.mbox-imageright {      /* The right image cell */
    padding: 2px 0 2px 0.5em;    /* 0px right, 0.5em left */
}
 
table.gmbox-notice {
    border-right: 10px solid #1e90ff;    /* Blue */
}

table.gmbox-info {
    border-right: 10px solid #008b00;    /* Green */
}

table.gmbox-speedy {
    border-right: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.gmbox-warning {
    border-right: 10px solid #b22222;    /* Red */
}
table.gmbox-content {
    border-right: 10px solid #f28500;    /* Orange */
}
table.gmbox-style {
    border-right: 10px solid #f4c430;    /* Yellow */
}
table.gmbox-move {
    border-right: 10px solid #9932cc;    /* Purple */
}
table.gmbox-protection {
    border-right: 10px solid #bba;       /* Gray-gold */
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
    margin: 0px;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0px;
    padding: 2px;
    float: right;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position:relative;
}
div.NavFrame div.NavHead:hover {
        background-color: #aaf;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position:absolute;
    top:0px;
    left:3px;
    font-weight:normal;
    font-size:smaller;
}
 
/* Coloured watchlist numbers */
.mw-plusminus-pos {
    color: #006400; /* darkgreen */
}
 
/* .mw-plusminus-null currently at developer default */
 
.mw-plusminus-neg {
    color: #8B0000; /* darkred */
}
 
.dablink {
    font-style: italic;
    padding-right: 2em;
}
 
.dablink i {
    font-style: normal;
}
 
/* Style for horizontal UL lists */
.horizontal ul {
    padding: 0;
    margin: 0;
}
 
.horizontal li { 
    padding: 0 0.6em 0 0.4em;
    display: inline;
    border-left: 1px solid;
}