MediaWiki:Common.css

From APL Wiki
Revision as of 16:11, 18 November 2019 by Miraheze>Adám Brudzewsky
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
@font-face {
  font-family: "codefont";
  src: local("DejaVu Sans Mono"),
       local("APL385 Unicode"),
       local("SImPL"),
       url(https://static.miraheze.org/aplwikiwiki/8/8b/DejaVuSansMono_0.ttf) format('truetype');
}
pre, code {
	font-family: "codefont",monospace;
	line-height: 2.3ex;	
}
kbd {
	border: 0.25ex solid currentcolor;
    padding: 0 0.5ex;
    border-radius: 0.5ex;
    box-shadow: 0 0.125ex 0 0 currentcolor;
    font-family: unset;
}
th > .selflink {
    font-weight: bolder;
}
a.extiw[href*="wikipedia.org"]{
  padding-right:0.7em;
}
a.extiw[href*="wikipedia.org"]::after {
    content: "W";
    display:inline-block;
    width:0;
    padding: 0 1px;
    vertical-align: 0.7ex;
    font-family: serif;
    font-size: 0.7em;
    font-style:normal;
    font-weight: normal;
    color:#36c;
}
a.external[href^="https://aplwiki."] {
    background: none;
    padding-right: 0;
}
a.external[href^="https://tryapl.org/?a="],
a.external[href^="https://tio.run/##SyzI0"],
a.external[href^="https://repl.it/repls/"],
a.external[href^="https://n9n.gitlab.io/apl/web/"][href*="#code="],
.worksin {
	position: relative;
	float: right;
	right: 1ex;
	font-size: smaller;
	opacity: 0.6;
	margin-top: 1em;
}
a.external[href^="https://tryapl.org/?a="]:hover,
a.external[href^="https://tio.run/##SyzI0"]:hover,
a.external[href^="https://repl.it/repls/"]:hover,
a.external[href^="https://n9n.gitlab.io/apl/web/"][href*="#code="]:hover,
.worksin:hover {
	opacity:1;
}
.worksin {
	margin-top: -3em;
}
.pi-title{
	text-align: center;
	font-weight: bold;
}
.pi-data-label {
	flex:none;
	width:110px;
}
.pi-data {
    border-bottom-style: none;
}
.c td {
	text-align: center;
}
#p-logo a{
	background-position: center 15px;
	padding-bottom: 20px;
}
#p-logo::after {
    content: "APL Wiki";
    text-align: center;
    display: block;
    font-size: x-large;
    font-family: codefont;
    margin-top: -35px;
	z-index: -1;
	position: relative;
}
#f-poweredbyico,#footer-poweredbyico{
	visibility: hidden;
	position: absolute;
}