Jump to content

User:TheDJ/common.css

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
Á/*@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-subtle, #f8f9fa );
    color: var( --color-progressive, #36c );
	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;
}