User:TheDJ/common.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin is at User:TheDJ/common.js. |
/*@media screen and (pointer: coarse) and (-webkit-min-device-pixel-ratio: 2) {*/
/* .video-js {*/
/* font-size: 2vh;*/
/* }*/
/*}*/
div#editpage-specialchars {
display: block;
border: 1px solid var( --border-color-base, #a2a9b1 );
padding: .5em 1em;
}
#editpage-specialchars a {
background-color: var( --background-color-interactive, #f8f9fa );
color: var( --color-base, inherit );
border: 1px solid var( --border-color-interactive, #72777d );
padding: 1px 4px;
}
/*.mw-inline-styles {*/
/* box-shadow: inset 0 0 0.5em 0 white, 0 0 1em 0 red !important;*/
/*}*/
/* Change background colour on :focus */
input:not([type]),
input[type='text'],
input[type='password'],
textarea:focus,
a:focus {
background: #FFFFCC !important; color:#34adad !important; outline: 0 !important;
}
/* Color redirect links */
.mw-redirect {
color: darkgreen;
text-decoration: underline !important;
}
.mw-parser-output .collapsible {
border: 2px solid black;
box-sizing: border-box;
}
.mw-parser-output .collapsible.autocollapse {
border: 2px solid red;
}
/* Get rid of annoying book box and warning on edit page. */
.mw-editTools,
.editpage-head-copywarn,
#editpage-copywarn,
#p-coll-create_a_book {
display: none;
}
/* Default left, right, top, bottom margin is 2cm */
@page {
margin: 1cm;
size: A4 portrait;
counter-increment: page;
counter-reset: page 1;
@top-left {
content: "Hamlet";
}
@top-right {
content: "Page " counter(page);
}
@top-left-corner { content: " "; border: solid green; }
@top-right-corner { content: url(foo.png); border: solid green; }
@bottom-right-corner { content: counter(page); border: solid green; }
@bottom-left-corner { content: normal; border: solid green; }
}
/*@page {*/
/* counter-increment: page;*/
/* counter-reset: page 1;*/
/* @top-right {*/
/* content: "Page " counter(page) " of " counter(pages);*/
/* }*/
/*}*/
/* First page, 10 cm margin on top */
@page :first {
/*margin-top: 10cm;*/
}
@media print {
@page {
size: 330mm 427mm;
margin: 14mm;
}
.container {
width: 1170px;
}
}
.page-Special_Preferences .oo-ui-menuLayout {
display:flex;
}
.page-Special_Preferences .oo-ui-menuLayout-menu,
.page-Special_Preferences .oo-ui-menuLayout-content {
flex: 0 1 100%;
}
.page-Special_Preferences .oo-ui-menuLayout-menu {
background-color: #eaecf0;
}
.page-Special_Preferences .oo-ui-tabSelectWidget-framed {
display: flex;
flex-direction: column;
}
.page-Special_Preferences .oo-ui-tabSelectWidget-framed .oo-ui-tabOptionWidget {
margin-left: 0;
padding-left: 6px;
flex: 1;
}