Difference between revisions of "MediaWiki:Vector.css"

From WikiConference North America
Jump to navigation Jump to search
(Garbage collection)
(Cleaned up too much?)
Line 32: Line 32:
 
}
 
}
   
  +
@media screen {
  +
.mw-body-content {
  +
font-size: 1em;
  +
}
  +
.mw-body p {
  +
margin: 0;
  +
}
  +
}
  +
div#content {
  +
margin-left:0 !important;
  +
padding-left:0 !important;
  +
margin-right:0 !important;
  +
padding-right:0 !important;
  +
border:0 !important;
  +
}
 
h1,
 
h1,
 
h2,
 
h2,
Line 67: Line 82:
 
hr {
 
hr {
 
margin: 20px 0;
 
margin: 20px 0;
  +
}
  +
.caption {
  +
font-style: italic;
  +
font-size: .875em;
  +
line-height: 1.5;
  +
margin-top: 1em;
  +
color: #777777;
 
}
 
}
 
#footer {
 
#footer {

Revision as of 08:03, 2 February 2015

/* Hide the interface outside the content area */
#mw-page-base,
#mw-head-base,
#contentSub,
#jump-to-nav
{
  display: none;
}
body
{
  background:#FFF;
  max-width: 65em;
  margin:auto;
}
#firstHeading {
  margin:auto;
  border-collapse:collapse;
  margin-bottom:10px;
  padding:10px;
  padding-left:0;
  vertical-align:top;
  font-size: 2em;
  font-family:Georgia, serif;
  line-height:100%;
  border-top:4px solid #ddd;
}

#content:before {
  display: inline-block;
  content: url('http://wikiconferenceusa.org/images/d/de/WikiConference_USA_generic.svg');
  padding-bottom: 1em;
}

@media screen {
  .mw-body-content {
    font-size: 1em;
  }
  .mw-body p {
    margin: 0;
  }
}
div#content {
  margin-left:0 !important;
  padding-left:0 !important;
  margin-right:0 !important;
  padding-right:0 !important;
  border:0 !important;
}
h1,
h2,
h3,
h4,
h5,
h6,
h6 {
  font-family: Georgia, serif;
  border-bottom: none;
}
h1 {
  font-size: 2em;
  line-height: 1.25;
}
h2 {
  font-size: 1.5em;
  line-height: 1.267;
}
h3 {
  font-size: 1.25em;
  line-height: 1.333;
}
h4,
h5,
h6 {
  font-size: 1.125em;
  line-height: 1.444;
}
p {
  font-size: 1em;
  line-height: 1.5;
  color: #444;
}
hr {
  margin: 20px 0;
}
.caption {
  font-style: italic;
  font-size: .875em;
  line-height: 1.5;
  margin-top: 1em;
  color: #777777;
}
#footer {
  position:absolute;
  width:100%;
  max-width:65em;
  padding:0 !important;
  margin:0 !important;
}

/* The Great mw-navigation Rewrite */

#mw-head {
  top:2em !important;
  width:auto !important;
  min-width:547px; /* A hack to fix a problem with special pages */
}

#left-navigation {
  display:inline;
  margin:0 !important;
}

#right-navigation {
  display:inline;
  float:none;
  margin:0 !important;
}

div.vectorTabs,
div.vectorTabs ul {
  background: none !important;
}

div.vectorTabs ul li {
  background: none !important;
  border: none !important;
  padding-right:10px;
}

li span {
  background: none !important;
}

form div {
  background: none !important;
}

div.vectorMenu h3 a {
  background: none !important;
}

#p-personal {
  top: -1.5em;
}

#p-personal ul li {
  line-height:1.5em;
  text-align:right;
  padding:0 !important;
}

#pt-userpage {
  background:none !important;
  font-weight:bold;
}

#pt-login {
  background:none !important;
}

#p-logo {
  display: none;
}

#mw-panel {
  position: static !important;
  top:0;
  padding-top:0 !important;
  padding-left:0 !important;
  padding-bottom:1em;
  width:100% !important;
  font-size:125% !important;
  border-top:4px solid #ddd;
}
#mw-panel.collapsible-nav .portal {
  margin-left: 0 !important;
}

#mw-panel ul li {
  display:inline !important;
  padding-right:1em !important;
}

.portal {
  background: none !important;
}

#mw-panel.collapsible-nav .portal.persistent .body {
  margin:0 !important;
}