User:Simpsons88/wikisimpsons.css
Wikisimpsons - The Simpsons Wiki
/******* Wikisimpsons Skin (by Simpsons88)
1. Background image and content
2. Search bar and User panel
3. Lateral menu
4. Page content
5. Footer
********/
/* 1. Background image */
body, body #mw-head {
background-image: radial-gradient(#F2F2F2, #FFF, #F2F2F2);
margin:none;
}
div#main_container {
background: #53A0CA url(https://i.imgur.com/y6Vp7Gs.jpeg);
border: 3px solid #FFCA2B;
box-shadow:-0.5em -0.5em 3em #53A0CA;
}
/* 2. Search bar and User panel */
.search_box input {
width: 300px;
height: 30px;
padding-left: 5px;
padding-top: 5px;
padding-bottom: 5px;
background: rgba(255,255,255,.5);
border: 2px solid #FFCA2B;
float: left;
color: #000;
border-radius: 5px;
}
::placeholder {
font-style: italic;
color:#404040 !important;
}
div#user_box {
background-color: rgba(0,0,0,.5);
border-radius: 5px;
float: right;
height: none;
padding-top: 6px;
padding-left: 5px;
padding-right: 5px;
color: white;
text-shadow: 0px;
font-size: 13px;
font-weight:bold;
text-align: middle;
vertical-align: middle;
}
div#user_box ul li {
margin-right:5px;
}
div#user_box ul li a:hover {
background:#F8D366;
color: black;
}
div#user_box ul li#pt-logout a:hover {
background:linear-gradient(-45deg, #FF5151, #FFAC93);
color: black;
}
/* Center image in infobox for mobile phone visualization */
.content table {
margin: 1em 0;
overflow: auto;
overflow-y: hidden;
overflow-x: auto;
display: inline;
width: 100% !important;
}
/* 3. Lateral Menu (Sidebar) */
div.sidebar_header {
width:93%;
text-align: center;
padding: 2px;
padding-bottom: 1px;
font-size: 17px;
color: white;
font-weight:bold;
text-shadow: 2px 2px gray;
margin-top: 5px;
margin-bottom: 5px;
margin-left:3px;
border:1px dotted #A2A9B1;
border-radius:5px;
background-color: rgba(162,169,177,.9);
}
div.sidebar {
width:93%;
background-color: rgba(254,235,188,.8);
border: 3px solid #FFDC76;
border-radius:10px;
color: #0645AD;
padding: 2px;
padding-top: 0px;
padding-bottom: 0px;
text-align:center;
}
div.sidebar li {
background-color:#FFDC76;
border-bottom:3px solid #FEEBBC;
border-radius:5px;
list-style-image: none;
padding: 2px;
margin-bottom: 3px;
}
div.sidebar a {
font-size:85%;
font-weight:bold;
color: #0645AD;
}
div.sidebar li:hover {
background:#FFCA2B;
}
div.sidebar a:hover {
color: black;
}
/* 4. Page content */
div#page-toolbar {
background:#FEEBBC;
background-image: linear-gradient(to right, rgba(254,235,188), rgba(254,235,188,.5)), url("https://static.simpsonswiki.com/images/c/c4/Picture_9.png");
background-size: 650px;
background-position: right;
background-repeat:no-repeat;
border-radius: 5px 5px 0px 0px;
border: 3px solid #FFDC76;
color: #3D3D3D;
padding-left:10px;
padding-top:15px;
padding-bottom:15px;
display: inline-table;
width: 98%;
}
div#page-toolbar ul li a {
background:#FFDC76;
border-radius:none;
color: #3D3D56;
font-size: 15px;
font-weight:bold;
text-shadow: none;
list-style-type: none;
margin: 1px;
padding: 10px;
}
div#page-toolbar ul li a:hover {
background:#FFCA2B;
color: #3D3D56;
font-size: 15px;
font-weight:bold;
text-shadow: none;
list-style-type: none;
margin: 1px;
padding: 10px;
}
div#primary_content {
background-color: white;
border-radius: 0px 0px 5px 5px;
border: 3px solid #FFDC76;
color: #000;
font-family:'Trebuchet MS';
padding-left:10px;
display: inline-table;
width: 98%;
}
/* 4.2 Page titles */
div#primary_content h1.page_title {
margin: 0px -6px 0 -12px;
padding-left:15px;
padding-top:20px;
line-height: 1.5em;
font-size: 1.7em;
margin-bottom: 5px;
font-weight: normal;
color: black;
text-shadow: 0px 1px 0px #fcfaee;
background:linear-gradient(to bottom, #fff, #f2f2f2);
border-radius: 0px;
border-bottom: 1px solid gray !important;
display: flex;
}
/* 4.3 Images */
div#primary_content div.thumb:hover {
background:linear-gradient(#FFDC76, white,#FFDC76);
border:1px solid #FFDC76;
}
/* 4.4 Wikipedia link color */
a.extiw {
color: #3366BB;
}
/* h2 (TOC) */
div#primary_content div.toc div#toctitle h2 {
border-radius: 5px 5px 0px 0px;
margin: 0px;
background: #e9d677;
color: #5b5222;
font-size: 1.2em;
font-weight: bold;
text-shadow: 0px 1px 0px #fcfaee;
padding-left: 8px;
}
div#primary_content h2 {
margin: 0px 10px 0 0px;
padding-left:0px;
padding-bottom:1px;
line-height: 1.5em;
font-size: 1.3em;
font-weight: normal;
color: black;
text-shadow: 0px 1px 0px #fcfaee;
background:white;
border-radius: 0px;
border-bottom: 1px solid #A2A9B1 !important;
display: flex;
}
h3 {
margin: 0px 10px 0 0px;
padding-left:0px;
padding-bottom:1px;
display: block;
font-size: 1.17em;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
border-bottom: 1px dotted #A2A9B1 !important;
}
.mw-content-ltr .mw-editsection, .mw-content-rtl .mw-content-ltr .mw-editsection {
margin-left: 1em;
padding-top: 3px;
}
.mw-editsection, .mw-editsection-like {
font-size: small;
font-weight: normal;
margin-left: 1em;
vertical-align: baseline;
line-height: 1.5em;
display: inline-block;
}
/* 5. Footer */
div#footer_content ul {
background-color: rgba(0,0,0,.5);
border-radius: 5px;
list-style-type: none;
margin: 0px;
padding: 2px;
float: left;
vertical-align: middle;
}
div#footer_content ul li {
display: inline;
color: white;
text-shadow:none;
font-size: 12px;
}
div#footer_content ul li:hover {
background-color: rgba(0,0,0,.8);
border-radius: 5px;
display: inline;
color: white;
text-shadow:none;
font-size: 12px;
}
div#footer_content ul li a {
display: inline;
color: white;
text-shadow:none;
font-size: 12px;
margin-right:3px;
}
footer {
padding-top: 5px;
padding-bottom: 5px;
border: 3px solid #FFCA2B;
border-radius:5px;
background-color: rgba(254,235,188,.8);
box-shadow:-0.5em -0.5em 3em #53A0CA;
color: #736313;
text-shadow: 0px 1px 0px #f1e6aa;
text-align: center;
font-size: 12px;
width:98%;
margin-left:8px;
}