MediaWiki:Common.css.bak: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tag: Reverted
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1,207: Line 1,207:
     text-decoration: underline;
     text-decoration: underline;
     text-align: center;
     text-align: center;
     padding-top: 15px;
     padding-top: 25px;
     margin-bottom: 5px!important;
     margin-bottom: 5px!important;
}
}
Line 1,399: Line 1,399:
}
}
.caption-line {
.caption-line {
    display: contents;
  display: contents;
  position: absolute;
   font-size: 15px;
  top: 50%;
   line-height: 18px;
  left: 50%;
   letter-spacing: .48px;
  transform: translate(-50%,-50%);
  color: white;
  padding: 0px;
  text-align: center;
   font-size: 25px;
   line-height: 28px;
   letter-spacing: 0.4px;
  font-style: italic;
  font-weight: bold;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: ellipsis;
  text-shadow: 2px 2px 40px rgba(0,0,0,.8);
}
}
.caption-image1, .caption-image2, .caption-image3, .caption-image4, .caption-image5, .related-article-caption-image1, .related-article-caption-image2, .related-article-caption-image3, .related-article-caption-image4, .related-article-caption-image5 {
.caption-image1, .caption-image2, .caption-image3, .caption-image4, .caption-image5, .related-article-caption-image1, .related-article-caption-image2, .related-article-caption-image3, .related-article-caption-image4, .related-article-caption-image5 {
Line 1,706: Line 1,692:
}
}


/* chooser sits in normal flow, right-aligned, with a small gap */
.entryPage-printBtn {
  right: 0 !important;
}
 
#print-chooser {
#print-chooser {
   display: none;           /* JS toggles this */
  position: absolute;
   text-align: right;
  top: 36px;             
   margin-top: 6px;
  right: 8px;           
   display: none;        
  white-space: nowrap;   
   font-size: 14px;
   line-height: 20px;
}
}
/* Links styled like pills (MW-safe) */
#print-chooser .print-choice {
#print-chooser .print-choice {
   display: inline-block;
   display: inline-block;
   padding: 2px 6px;
   padding: 2px 4px;
  border: 1px solid #292828;
  background: #fff;
  color: #292828;
   text-decoration: none;
   text-decoration: none;
  background: #ececec;
  color: #767676;
  margin-top: 2px;
}
}
#print-chooser .print-choice + .print-choice { margin-left: 6px; }
#print-chooser .print-choice + .print-choice { margin-left: 6px; }


/* when chooser is open, hide the original hairline under the entry number */
#print-chooser .print-choice:hover,
.print-opts-open .article-entry-number::after { content: none !important; }
#print-chooser .print-choice:focus {
 
   text-decoration: none;
/* and draw a new hairline under the chooser so the divider drops with it */
  color: black;
.print-opts-open #print-chooser::after {
  content: "";
  display: block;
  height: 1px;
  background: #292828;
  margin-top: 6px;              /* space between options and the rule */
  transform: scaleY(0.5);
  transform-origin: 50% 100%;
}
 
/* Firefox fallback keeps working: no change needed.
  If you want a true .5pt rule under the chooser in Firefox, add: */
@-moz-document url-prefix() {
   .print-opts-open #print-chooser::after {
    transform: none;
    height: 0;
    border-bottom: 0.5pt solid #292828;
  }
}
}


Line 1,797: Line 1,775:
     text-decoration: underline;
     text-decoration: underline;
     text-align: center;
     text-align: center;
     padding-top: 15px;
     padding-top: 25px;
     margin-bottom: 5px !important;
     margin-bottom: 5px !important;
}
}

Navigation menu