Difference between revisions of "MediaWiki:Monobook.css"

From AetoliaWiki
Jump to navigation Jump to search
(Created page with '→‎CSS placed here will affect users of the Monobook skin: →‎<pre>: .usermessage { background: black repeat-x scroll left top; border: 1px solid black; color:…')
 
m
 
(422 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Monobook skin */
/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* ORIGINAL CHARACTER DON'T STEAL              */


/*
h2 {
<pre>
     overflow: hidden;
*/
.usermessage {
     background: black repeat-x scroll left top;
    border: 1px solid black;
    color: white;
    font-weight: bold;
    margin: 2em 0em 1em 0em;
    padding: 0.5em 1em 0.5em 1em;
    vertical-align: middle;
}
a { font-weight:bold; color: Black; }
a:visited { font-weight:bold; color: Black; }
a:active { color: White; }
a.new { color: black; }
a.interwiki, a.external { color: Black; }
body {
  background: White
}
}
 
#p-lang .pBody {
.portlet h5 {                        /* Changes the navigation labels to title case. */
     border: 1px solid black
    text-transform: capitalize;
     background: white;
}
 
.wikitable {
    border-left: none;              /* Clearing existing style elements. */
    border-right: none;
 
    border-top: 1px solid #798ca3;
    border-bottom: 1px solid #798ca3;
}
 
.wikitable tr {
 
}
 
.wikitable th {                      /* Style for bold wikitable rows. */
     border-left: none;              /* Clearing existing style elements. */
    border-right: none;
 
    border-top: 1px solid #c0c3c7;
    border-bottom: 1px solid #c0c3c7;
 
    background-color: #f0f0f0;
}
 
.wikitable td {
    border: none;                    /* Clearing existing style elements. */
}
 
.syntax_text {
    font-family: Courier New;
    font-size: 12px;
 
    background-color: #c8c8c8;
 
    padding: 2px 4px 2px 4px
}
 
.syntax_text:hover {
    font-family: Courier New;
    font-size: 12px;
 
     background-color: #e2e2b8;
 
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);
 
    padding: 2px 4px 2px 4px
}
 
.rounded {
    -moz-border-radius: 5px;
    border-radius: 5px;
}
}
 
#p-navigation .pBody {
.topRounded {
     border: 1px solid black;
    -moz-border-top-left-radius: 5px;
     background: white;
    -moz-border-top-right-radius: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}
}
 
#p-interaction .pBody {
.bottomRounded {
     border: 1px solid black;
    -moz-border-bottom-left-radius: 5px;
     background: white;
    -moz-border-bottom-right-radius: 5px;
     border-bottom-left-radius: 5px;
     border-bottom-right-radius: 5px;
}
}
 
#p-tb .pBody {
#p-logo {
     border: 1px solid black;
    z-index: 3;
     background: white;
    position: absolute; /*needed to use z-index */
    top: 0;
    left: 0;
    height: 155px;
    width: 12em;
    overflow: visible;
    background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
     background-position: center;
     background-repeat: no-repeat;
}
}
 
input[type="radio"],
#p-logo a, #plogo-a:hover {
input[type="checkbox"] { border:none; }
    display: none;
input[type="text"], input[type="submit"], textarea {
    border: 1px solid black !important;
input[type="text"], input[type="submit"], textarea, pre, #toc {
  -moz-border-radius: 1px;
#p-cactions li {
  -moz-border-radius-topleft: 12px;
  -moz-border-radius-topright: 12px;
  background-color: white;
}
}
#p-cactions li a {
 
   background: white !important;
 
   border-bottom: black;
 
   padding-bottom: 1px;
/* Style declarations for portal tabs. */
 
#ptabs {
   font-size:93%;
   font-weight:bold;
  clear: left;
   margin: 0 0 3px 0;
}
}
#p-cactions #ca-editfirst a {
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
    padding-left: .4em;
#ptabs .activetab {
    padding-right: .4em;
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  background:#E5E5E5;
  text-decoration:none;
  color:black;
}
}
#ptabs .inactivetab {
#footer {
   padding:5px 10px 5px 10px;
   margin-left: 13.6em;
   margin:0 3px 0 0;
   border-left: 1px solid black;
   text-decoration:none;
   border-right: 1px solid black;
   background:#F5F5F5;
   -moz-border-radius-bottomleft: 12px;
   color:black;
   -moz-border-radius-bottomright: 12px;
}
}
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
.pBody {
#ptabs .inactivetab:hover {
  -moz-border-radius-topright: 12px;
   background:#CCC;
   -moz-border-radius-bottomright: 12px;
   color:black;
   border-left: none 0  !important;
}
}
#ptabs a:hover { text-decoration:none !important; }
/*
#ptabs a span {white-space: nowrap}
</pre>
*/

Latest revision as of 16:01, 10 May 2014

/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* ORIGINAL CHARACTER DON'T STEAL              */

h2 {
    overflow: hidden;
}

.portlet h5 {                        /* Changes the navigation labels to title case. */
    text-transform: capitalize;
}

.wikitable {
    border-left: none;               /* Clearing existing style elements. */
    border-right: none;

    border-top: 1px solid #798ca3;
    border-bottom: 1px solid #798ca3;
}

.wikitable tr {

}

.wikitable th {                      /* Style for bold wikitable rows. */
    border-left: none;               /* Clearing existing style elements. */
    border-right: none;

    border-top: 1px solid #c0c3c7;
    border-bottom: 1px solid #c0c3c7;

    background-color: #f0f0f0;
}

.wikitable td {
    border: none;                    /* Clearing existing style elements. */
}

.syntax_text {
    font-family: Courier New;
    font-size: 12px;

    background-color: #c8c8c8;

    padding: 2px 4px 2px 4px
}

.syntax_text:hover {
    font-family: Courier New;
    font-size: 12px;

    background-color: #e2e2b8;

    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);

    padding: 2px 4px 2px 4px
}

.rounded {
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.topRounded {
    -moz-border-top-left-radius: 5px;
    -moz-border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.bottomRounded {
    -moz-border-bottom-left-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#p-logo {
    z-index: 3;
    position: absolute; /*needed to use z-index */
    top: 0;
    left: 0;
    height: 155px;
    width: 12em;
    overflow: visible;
    background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
    background-position: center;
    background-repeat: no-repeat;
}

#p-logo a, #plogo-a:hover {
    display: none;
}



/* Style declarations for portal tabs. */

#ptabs {
  font-size:93%;
  font-weight:bold;
  clear: left;
  margin: 0 0 3px 0;
}
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
#ptabs .activetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  background:#E5E5E5;
  text-decoration:none;
  color:black;
}
#ptabs .inactivetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  text-decoration:none;
  background:#F5F5F5;
  color:black;
}
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
#ptabs .inactivetab:hover {
  background:#CCC;
  color:black;
}
#ptabs a:hover { text-decoration:none !important; }
#ptabs a span {white-space: nowrap}