This wiki is still a major work in progress, and a lot is being worked on. Please be patient. —Newmaker
Difference between revisions of "MediaWiki:Common.css"
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| + | |||
| + | |||
| + | /* Petscop textboxes */ | ||
| + | @font-face { | ||
| + | font-family: 'Petscop Wide'; | ||
| + | src: url('/images/3/39/Petscop_Wide.woff') format('woff'), | ||
| + | url('/images/8/86/Petscop_Wide.ttf') format('truetype'); | ||
| + | } | ||
| + | |||
| + | .petscop-font { | ||
| + | font-family: 'Petscop Wide', Ubuntu Mono, Consolas, Monaco, Courier New, sans-serif; | ||
| + | font-size: 16px; | ||
| + | -webkit-font-smoothing: none; | ||
| + | font-smooth: never; | ||
| + | } | ||
| + | |||
| + | .petscop-textbox { | ||
| + | font-family: 'Petscop Wide', Ubuntu Mono, Consolas, Monaco, Courier New, sans-serif; | ||
| + | font-size: 32px; | ||
| + | border: 5px solid gray; | ||
| + | background-color: white; | ||
| + | padding: 0.3em 0.5em; | ||
| + | margin: 4px auto 4px 4px; | ||
| + | color: black; | ||
| + | border-color: #eee #bbb #888 #bbb; | ||
| + | box-shadow: 0px 0px 0px 2px black; | ||
| + | } | ||
| + | .petscop-textbox p { | ||
| + | margin: 0; | ||
| + | line-height: normal; | ||
| + | } | ||
| + | .poem hr+br { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | .petscop-text-color { | ||
| + | background-clip: text; | ||
| + | -webkit-background-clip: text; | ||
| + | color: transparent; | ||
| + | background: black; | ||
| + | } | ||
| + | |||
| + | .petscop-textbox .petscop-green { | ||
| + | background: linear-gradient(#0a0, #000); | ||
| + | } | ||
| + | .petscop-textbox .petscop-red { | ||
| + | background: linear-gradient(#f00, #000); | ||
| + | } | ||
| Line 47: | Line 95: | ||
.prettytable caption { | .prettytable caption { | ||
font-weight: bold; | font-weight: bold; | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
} | } | ||
Revision as of 19:27, 10 November 2018
/* CSS placed here will be applied to all skins */
/* Petscop textboxes */
@font-face {
font-family: 'Petscop Wide';
src: url('/images/3/39/Petscop_Wide.woff') format('woff'),
url('/images/8/86/Petscop_Wide.ttf') format('truetype');
}
.petscop-font {
font-family: 'Petscop Wide', Ubuntu Mono, Consolas, Monaco, Courier New, sans-serif;
font-size: 16px;
-webkit-font-smoothing: none;
font-smooth: never;
}
.petscop-textbox {
font-family: 'Petscop Wide', Ubuntu Mono, Consolas, Monaco, Courier New, sans-serif;
font-size: 32px;
border: 5px solid gray;
background-color: white;
padding: 0.3em 0.5em;
margin: 4px auto 4px 4px;
color: black;
border-color: #eee #bbb #888 #bbb;
box-shadow: 0px 0px 0px 2px black;
}
.petscop-textbox p {
margin: 0;
line-height: normal;
}
.poem hr+br {
display: none;
}
.petscop-text-color {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background: black;
}
.petscop-textbox .petscop-green {
background: linear-gradient(#0a0, #000);
}
.petscop-textbox .petscop-red {
background: linear-gradient(#f00, #000);
}
.breakout {
float: right;
border: 1px solid #888;
background: #111;
padding: 0.2em;
}
.breakouttitle {
text-align: center;
background: #535;
border-top: 1px solid #a6a;
border-bottom: 1px solid #a6a;
}
input, textarea {
border: 1px solid #888;
background: #000; /* you can't fight f8 */
color: #ccc;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #111;
border: 1px #555 solid;
border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #555 solid;
padding: 0.2em;
}
.wikitable th,
.prettytable th {
background: #222;
text-align: center;
}
.wikitable caption,
.prettytable caption {
font-weight: bold;
}