User:George Orwell III/vector.css
Jump to navigation
Jump to search
Note: After saving, changes may not occur immediately. Click here to learn how to bypass your browser's cache.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (Cmd-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (Cmd-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Clear the cache in Tools → Preferences
For details and instructions about other browsers, see Wikipedia:Bypass your cache.
Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the central discussion page, Scriptorium. The code will be executed when previewing this page under some skins, including Monobook. You can in the interim if you wish to refresh the content sooner under another skin. |
The accompanying .js page for this skin is at User:George Orwell III/vector.js. |
body.page-Example div#content {
border-right-width: 1px;
}
body.page-Example div#mw-content-text {
padding-right: 3rem;
padding-left: 3rem;
margin-right: auto;
margin-left: auto;
}
@media (min-width: 768px) {
body.page-Example div.container {
width: 750px;
}
}
@media (min-width: 992px) {
body.page-Example div.container {
width: 970px;
}
}
@media (min-width: 1200px) {
body.page-Example div.container {
width: 1170px;
}
}
#flex-container {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
flex-direction: row;
}
#flex-container > .flex-item {
-webkit-flex: auto;
flex: auto;
}
#flex-container > .raw-item {
width: 5rem;
}
.hdng .mw-headlines {
display: none;
margin: 0;
}
/*
.mw-wiki-logo-text {
background-image: url(//upload.wikimedia.org/wikisource/en/d/d0/Wikisource-logotext.svg);
}
@media screen and (min-width: 1281px) and (max-width: 1366px) {
body.ns-0 div#regionContainer {
margin-right: auto;
margin-left: auto;
width: 60.00em;
}
}
*/
/* ######## TESTS OR TEMPS BELOW ######### */
body.page-User_Ineuw_Sandbox7.skin-vector div.mw-body {
/* background-color: #ffffff; */
/* @embed */
/* background-color: transparent; */
/* background-image: url('//upload.wikimedia.org/wikisource/en/d/d2/Lineheight22.gif'); */
}
body.page-User_Ineuw_Sandbox7.skin-vector div.mw-body-content#bodyContent {
/* font-size: 0.8750em; */
font-size: calc(1.00em * 0.8750);
/* line-height: 1.6; */
/* line-height: 1.5714285714285714285714285714286;*/
line-height: 1.5;
background-color: transparent;
background-image: url('//upload.wikimedia.org/wikisource/en/0/05/6x22yell%26blu.svg');
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}
body.page-User_Ineuw_Sandbox7.skin-vector div.mw-content-ltr#mw-content-text p {
/* font-size: 0.8750em; */
/* line-height: inherit; */
line-height: 1.5;
margin-top: calc(1.00em * 1.5);
margin-right: 0;
margin-bottom: calc(1.00em * 1.5);
margin-left: 0;
}
body.page-User_Ineuw_Sandbox7.skin-vector div.mw-body-content#bodyContent div#contentSub {
display: none;
}
/*
body .mw-body {
border-left-width: 0;
margin-left: 0;
}
#mw-navigation #left-navigation {
margin-left: 0;
}
#mw-navigation #p-logo {
top: -8.25em;
}
#mw-navigation #mw-panel #p-navigation {
background-image: none;
margin-top: 0px;
}
#mw-navigation #mw-panel {
position: absolute;
top: 0.33em;
right: auto;
margin-left: -10.00em;
z-index: 100;
}
#mw-navigation #mw-panel:hover {
background-color: #FAFAFA;
position: fixed;
top: 5.00em;
right: auto;
margin-left: 0;
}
@media screen {
#mw-panel {
left: 1.00em;
padding-top: 1.25em;
}
#p-namespaces {
margin-left: 1.00em;
}
}
@media screen and (min-width:982px) {
#mw-panel {
left: 1.50em;
padding-top: 0;
}
#p-namespaces {
margin-left: 1.50em;
}
}
*/
/*
* :empty {
background: lime;
min-height: 0.125em;
min-width: 0.125em;
visibility: visible;
}
*/
#p-lang-list:empty {
background: lime;
min-height: 0.1em;
min-width: 0.1em;
display: none;
visibility: hidden;
white-space: nowrap;
}
#p-lang-list:blank {
background: blue;
min-height: 0.5em;
min-width: 0.5em;
display: none;
visibility: hidden;
}
/* Prevent blurry images, such as 16x16 tiles being scaled up */
/* developer.mozilla.org/en-US/docs/Web/CSS/image-rendering */
a > img[src$=".gif"] {
image-rendering: optimizeSpeed; /* Legal fallback */
image-rendering: pixelated; /* Chrome */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Safari */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}
img[src$=".jpg"], img[src$=".jpeg"], a[href$=".jpg"], a[href$=".jpeg"] {
image-rendering: optimizeSpeed; /* Legal fallback */
image-rendering: pixelated; /* Chrome */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Safari */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: bicubic; /* IE8+ */
}
img[src$=".png"], a[href$=".png"] {
image-rendering: optimizeSpeed; /* Legal fallback */
image-rendering: pixelated; /* Chrome */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Safari */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: bicubic; /* IE8+ */
}
body.page-User_George_Orwell_III_Lofas.skin-vector div.mw-body {
background-color: #ffffff;
/* @embed */
/* background-color: transparent; */
/* background-image: url('//upload.wikimedia.org/wikisource/en/d/d2/Lineheight22.gif'); */
}
body.page-User_George_Orwell_III_Lofas.skin-vector div.mw-body-content#bodyContent {
/* font-size: 0.8750em; */
font-size: calc(1.00em * 0.8750);
/* line-height: 1.6; */
/* line-height: 1.5714285714285714285714285714286;*/
line-height: 1.5715;
/* background-color: transparent;*/
/* background-image: url('//upload.wikimedia.org/wikisource/en/8/8b/Lineheight21.gif');*/
/* background: -webkit-gradient(linear, 0 0, 0 100%, from(#a7d7f9), color-stop(4%, #ffffff)) 0 0;*/
background: -webkit-linear-gradient(top, #a7d7f9 calc(1.00em * 0.0715), #ffffff calc(1.00em * 0.1429)) 0 0;
background: -moz-linear-gradient(top, #a7d7f9 calc(1.00em * 0.0715), #ffffff calc(1.00em * 0.1429)) 0 0;
background: -o-linear-gradient(top, #a7d7f9 calc(1.00em * 0.0715), #ffffff calc(1.00em * 0.1429)) 0 0;
background: linear-gradient(to bottom, #a7d7f9 calc(1.00em * 0.0715), #ffffff calc(1.00em * 0.1429)) 0 0;
-webkit-background-size: 100% calc(1.00em * 1.5715);
-moz-background-size: 100% calc(1.00em * 1.5715);
-o-background-size: 100% calc(1.00em * 1.5715);
background-size: 100% calc(1.00em * 1.5715);
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}
body.page-User_George_Orwell_III_Lofas.skin-vector div.mw-body-content#bodyContent div#contentSub {
display: none;
}
body.page-User_George_Orwell_III_Lofas.skin-vector div.mw-content-ltr#mw-content-text p {
/* font-size: 0.8750em; */
/* line-height: inherit; */
line-height: 1.5715;
margin-top: calc(1.00em * 1.5715);
margin-right: 0;
margin-bottom: calc(1.00em * 1.5715);
margin-left: 0;
}
body.page-User_George_Orwell_III_Lofas.skin-vector div.mw-content-ltr#mw-content-text p + h2 {
border-bottom: medium none currentColor;
/* font-family: sans-serif;*/
font-size: 1.5715em;
font-weight: 500;
/* line-height: inherit; */
line-height: 1.2728;
margin-top: calc(1.00em * 1.2728);
margin-right: 0;
margin-bottom: calc(1.00em * 0.2728);
margin-left: 0;
text-decoration: none;
}
body.page-User_George_Orwell_III_Lofas.skin-vector div.mw-content-ltr#mw-content-text h2 + p {
margin-top: calc(1.00em * 0.500);
}
.menupokey {
/* @embed */
background-image: url('//upload.wikimedia.org/wikipedia/commons/7/74/PokeyNorth.png');
background-repeat: no-repeat;
width: 21px;
height: 11px;
position: absolute;
z-index: 61000;
top: 10px;
left: -2px;
}
/* Use the same font as the status bar of the window
h1 {
font: status-bar;
}
*/
/* ######## END OF TESTS OR TEMPS ######## */
/**
* Counter some (but not all) aspects of the Vector typography refresh
*/
/*
body.skin-vector div.mw-body h1, body.skin-vector div.mw-body h2 {
font-family: "Linux Libertine",Georgia,Times,serif;
font-family: "Sans-Serif";
}
body.skin-vector div.mw-body h1 {
font-size: 26px;
line-height: normal;
}
*/
/* recover top-left logo space
div#mw-navigation div#p-logo {
display: none !important;
position: static !important;
display: none !important;
height: 0px !important;
top: 0px !important;
}
*/
/* reallocate recovered space as available
div#mw-navigation div#p-panel {
margin-left: 0;
}
*/
/* @end */