- 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
No edit summary |
No edit summary |
||
Line 196: | Line 196: | ||
} | } | ||
.main-page-content-header { | .mw-body h2.main-page-content-header { | ||
border:none; | border:none; | ||
text-align:center; | text-align:center; |
Revision as of 01:47, 7 August 2024
/* CSS placed here will be applied to all skins */
.haxLinks a {
color: #00cc00;
}
/* Toggle styling */
.hiddentext {
display: none;
}
.showhidetext {
color: #0645ad;
cursor: pointer;
}
.showhidetext,
.collapsibletoggle {
-khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.showhidetext:hover {
text-decoration: underline;
}
.showhidetext:active {
color: #faa700;
}
/* 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('/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;
}
ul.gallery {
margin: 2px;
padding: 2px;
display: block;
}
.editor-show {
display: none;
}
/** Testing Shit **/
.main-page-content-wrapper {
border-radius:5px;
background:#6161ff;
padding:3px;
margin-top:3px;
}
.main-page-flex {
display:flex;
flex-wrap:wrap;
align-items:flex-start;
display:-webkit-flex;
-webkit-flex-wrap:wrap;
-webkit-align-items:flex-start;
display:-ms-flexbox;
-ms-flex-wrap:wrap;
-ms-align-items:flex-start;
}
.main-page-flex-cell {
flex-grow:1;
-webkit-flex-grow:1;
-ms-flex-grow:1;
box-sizing:border-box;
width:300px;
border-radius:5px;
background:#ababff;
padding:5px;
margin:2px;
}
.main-page-flex-cell-content {
border-radius:5px;
background:#ebebff;
padding:5px 10px 10px 10px;
}
.mw-body h2.main-page-content-header {
border:none;
text-align:center;
font-family:sans-serif;
font-size:28px;
font-weight:bold;
margin-top:.2em;
}