MediaWiki:Monobook.css — различия между версиями
Материал из Librarium Elementum
| Строка 17: | Строка 17: | ||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
| + | -moz-border-radius-topleft: .5em; | ||
| + | -moz-border-radius-topright: .5em; | ||
| + | |||
} | } | ||
| Строка 70: | Строка 73: | ||
font-size: smaller; | font-size: smaller; | ||
} | } | ||
| + | |||
| + | /* Nice borders for (almost) all boxes */ | ||
| + | input[type="radio"], | ||
| + | input[type="checkbox"] { border:none; } | ||
| + | input[type="submit"] { | ||
| + | border: 1px solid #aaa !important; | ||
| + | background-color: #f9f9f9 !important; | ||
| + | } | ||
| + | /* make round corners for the rest */ | ||
| + | input[type="submit"] { | ||
| + | -moz-border-radius-topleft: 2px !important; | ||
| + | -moz-border-radius-topright: 2px !important; | ||
| + | -moz-border-radius-bottomleft: 2px; | ||
| + | -moz-border-radius-bottomright: 2px; | ||
| + | } | ||
| + | input[type="submit"] {color: #aaa !important;} | ||
| + | input[type="submit"]:hover, input[type="submit"]:focus {background-color: #fff !important; color: #000 !important; cursor: pointer !important;} | ||
Версия 18:31, 27 апреля 2009
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */
#content
{
-moz-border-radius-topleft: 1em;
-moz-border-radius-bottomleft: 1em;
}
div.pBody
{
-moz-border-radius-topright: 1em;
-moz-border-radius-bottomright: 1em;
}
#p-cactions li
{
position: relative;
float: left;
-moz-border-radius-topleft: .5em;
-moz-border-radius-topright: .5em;
}
#p-cactions li li
{
float: none;
display: block;
border-top: 1px solid lightgrey;
border-bottom: 1px solid lightgrey;
text-align: center;
background: #F8FCFF;
background-color: #F8FCFF;
-moz-border-radius-topleft: .0em;
-moz-border-radius-topright: .0em;
-moz-border-radius-bottomright: .0em;
-moz-border-radius-bottomleft: .0em;
}
.tabmenu ul
{
display: none;
z-index: 2;
position: relative;
top: -2px;
border-top: 1px solid #aaaaaa;
padding: 0px;
margin: 0px;
background: #F8FCFF;
background-color: grey;
}
.tabmenu:hover ul
{
display: block;
}
.tabmenu a
{
padding: 0pt 0.8em !important;
background: #F8FCFF;
background-color: #F8FCFF;
}
.tabmenu ul a:hover
{
font-weight: bold;
}
/* (show/hide) revision deletion links */
span.mw-revdelundel-link,
strong.mw-revdelundel-link {
font-family: monospace;
font-size: smaller;
}
/* Nice borders for (almost) all boxes */
input[type="radio"],
input[type="checkbox"] { border:none; }
input[type="submit"] {
border: 1px solid #aaa !important;
background-color: #f9f9f9 !important;
}
/* make round corners for the rest */
input[type="submit"] {
-moz-border-radius-topleft: 2px !important;
-moz-border-radius-topright: 2px !important;
-moz-border-radius-bottomleft: 2px;
-moz-border-radius-bottomright: 2px;
}
input[type="submit"] {color: #aaa !important;}
input[type="submit"]:hover, input[type="submit"]:focus {background-color: #fff !important; color: #000 !important; cursor: pointer !important;}