Actions

User

Difference between revisions of "Mbabker/foreground.css"

From Joomla! Documentation

(Synced as of 27Aug13/2201)
(Synced as of 2Sep13/1738)
Line 1: Line 1:
/* Font-size scale down */
 
body {
 
font-size:95%;
 
}
 
 
 
/* Hide "Main Page" titles */  
 
/* Hide "Main Page" titles */  
 
body.page-Main_Page h2.title,
 
body.page-Main_Page h2.title,
Line 11: Line 6:
 
     display:none;
 
     display:none;
 
}
 
}
+
/* headline tags */
+
h1, h2, h3, h4, h5, h6 {
+
overflow: hidden;
 +
}
 +
/* Underline h2 Section headings */
 +
h2 {
 +
padding-bottom:0.17em;
 +
border-bottom:1px solid #142849;
 +
}
 +
/*Top and bottom spacing on h1 headings */
 +
h1 span.mw-headline {
 +
line-height:1.8em;
 +
}
 +
/* Custom changes to page */
 
h3#tagline {
 
h3#tagline {
 
     display: inline;
 
     display: inline;
Line 19: Line 25:
 
     font-weight: normal;
 
     font-weight: normal;
 
     font-style: normal;
 
     font-style: normal;
 +
}
 +
h2.title {
 +
font-size:1.7em;
 +
color: #142849;
 +
padding-bottom: 0em;
 +
border-bottom: none;
 +
}
 +
h4.namespace.label {
 +
  padding:0.25em;
 +
  font-size:1.1em !important;
 +
  font-weight:normal;
 +
  margin-bottom:.75em;
 +
}
 +
h5.subtitle {
 +
font-size:.80em !important;
 
}
 
}
 
   
 
   
 +
.hf-nsheader {
 +
  line-height: 1.0em;
 +
}
 +
 
/* Custom Foreground menubar colors to go with WikiApiary theme */
 
/* Custom Foreground menubar colors to go with WikiApiary theme */
 
.top-bar,
 
.top-bar,
Line 55: Line 80:
 
     background: #1E3A6C;
 
     background: #1E3A6C;
 
}
 
}
 
 
   
 
   
 
.panel {
 
.panel {
 
   padding:.5em;
 
   padding:.5em;
 +
  overflow: hidden;
 
}
 
}
 
   
 
   
Line 64: Line 89:
 
line-height: 1.8em;  
 
line-height: 1.8em;  
 
margin-bottom: 0.25em;
 
margin-bottom: 0.25em;
 +
}
 +
div#mw-pages table{
 +
width:100%;
 
}
 
}
 
   
 
   
 
table#toc {
 
table#toc {
 
float: right;
 
float: right;
width: auto;
 
 
margin: .5em 0 1.25em .75em;
 
margin: .5em 0 1.25em .75em;
 
background-color:#f6f6f6;
 
background-color:#f6f6f6;
 +
width: auto;
 +
max-width: 450px;
 +
word-wrap: normal;
 +
}
 +
.mw-content-ltr .toc ul, .mw-content-ltr #toc ul, .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
 +
width: auto;
 +
list-style-position: outside;
 +
margin-left: 1.75em;
 +
}
 +
.toc ul li {
 +
list-style-position: outside;
 
}
 
}
 
   
 
   
 
table#toc h2 {
 
table#toc h2 {
border-bottom:none;
+
border-bottom:none !important;
}
+
 
+
.mw-content-ltr .toc ul,
+
.mw-content-ltr #toc ul,
+
.mw-content-rtl .mw-content-ltr .toc ul,
+
.mw-content-rtl .mw-content-ltr #toc ul {
+
width:100%;
+
 
}
 
}
 
   
 
   
h2.title {
+
.top-bar .name h1 {
font-size:170%;
+
font-size:1.0625em;
color: #142849;
+
padding-bottom: 0em;
+
border-bottom: none;
+
}
+
h1 {
+
font-size:145% !important;
+
}
+
h2 {
+
font-size:135%;
+
padding-bottom: .17em;
+
border-bottom: 1px solid #142849;
+
margin:.7em 0 .5em 0;
+
}
+
h3 {
+
font-size:120% !important;
+
}
+
h4 {
+
font-size:112% !important;
+
}
+
h5 {
+
font-size:105% !important;
+
}
+
h6 {
+
font-size:100% !important;
+
 
}
 
}
 +
 
.editsection {
 
.editsection {
 
   font-size:60% !important;
 
   font-size:60% !important;
 
}
 
}
+
 
h4.namespace.label {
+
  padding:0.25em;
+
  font-size:1.1em;
+
  font-weight:normal;
+
}
+
h5.subtitle {
+
font-size:.80em;
+
}
+
+
.hf-nsheader {
+
  line-height: 1.0em;
+
}
+
 
img {
 
img {
 
  max-width:100%;
 
  max-width:100%;
Line 150: Line 146:
 
padding: 3px !important;
 
padding: 3px !important;
 
width:100%;
 
width:100%;
font-family:courier;
+
font-family:courier !important;
 
}
 
}
 
.wikiEditor-ui-toolbar .group .label {
 
.wikiEditor-ui-toolbar .group .label {
 
background-color: transparent;
 
background-color: transparent;
 
}
 
}
ul, ol, dl {
+
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
  list-style-position: inside;
+
margin: 0.3em 0 0.3em 2.75em;
 +
padding: 0;
 +
list-style-position: outside;
 +
}
 +
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul, #mw-content-text ul {
 +
margin: 0.3em 0 0.3em 2.75em;
 +
padding: 0;
 +
list-style-position: outside;
 
}
 
}
 
.poweredby {
 
.poweredby {
Line 165: Line 168:
 
}
 
}
 
.catlinks {
 
.catlinks {
 +
clear:both;
 
border: 1px solid #ccc;
 
border: 1px solid #ccc;
 
margin-top: .5em;
 
margin-top: .5em;
 
padding: .25em;
 
padding: .25em;
 +
display:block;
 
}
 
}
 
table {
 
table {
Line 186: Line 191:
 
.ui-tabs .ui-tabs-nav {
 
.ui-tabs .ui-tabs-nav {
 
font-size:90%;
 
font-size:90%;
 +
margin:0 !important;
 
}
 
}
 
/* Fixes for Google Custom Search */
 
/* Fixes for Google Custom Search */
Line 197: Line 203:
 
font-size: 18px !important;
 
font-size: 18px !important;
 
}
 
}
.row {
+
/* Style for pre, code and source */
max-width:66em;
+
pre,
 +
code,
 +
source {
 +
  font-family:courier new !important;
 +
  font-size:1em;
 +
  line-height:1.2em;
 +
}
 +
pre {
 +
  overflow-x: auto;
 +
  overflow-y: visible;
 +
  background:#eeeeee;
 +
  margin: 1em 0;
 +
  padding:2px;
 +
}
 +
code {
 +
  padding:2px;
 
}
 
}

Revision as of 17:40, 2 September 2013

/* Hide "Main Page" titles */ 
body.page-Main_Page h2.title,
body.page-Main_Page h3#tagline,
body.page-Beginners h2.title,
body.page-Beginners h3#tagline  {
    display:none;
}
/* headline tags */
h1, h2, h3, h4, h5, h6 {
overflow: hidden;
}
/* Underline h2 Section headings */
h2 {
padding-bottom:0.17em;
border-bottom:1px solid #142849;
}
/*Top and bottom spacing on h1 headings */
h1 span.mw-headline {
line-height:1.8em;
}
/* Custom changes to page */ 
h3#tagline {
    display: inline;
    font-size: 0.85em !important;
    font-weight: normal;
    font-style: normal;
} 
h2.title {
 font-size:1.7em;
 color: #142849;
 padding-bottom: 0em;
 border-bottom: none;
} 
h4.namespace.label {
   padding:0.25em;
   font-size:1.1em !important;
   font-weight:normal;
   margin-bottom:.75em;
}
h5.subtitle {
 font-size:.80em !important;
}
 
.hf-nsheader {
  line-height: 1.0em;
}
 
/* Custom Foreground menubar colors to go with WikiApiary theme */
.top-bar,
.top-bar .title-area,
.top-bar.expanded .title-area,
.top-bar .name h1 a,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form,
.top-bar-section .dropdown li.title h5 a {
   background: #142849;
   color: #FFF;
}
 
.top-bar .toggle-topbar.menu-icon,
.top-bar .toggle-topbar.menu-icon a {
    color: #FFF;
}
 
.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: #142849;
}
 
/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a{
    background: #2C58A1;
}
 
/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #1E3A6C;
}
 
.panel {
   padding:.5em;
   overflow: hidden;
}
 
.panel h1.subheader, .panel h2.subheader, .panel h3.subheader, .panel h4.subheader, .panel h5.subheader, .panel h6.subheader {
line-height: 1.8em; 
margin-bottom: 0.25em;
}
div#mw-pages table{
width:100%;
}
 
table#toc {
float: right;
margin: .5em 0 1.25em .75em;
background-color:#f6f6f6;
width: auto;
max-width: 450px;
word-wrap: normal;
}
.mw-content-ltr .toc ul, .mw-content-ltr #toc ul, .mw-content-rtl .mw-content-ltr .toc ul, .mw-content-rtl .mw-content-ltr #toc ul {
width: auto;
list-style-position: outside;
margin-left: 1.75em;
}
.toc ul li {
list-style-position: outside;
}
 
table#toc h2 {
border-bottom:none !important;
}
 
.top-bar .name h1 {
font-size:1.0625em;
}
 
.editsection {
  font-size:60% !important;
}
 
img {
 max-width:100%;
 height:auto;
}
 
.tright {
line-height: 1.4em;
padding: 3px !important;
font-size: 94%;
border: 1px solid #ccc;
margin-left:1em;
}
.tleft {
line-height: 1.4em;
padding: 3px !important;
font-size: 94%;
border: 1px solid #ccc;
margin-right:1em;
}
.wikiEditor-ui textarea#wpTextbox1 {
margin: 0;
padding: 3px !important;
width:100%;
font-family:courier !important;
}
.wikiEditor-ui-toolbar .group .label {
background-color: transparent;
}
.mw-content-ltr ol, .mw-content-rtl .mw-content-ltr ol {
margin: 0.3em 0 0.3em 2.75em;
padding: 0;
list-style-position: outside;
}
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul, #mw-content-text ul  {
margin: 0.3em 0 0.3em 2.75em;
padding: 0;
list-style-position: outside;
}
.poweredby {
display:none;
}
.printfooter {
display:none;
}
.catlinks {
clear:both;
border: 1px solid #ccc;
margin-top: .5em;
padding: .25em;
display:block;
}
table {
 border:none;
 width:auto;
}
.wikitable {
 white-space: pre-wrap;
 word-wrap: normal;
}
table.ambox {
width:92%;
}
table.ambox th.ambox-text, table.ambox td.ambox-text {
width:auto;
}
/* fixing headertabs */
.ui-tabs .ui-tabs-nav {
font-size:90%;
margin:0 !important;
}
/* Fixes for Google Custom Search */
input.gsc-search-button {
height:auto !important;
width:auto !important;
}
.cse input.gsc-input, input.gsc-input, .gsc-input-box { 
height: auto !important;
line-height: 1.6em;
font-size: 18px !important;
}
/* Style for pre, code and source */
pre,
code,
source {
  font-family:courier new !important;
  font-size:1em;
  line-height:1.2em;
}
pre {
  overflow-x: auto;
  overflow-y: visible;
  background:#eeeeee;
  margin: 1em 0;
  padding:2px;
}
code {
  padding:2px;
}