scratchwikiskin/main.css
2015-08-03 15:49:23 -04:00

503 lines
8 KiB
CSS

html,
body {
height: 100%;
}
body {
font: 13px Helvetica Neue, Helvetica, sans-serif;
margin: 0;
background-image: url("background.png");
}
header {
position: fixed;
top: 0;
left: 0;
right: 0;
height: 35px;
padding: 0 10px;
background-color: #0F8BC0;
-webkit-box-shadow: 0 1px 1px #ccc;
-moz-box-shadow: 0 1px 1px #ccc;
-o-box-shadow: 0 1px 1px #ccc;
box-shadow: 0 1px 1px #ccc;
z-index: 200;
}
a.scratch{
float: left;
display: block;
width: 80px;
height: 35px;
background: url("scratchlogo.png") left center no-repeat;
text-indent: -99999em;
padding: 0 2px;
}
a.scratch:hover{
background: url("scratchlogo_highlight.png") left center no-repeat;
}
header ul,
footer ul {
padding: 0;
margin: 0;
list-style-type: none;
}
header .left {
font-size: 15px;
}
header .right {
float: right;
}
header li {
float: left;
}
header li a {
display: block;
border-left: 1px solid #149acb;
padding: 0px 15px;
line-height: 35px;
text-decoration: none !important;
cursor: pointer;
}
header li.last{
border-right: 1px solid #149acb;
}
header li a,
header li a:active {
color: #fff;
}
header li a:hover, #userfcttoggle.open {
background-color: #0c6185;
}
.caret{
width: 0;
height: 0;
display: inline-block;
content: "↓";
text-indent: -99999px;
vertical-align: top;
margin-left: 4px;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid #fff;
opacity: .5;
vertical-align: middle;
}
.container {
max-width: 940px;
margin: auto;
}
.main {
min-height: 100%;
}
.main-inner {
padding: 50px 0 8em 0;
}
.main .left {
float: left;
width: 160px;
//padding: 140px 0 0 0;
display: block;
//background-image: url("wiki.png") ;
//background-repeat: no-repeat;
}
.wikilogo_space{
height: 150px;
margin-left: 15px;
}
.wikilogo{
background-image: url("wikilogo2.png") ;
background-repeat: no-repeat;
height: 140px;
display: block;
}
.main .right {
width: 760px;
margin-left: 180px;
}
.main-inner::after,
.main .left::after,
.main .right::after {
content: '.';
display: block;
clear: both;
height: 0;
overflow: hidden;
}
.main .left .sidebar {
float: left;
width: 100%;
}
.box {
background: #f7f7f7;
border: 1px solid #E0E0E0;
-moz-border-top-left-radius: 10px;
-moz-border-top-right-radius: 10px;
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
-webkit-box-shadow: 0 2px 3px rgba(34,25,25,0.3);
-moz-box-shadow: 0 2px 3px rgba(34,25,25,0.3);
-o-box-shadow: 0 2px 3px rgba(34,25,25,0.3);
box-shadow: 0 2px 3px rgba(34,25,25,0.3);
margin: 0px 0px 20px;
}
.box > h1 {
margin: 0;
padding: 7px 20px;
position: relative;
/*overflow: hidden;*/
border-top: 1px solid #fff;
box-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
font-size: 16px;
}
article.box > h1 {
font-size: 22px;
}
h1.firstHeading,
h2 {
border-bottom: solid 1px black;
}
.box-content {
background: #fff;
border-top: 1px solid #e0e0e0;
position: relative;
padding: 5px 20px 20px 20px;
margin: 0;
list-style-type: none;
}
.box-content h1 {
font-size: 2em;
border-bottom: 1px solid #aaa;
padding-bottom: 4px;
}
nav.box li a {
padding: 2px 0;
display: block;
}
a {
color: #1aa0db;
//color: orange;
text-decoration: none;
}
a.new{
color: red;
text-decoration: none;
}
a.external {
background: url(external-link.png) center right no-repeat;
padding-right: 13px;
}
a:hover,
a:focus,
a:active {
text-decoration: underline;
}
.catlinks {
background-color: #EEEEEE;
border: 1px solid #CCCCCC;
margin: 20px 0 10px;
padding: 5px;
text-align: left;
}
footer {
background-color: #ececec;
padding-top: 1em;
padding-bottom: 1em;
color: #5f5f5f;
text-align: center;
height: 20em;
margin-top: -7em;
-webkit-box-shadow: inset 0 0 10px #ccc;
-moz-box-shadow: inset 0 0 10px #ccc;
box-shadow: inset 0 0 10px #ccc;
}
footer h4{
margin-bottom:5px
}
footer ul li {
display: inline-block;
line-height: 1.5385em;
}
footer ul a {
display: block;
//padding: 0 15px;
}
footer p {
clear: both;
font-size: 11px;
margin: 0;
padding: 1em 0 0;
}
.printfooter {
display:none;
}
/*TO BE ORGANIZED */
/* search bar */
form.search {
display: inline-block;
margin: 0 10px;
position: relative;
margin-top: 5px;
}
form.search input {
-webkit-border-radius: 10px;
border-radius: 10px;
height: 23px;
//display: inline-block;
padding-left: 33px;
width: 204px;
border: none;
}
form.search input:focus {
outline: none;
}
form.search .glass {
background: url("../images/nav-search-glass.62d43b28d86a.png") no-repeat 9px center;
width: 26px;
height: 23px;
position: absolute;
border: 0;
border-right: 1px solid #ccc;
padding-left: 28px;
padding-right: 0;
opacity: .8;
-moz-border-radius: 0;
-webkit-border-radius: 0;
border-radius: 0;
background: url("nav-search-glass.png") no-repeat center center;
}
/* page fct dropdown */
.user {
position: relative;
}
#pagefctbtn {
background: url("edit.png") no-repeat scroll center center transparent;
border-radius: 3px 3px 3px 3px;
display: inline-block;
width: 35px;
height: 25px;
vertical-align: top;
float: right;
margin-top: 5px;
cursor: pointer;
z-axis: 3;
}
#pagefctbtn.open, #pagefctbtn:hover {
background-color: #DDDDDD !important;
}
.dropdownmenu {
display: block;
position: absolute;
padding: 0;
top: 36px;
font-size: 14px;
list-style: none;
display: none;
z-index: 200;
background-color: #DDDDDD;
overflow: hidden;
border-radius: 5px;
border-top-right-radius: 0;
box-shadow: 0px 1px 1px #888a85;
}
.dropdownmenu li {
float: none;
}
.dropdownmenu li:hover {
background-color: #EEEEEE;
}
.dropdownmenu li a {
font-weight: normal;
text-decoration: none;
display: block;
width: 130px;
padding: 5px 15px !important;
line-height: normal;
}
.dropdownmenu img {
margin-right: 10px;
vertical-align: text-bottom;
}
#firstHeading {
margin: 0 0 0.1em 0;
padding: 0;
}
#content {
margin: 0;
padding: 0;
}
#userfctdropdown {
display: none;
right: 0;
top: 33px;
border-top-left-radius: 0;
background-color:#0F8BC0;
color: #FFFFFF;
}
#userfctdropdown li a {
border: none;
}
#userfctdropdown li a:hover {
background-color: #0C6185;
}
#pagefctdropdown{
margin-left: 555px; //temporary solution
}
#pagefctdropdown li a {
color: #888;
}
.editsection {
font-size: 14px;
font-weight: normal;
margin: 5px 5px 0 0;
float:right;
}
.catlinks-allhidden {
display:none;
}
/*ctype boxes */
/*
.ctype {
border: none !important;
border-radius: 10px !important;
color: #FFFFFF;
}*/
.ctype h1 {
font-size: 14px;
}/*
.ctype-descriptive {
background-color: #0F8BC0;
}
.ctype-helppage {
background-color: #299027;
}
.ctype-portal {
background-color: #dc7700;
}
.ctype .box-content {
background: none;
border: none;
}*/
.new {
color: #e1314c;
}
dt {
font-weight: bold;
}
#toc {
border: 1px solid #aaa;
padding: 10px 10px;
display: inline-block;
}
#toctitle h2 {
display: inline;
font-size: 1.25em;
}
.toctoggle {
float: right;
padding-left: 5px; font-size: 14px; font-weight: normal;
margin: 0 5px 0 0;
line-height: 20px;
}
#toc ul {
list-style: none;
}
#toc ul {
margin: 0.5em 0;
}
#toc li {
line-height: 18px;
}
.thumbinner {
margin: 2em 0;
}
.thumb.tright {
margin-left: 2em;
}
.thumb.tleft {
margin-right: 2em;
}
div.thumbinner {
border: 1px solid #ccc;
padding: 3px !important;
background-color: #f9f9f9;
font-size: 94%;
text-align: center;
overflow: hidden;
}
/* fix diff scrollbars */
table.diff td div {
overflow: visible;
}
img{
max-width: 100%;
}
#mw-content-text{
overflow: hidden;
}
ul#f-list li {
display: inline-block;
font-size: 11px;
color: rgb(95, 95, 95);
}
ul#f-list {
text-align: center;
}
+
+pre {
+ padding: 0.5em;
+ white-space: pre-wrap;
+}
+
+code {
+ display: inline-block;
+ white-space: nowrap;
+ border-radius: 3px;
+ max-width: 100%;
+ overflow: auto;
+ vertical-align: middle;
+ padding: 0;
+ margin: 0;
+}
+
+code, pre {
+ border: 1px solid #eee;
+ background-color: #f8f8f8;
+ line-height: 1.3;
+}