- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
imported>MarioMario456 import from .rs + fix link |
imported>MarioMario456 making the custom toggle more like a vanilla mediawiki toggle |
||
Line 15: | Line 15: | ||
.showhidetext { | .showhidetext { | ||
cursor: pointer; | cursor: pointer; | ||
-khtml-user-select: none; | |||
-webkit-user-select: none; | |||
-moz-user-select: none; | |||
-ms-user-select: none; | |||
user-select: none; | |||
} | |||
.showhidetext:hover { | |||
text-decoration: underline; | |||
} | } | ||
Revision as of 19:15, 20 October 2021
/* CSS placed here will be applied to all skins */
body {
text-align: justify;
}
.haxLinks a {
color: #00cc00;
}
/* Toggle styling */
.hiddentext {
display: none;
}
.showhidetext {
cursor: pointer;
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.showhidetext:hover {
text-decoration: underline;
}
/* Fix for problem with floating edit bottom and floating thumbnails */
h1, h2, h3, h4, h5, h6 {
overflow: hidden;
word-wrap: break-word;
}
/* Image thumbnails */
.thumb {
border-color: transparent;
}
pre {
white-space: pre-wrap
}
/* Gallery shit */
table.gallery {
border: 1px solid #ccc;
margin: 2px;
padding: 2px;
background-color: white;
}
table.gallery tr {
vertical-align: top;
}
table.gallery td {
vertical-align: top;
background-color: #f9f9f9;
border: solid 2px white;
}
/* Keep this temporarily so that cached pages will display right */
table.gallery td.galleryheader {
text-align: center;
font-weight: bold;
}
table.gallery caption {
font-weight: bold;
}
div.gallerybox {
margin: 2px;
}
div.gallerybox div.thumb {
text-align: center;
border: 1px solid #ccc;
margin: 2px;
}
div.gallerytext {
overflow: hidden;
font-size: 94%;
padding: 2px 4px;
}
pre {
white-space: pre-wrap
}
/*Header removals */
body.page-Main_Page h1 { display: none; }
body.page-User_TabbyGarf h1 { display: none; }
body.page-User_talk_TabbyGarf h1 { display: none; }
/* specific shit */
.edftable {
background-image: url('https://encyclopediadramatica.online/images/e/e1/101010.png');
}
/**
* Styling for links generated by [[MediaWiki:Edittools]]
* @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
* @updated 2020-03-17
*/
.mw-charinsert-buttons {
border: 1px solid #aaa;
margin-top: 10px;
padding: 1px;
font-size: 1.1em;
text-align: center;
}
.mw-charinsert-buttons a {
background-color: #cde !important;
color: #000;
border: thin #069 outset;
padding: 0 1px 1px;
font-weight: bold;
font-size: .9em;
text-decoration: none;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
background-color: #bcd;
border-style: inset;
}
.client-js .mw-edittools-section {
display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
font-size: .9em;
margin-left: 1px;
padding-left: 1px;
padding-right: 1px;
}
.mw-collapsible span.mw-collapsible-toggle {
float:none;
margin-left:0;
margin-right:1em;
}