MediaWiki:Refreshed.css: Difference between revisions
From BIONICLEsector01
mNo edit summary |
No edit summary |
||
Line 116: | Line 116: | ||
#sidebar { | #sidebar { | ||
overflow-x: hidden; | overflow-x: hidden; | ||
overflow-y: | overflow-y: auto; | ||
top: 5.25em; /* extra 2em for the nevel part of the header (1.5em), and then some extra space */ | top: 5.25em; /* extra 2em for the nevel part of the header (1.5em), and then some extra space */ | ||
font-size: .9em; | font-size: .9em; |
Revision as of 03:42, 21 May 2017
body,
h1, h2, h3, h4, h5, h6,
#firstHeading,
.standard-toolbox,
.header-button,
#searchInput,
#content-wrapper,
#bodyContent,
#catlinks {
font-family: "Franklin Gothic", sans-serif;
}
h2, h3 {
font-weight: normal;
}
body {
background: #a8dae3 url(//biosector01.com/wiki/skins/MonoBook/bgbio2015.jpg) no-repeat center center fixed;
background-size: cover;
}
#header-wrapper {
background: #54a1ac;
top: 0; /* prevents changes to #content-wrapper's margin-top from pushing the header down */
}
.header-button:hover, .header-button-active, .header-dropdown-item:hover {
background-color: initial;
opacity: .5;
}
#site-info {
width: 14.5em;
position: relative;
}
#site-info:before {
content: "";
width: 100%;
height: 0;
position: absolute;
top: 3em;
left: 0;
border-right: 1.5em solid transparent;
border-top: 1.5em solid #54a1ac;
z-index: 0;
/* min-width: 15em; */
}
#site-info-main,
#site-info-main > .header-button {
width: 100%;
}
.main.header-button img {
height: 4em;
padding-top: .25em;
padding-left: .25em;
width: auto;
position: relative;
margin-bottom: 0 !important;
}
#user-info,
.header-button {
height: 100%;
/* this combined with .username's max-height and overflow will
cut off long usernames so they don't break the header */
}
.username {
text-transform: uppercase;
/* max-width: 130px; */
display: inline-block;
line-height: 1em;
text-align: left;
max-width: 138px;
vertical-align: middle;
font-size: 1.1em;
max-height: 100%;
overflow: hidden;
}
#searchInput {
padding: .4em;
}
#searchInput:focus {
outline: 0;
border-color: #056b7d;
box-shadow: inset 0 0 0 0.2em #056b7d;
}
#searchInput::-webkit-input-placeholder {
font-weight: normal;
}
#searchInput:-moz-placeholder {
font-weight: normal;
}
#searchInput:-ms-input-placeholder {
font-weight: normal;
}
#sidebar-wrapper {
position: fixed;
width: 10em;
}
#content-wrapper, #footer {
margin-left: 10em;
}
#sidebar {
overflow-x: hidden;
overflow-y: auto;
top: 5.25em; /* extra 2em for the nevel part of the header (1.5em), and then some extra space */
font-size: .9em;
line-height: 1.6em;
height: auto;
text-shadow: 0 0 2em #056b7d;
}
/*
.sidebar-section .main:before {
content: "⟨";
display: inline-block;
transform: rotate(60deg);
padding-right: .5em;
margin-left: -.75em;
font-size: .8em;
height: 100%;
}
*/
.sidebar-section .main {
text-transform: uppercase;
font-weight: bold;
font-size: .9em;
overflow: visible; /* prevent text-shadow from being cut off */
font-size: .8em;
letter-spacing: .1em;
font-weight: normal;
}
#content-wrapper:before {
content: "";
width: calc(100% - 6em); /* (width of #content-wrapper: 100%) - (part of header bevel that pushes over into #content-wrapper: 14.5em [bevel width] + 1.5em [bevel border width] - 10em [sidebar width])*/
height: 0;
position: absolute;
bottom: 100%;
left: 4.5em; /* part of header bevel that pushes over into #content-wrapper: 14.5em [bevel width] + 1.5em [bevel border width] - 10em [sidebar width] */
border-left: 1.5em solid transparent;
border-bottom: 1.5em solid rgba(255, 255, 255, 0.75);
z-index: 0;
/* min-width: 15em; */
}
#content-wrapper {
margin-top: 1.5em;
padding-top: 0em;
background-color: rgba(255, 255, 255, 0.75);
}
.fixed-toolbox {
padding-left: initial;
position: absolute;
border-bottom: initial;
background: initial;
top: initial;
left: initial;
right: initial;
z-index: initial;
}
.standard-toolbox a {
padding-left: .25em;
padding-right: .25em;
}
h1#firstHeading {
font-size: 2.25em;
}