MediaWiki:Vector.css: Difference between revisions

(Created page with "→‎---- NONBINARY AWARENESS WEEK BANNER ----: →‎Defaults to the nonbinary flag: #mw-head { background: white; background-repeat: repeat-x; background-size: contain; } →‎Style article tabs for the flags: .vector-menu-tabs .selected { background: rgba(255, 255, 255, .7); } .vector-menu-tabs li { background: rgba(255, 255, 255, .3); } .vector-menu-tabs li:hover { background: rgba(255, 255, 255, .7); } .vector-menu-tabs a { background-image: none; } /...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
/* "Happy Nonbinary Awareness Week" banner */
/* "Happy Nonbinary Awareness Week" banner */
.nbweek-banner {
.nbweek-banner {
     background: rgba(255,255,255,.4);
     background: rgba(255,255,255,.3);
     padding: 7px;
     padding: 14px 11px 8px 11px;
     position: absolute;
     position: absolute;
     bottom: 0;
     bottom: 0;
Line 48: Line 48:
#p-personal ul {
#p-personal ul {
     padding: 0;
     padding: 0;
}
/* Style for top icons (i.e. Template:Featured article) */
div.topicon {
position: absolute;
top: -3em;
margin-right: -10px;
display: block !important;
}
}

Latest revision as of 15:00, 15 July 2023

/* ---- NONBINARY AWARENESS WEEK BANNER ---- */
/* Defaults to the nonbinary flag */
#mw-head {
  background: white;
  background-repeat: repeat-x;
  background-size: contain;
}

/* Style article tabs for the flags */
.vector-menu-tabs .selected {
  background: rgba(255, 255, 255, .7);
}
.vector-menu-tabs li {
  background: rgba(255, 255, 255, .3);
}
.vector-menu-tabs li:hover {
  background: rgba(255, 255, 255, .7);
}
.vector-menu-tabs a {
  background-image: none;
}

/* "Happy Nonbinary Awareness Week" banner */
.nbweek-banner {
    background: rgba(255,255,255,.3);
    padding: 14px 11px 8px 11px;
    position: absolute;
    bottom: 0;
    font-weight: bold;
}
.nbweek-flag {
  font-size: 80%;
  font-weight: normal;
  font-style: italic;
}

/* Adds transparent backgrouund to top user menu for better readability */
#p-personal {
    background: rgba(255, 255, 255, .7);
    top: 0;
    right: 0;
    padding-top: 5px;
    padding-right: 15px;
    border-radius: 0 0 0 5px;
    display: inline;
    right: 0;
}
#p-personal ul {
    padding: 0;
}

/* Style for top icons (i.e. Template:Featured article) */
div.topicon {
 position: absolute;
 top: -3em;
 margin-right: -10px;
 display: block !important;
}