User:Davidgothberg/vector.css
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .js page for this skin is at User:Davidgothberg/vector.js. |
/* A CSS file loaded from my local web server for testing. */
/* @import "http://localhost:8080/wikipediatest.css"; */
/****** Changing the user interface *************************/
/* Set all edit window and summary backgrounds. (Also overrides
the pink background for MediaWiki and protected pages.) */
textarea,
input#wpSummary {
background: #FFFBF0 !important; /* Beige, like my Win default. */
}
/* Makes the edit summary field full width. */
input#wpSummary {
width: 100%;
}
/* For template documentation */
.mw-parser-output div.documentation {
margin-top: 25px;
}
/* David's tighter page top tabs, v1.0.
Change only the second value if several values. */
/*
#left-navigation {
t_margin-right: 0 !important;
}
#right-navigation {
margin-right: -10em !important;
}
#p-views {
margin-right: -10em !important;
}
#p-search {
margin-top: -1.8em !important;
margin-right: 10em !important;
}
*/
/* .diffchange-inline, */
.diffchange {
/* border: none; */
/* border-bottom: 1px solid #f00; */
border-bottom: 1px solid #6AD500;
/* border: 1px dotted #f00; */
}
/* Turn off several things for faster page rendering
and less cluttered look. */
/* Turn off the page footer, gives less to load
and a shorter scrollbar. */
#footer {
display: none;
}
/* Turn off some of the links at top of page. */
li#pt-sandbox,
li#pt-betafeatures {
display: none;
}
li#pt-userpage { /* Turn off the small user image at top of page. */
background: none;
}
/* Turn off some of the text+links on the edit page. */
/* #minoredit_helplink, */
.mw-userconfigpublic,
.editpage-head-copywarn,
#mw-editpage-minoredit,
#editpage-copywarn,
#editpage-copywarn2,
.mw-tos-summary {
display: none;
}
#content {
/* Setting a border to the right of the page area. */
border-right: 1px #a7d7f9 solid; /* Light blue */
/* Add bottom border since I have turned off the footer. */
border-bottom: 1px #a7d7f9 solid; /* Light blue */
margin-bottom: 10px;
}
/* Krångel */
.dgshow {
display: block !important;
}
/* Highlight targeted heading (e.g. clicked links from the TOC). */
/* .mw-headline span:target, */
span.mw-headline:target {
background-color: #dfe6ff;
/* display: block; */
}
/* Hide the "You have new messages" box when on my user basepage. */
.page-User_Davidgothberg .usermessage {
display: none;
}
/* Change "You have new messages" bar to Vector light blue. */
div.usermessage {
background-color: #e0e8ff;
border: 1px solid #99b3ff;
}
/* Fixes the edit-window button design for the [[User:Js/ajaxPreview.js]] script. */
#wpPreviewLive,
#wpDiffLive,
#mw-editform-cancel .oo-ui-buttonElement-button {
line-height: 1.28571429em;
background-color: #f8f9fa;
color: #222;
border-color: #a2a9b1;
border-style: solid;
border-width: 1px;
border-radius: 2px;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 9px;
padding-right: 9px;
/*
position: relative;
min-height: 2.28571429em;
text-decoration: none;
*/
font-weight: bold;
/* vertical-align: top; */
text-align: center;
/*
-webkit-transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
-moz-transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
*/
cursor: pointer;
display: inline-block;
box-sizing: border-box;
font-family: inherit;
font-size: inherit;
white-space: nowrap;
/* user-select: none; */
}
/****** End, changing the user interface *************************/
/****** Start, experimenting *************************************/