Difference between revisions of "User:Ilya/vector.css"
Line 145: | Line 145: | ||
/* @embed */ | /* @embed */ | ||
background-image: url(images/tab-current-fade.png); | background-image: url(images/tab-current-fade.png); | ||
+ | } | ||
+ | /* OVERRIDDEN BY COMPLIANT BROWSERS */ | ||
+ | div.vectorTabs li a { | ||
+ | display: inline-block; | ||
+ | height: 1.9em; | ||
+ | padding-left: 0.5em; | ||
+ | padding-right: 0.5em; | ||
+ | color: #0645ad; | ||
+ | cursor: pointer; | ||
+ | font-size: 0.8em; | ||
+ | } | ||
+ | /* IGNORED BY IE6 */ | ||
+ | div.vectorTabs li > a { | ||
+ | display: block; | ||
+ | } | ||
+ | div.vectorTabs li.icon a { | ||
+ | background-position: bottom right; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | /* OVERRIDDEN BY COMPLIANT BROWSERS */ | ||
+ | div.vectorTabs span a { | ||
+ | display: inline-block; | ||
+ | padding-top: 1.25em; | ||
+ | } | ||
+ | /* IGNORED BY IE6 */ | ||
+ | /* @noflip */ | ||
+ | div.vectorTabs span > a { | ||
+ | float: left; | ||
+ | display: block; | ||
+ | } | ||
+ | div.vectorTabs span { | ||
+ | display: inline-block; | ||
+ | /* @embed */ | ||
+ | background-image: url(images/tab-break.png); | ||
+ | background-position: bottom right; | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | div.vectorTabs li.selected a, | ||
+ | div.vectorTabs li.selected a:visited{ | ||
+ | color: #333333; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | div.vectorTabs li.new a, | ||
+ | div.vectorTabs li.new a:visited{ | ||
+ | color: #a55858; | ||
+ | } | ||
+ | /* Variants and Actions */ | ||
+ | /* @noflip */ | ||
+ | div.vectorMenu { | ||
+ | direction: ltr; | ||
+ | float: left; | ||
+ | /* @embed */ | ||
+ | background-image: url(images/arrow-down-icon.png); | ||
+ | background-position: 100% 60%; | ||
+ | background-repeat: no-repeat; | ||
+ | cursor: pointer; | ||
+ | } | ||
+ | div.vectorMenuFocus { | ||
+ | /* @embed */ | ||
+ | background-image: url(images/arrow-down-focus-icon.png); | ||
+ | background-position: 100% 60%; | ||
+ | } | ||
+ | /* @noflip */ | ||
+ | body.rtl div.vectorMenu { | ||
+ | direction: rtl; | ||
+ | } | ||
+ | /* OVERRIDDEN BY COMPLIANT BROWSERS */ | ||
+ | /* @noflip */ | ||
+ | div#mw-head div.vectorMenu h5 { | ||
+ | float: left; | ||
+ | /* @embed */ | ||
+ | background-image: url(images/tab-break.png); | ||
+ | background-repeat: no-repeat; | ||
+ | } | ||
+ | /* This will be flipped - unlike the one above it */ | ||
+ | div#mw-head div.vectorMenu h5 { | ||
+ | background-position: bottom left; | ||
+ | margin-left: -1px; | ||
+ | } | ||
+ | /* IGNORED BY IE6 */ | ||
+ | div#mw-head div.vectorMenu > h5 { | ||
+ | background-image: none; | ||
+ | } | ||
+ | div#mw-head div.vectorMenu h4 { | ||
+ | display: inline-block; | ||
+ | float: left; | ||
+ | font-size: 0.8em; | ||
+ | padding-left: 0.5em; | ||
+ | padding-top: 1.375em; | ||
+ | font-weight: normal; | ||
+ | border: none; | ||
} | } |
Revision as of 16:35, 5 July 2018
/* Framework */
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif;
font-size: 1em;
}
body {
background-color: #c4d6f4;
/* @embed */
background-image: url(images/page-base.png);
}
/* Content */
div#content {
margin-left: 10em;
padding: 1em;
/* @embed */
background-position: top left;
background-repeat: repeat-y;
background-color: white;
color: black;
direction: ltr;
}
/* Head */
#mw-page-base {
height: 5em;
background-color: #c4d6f4;
/* @embed Ilya_Nemenman*/
background-image: url(images/page-fade.png);
background-position: bottom left;
background-repeat: repeat-x;
}
#mw-head-base {
margin-top: -5em;
margin-left: 10em;
height: 5em;
/* @embed */
background-position: center left;
background-repeat: no-repeat;
}
div#mw-head {
position: absolute;
top: 0;
right: 0;
width: 100%;
}
div#mw-head h5 {
margin: 0;
padding: 0;
}
/* Hide empty portlets */
div.emptyPortlet {
display: none;
}
/* Personal */
#p-personal {
position: absolute;
top: 0;
right: 0.75em;
}
#p-personal h5 {
display: none;
}
#p-personal ul {
list-style: none;
margin: 0;
padding-left: 10em; /* Keep from overlapping logo */
}
/* @noflip */
#p-personal li {
line-height: 1.125em;
float: left;
}
/* This one flips! */
#p-personal li {
margin-left: 0.75em;
margin-top: 0.5em;
font-size: 0.75em;
white-space: nowrap;
}
/* Navigation Containers */
#left-navigation {
position: absolute;
left: 10em;
top: 2.5em;
}
#right-navigation {
float: right;
margin-top: 2.5em;
}
/* Navigation Labels */
div.vectorTabs h5,
div.vectorMenu h5 span {
display: none;
}
/* Namespaces and Views */
/* @noflip */
div.vectorTabs {
float: left;
height: 2.5em;
}
div.vectorTabs {
/* @embed */
background-image: url(images/tab-break.png);
background-position: bottom left;
background-repeat: no-repeat;
padding-left: 1px;
}
/* @noflip */
div.vectorTabs ul {
float: left;
}
div.vectorTabs ul {
height: 100%;
list-style: none;
margin: 0;
padding: 0;
}
/* @noflip */
div.vectorTabs ul li {
float: left;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs ul li {
line-height: 1.125em;
display: inline-block;
height: 100%;
margin: 0;
padding: 0;
background-color: #c4d6f4;
/* @embed */
background-image: url(images/tab-normal-fade.png);
background-position: bottom left;
background-repeat: repeat-x;
white-space:nowrap;
}
/* IGNORED BY IE6 */
div.vectorTabs ul > li {
display: block;
}
div.vectorTabs li.selected {
/* @embed */
background-image: url(images/tab-current-fade.png);
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs li a {
display: inline-block;
height: 1.9em;
padding-left: 0.5em;
padding-right: 0.5em;
color: #0645ad;
cursor: pointer;
font-size: 0.8em;
}
/* IGNORED BY IE6 */
div.vectorTabs li > a {
display: block;
}
div.vectorTabs li.icon a {
background-position: bottom right;
background-repeat: no-repeat;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
div.vectorTabs span a {
display: inline-block;
padding-top: 1.25em;
}
/* IGNORED BY IE6 */
/* @noflip */
div.vectorTabs span > a {
float: left;
display: block;
}
div.vectorTabs span {
display: inline-block;
/* @embed */
background-image: url(images/tab-break.png);
background-position: bottom right;
background-repeat: no-repeat;
}
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited{
color: #333333;
text-decoration: none;
}
div.vectorTabs li.new a,
div.vectorTabs li.new a:visited{
color: #a55858;
}
/* Variants and Actions */
/* @noflip */
div.vectorMenu {
direction: ltr;
float: left;
/* @embed */
background-image: url(images/arrow-down-icon.png);
background-position: 100% 60%;
background-repeat: no-repeat;
cursor: pointer;
}
div.vectorMenuFocus {
/* @embed */
background-image: url(images/arrow-down-focus-icon.png);
background-position: 100% 60%;
}
/* @noflip */
body.rtl div.vectorMenu {
direction: rtl;
}
/* OVERRIDDEN BY COMPLIANT BROWSERS */
/* @noflip */
div#mw-head div.vectorMenu h5 {
float: left;
/* @embed */
background-image: url(images/tab-break.png);
background-repeat: no-repeat;
}
/* This will be flipped - unlike the one above it */
div#mw-head div.vectorMenu h5 {
background-position: bottom left;
margin-left: -1px;
}
/* IGNORED BY IE6 */
div#mw-head div.vectorMenu > h5 {
background-image: none;
}
div#mw-head div.vectorMenu h4 {
display: inline-block;
float: left;
font-size: 0.8em;
padding-left: 0.5em;
padding-top: 1.375em;
font-weight: normal;
border: none;
}