Difference between revisions of "MediaWiki:Common.css"
From Fate's Harvest
| Line 3: | Line 3: | ||
/* This is where I am testing panel link/text color. */ | /* This is where I am testing panel link/text color. */ | ||
| − | .portal | + | /* Panel */ |
| − | #left- | + | div#mw-panel { |
| + | position: static; | ||
| + | top: auto; | ||
| + | padding-top: 0; | ||
| + | width: auto; | ||
| + | left: auto; | ||
| + | } | ||
| + | div#mw-panel div.portal { | ||
| + | padding-bottom: 0; | ||
| + | direction: ltr; | ||
| + | } | ||
| + | div#mw-panel div.portal h3, | ||
| + | div#mw-panel div.portal h5 { | ||
| + | font-weight: normal; | ||
| + | color: #444; | ||
| + | padding: 0; | ||
| + | padding-top: 0; | ||
| + | padding-left: 0; | ||
| + | cursor: default; | ||
| + | border: none; | ||
| + | font-size: medium; | ||
| + | } | ||
| + | div#mw-panel div.portal div.body { | ||
| + | margin: 0; | ||
| + | padding-top: 0; | ||
| + | margin-left: 0; | ||
| + | /* @embed */ | ||
| + | background-image: none; | ||
| + | background-repeat: no-repeat; | ||
| + | background-position: 0% 0%; | ||
| + | } | ||
| + | div#mw-panel div.portal div.body ul { | ||
| + | list-style-type: none; | ||
| + | list-style-image: none; | ||
| + | padding: 0; | ||
| + | margin: 0; | ||
| + | } | ||
| + | div#mw-panel div.portal div.body ul li { | ||
| + | line-height: normal; | ||
| + | padding: 0; | ||
| + | padding-bottom: 0; | ||
| + | margin: 0; | ||
| + | font-size: 0.75em; | ||
| + | word-wrap: break-word; | ||
| + | } | ||
| + | |||
| + | |||
/* .firstHeading {display: none;} If we wanted to remove the display of the first heading, this is the place that'd happen. */ | /* .firstHeading {display: none;} If we wanted to remove the display of the first heading, this is the place that'd happen. */ | ||
Revision as of 21:00, 4 November 2015
/* CSS placed here will be applied to all skins */
/* TO DO: .portal link and heading colors; footer colors; More text color. */
/* This is where I am testing panel link/text color. */
/* Panel */
div#mw-panel {
position: static;
top: auto;
padding-top: 0;
width: auto;
left: auto;
}
div#mw-panel div.portal {
padding-bottom: 0;
direction: ltr;
}
div#mw-panel div.portal h3,
div#mw-panel div.portal h5 {
font-weight: normal;
color: #444;
padding: 0;
padding-top: 0;
padding-left: 0;
cursor: default;
border: none;
font-size: medium;
}
div#mw-panel div.portal div.body {
margin: 0;
padding-top: 0;
margin-left: 0;
/* @embed */
background-image: none;
background-repeat: no-repeat;
background-position: 0% 0%;
}
div#mw-panel div.portal div.body ul {
list-style-type: none;
list-style-image: none;
padding: 0;
margin: 0;
}
div#mw-panel div.portal div.body ul li {
line-height: normal;
padding: 0;
padding-bottom: 0;
margin: 0;
font-size: 0.75em;
word-wrap: break-word;
}
/* .firstHeading {display: none;} If we wanted to remove the display of the first heading, this is the place that'd happen. */
/* Links. This is all working as it should. */
a:link,
a:hover,
a:visited,
a.text:link,
a.text:hover,
a.text:visited,
a.external:link,
a.external:hover,
a.external:visited,
#mw-navigation a:link,
#mw-navigation a:hover,
#mw-navigation a:visited {color: hotpink;}
/* Header background. */
#mw-head {
background-image: url("http://fatesharvest.com/wiki/images/b/be/TamarackHeader.png");
}
/* Full page background. Does not respect color tag. */
body {
background: linear-gradient(to bottom, #000000, rgba(0,19,3,1), #000000);
color: lime; /* Don't think this is doing anything either. */
}
/* Main content box. */
.mw-body {
background: white;
text-align: left;
}
/* Tab manipulation. */
#ca-nstab-main,
#ca-nstab-special,
#ca-nstab-mediawiki,
#ca-nstab-user,
#ca-nstab-category,
#ca-nstab-template,
#ca-nstab-file,
#ca-nstab-project,
#ca-talk,
#ca-view,
#ca-edit,
#ca-history,
#ca-unwatch,
#ca-watch,
#ca-addsection {
background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 20%, rgba(255,255,255,1) 80%);
}
#ca-delete,
#ca-move,
#ca-protect {
background: white;
}
.selected {font-weight: bold;}