MediaWiki:Timeless.css: Difference between revisions

From LearnSocialStudies
(Created page with "→‎All CSS here will be loaded for users of the Timeless skin: →‎One-sided navigation menu: @media (min-width: 1340px) { #mw-content-block { display: block; } #mw-content, #content-bottom-stuff { margin-left: 14em; } #mw-content-wrapper { float: right; margin-left: -14em; width: 100%; } #mw-related-navigation { width: 14em; padding: 0 1em 0 0; } div.Color-middle { margin-right: 0; } .Mw-wiki-logo { display:...")
 
No edit summary
Line 1: Line 1:
/* All CSS here will be loaded for users of the Timeless skin */
/* All CSS here will be loaded for users of the Timeless skin *//* Top bar font modernization */
/* One-sided navigation menu */
#mw-header *,
@media (min-width: 1340px) {
#mw-site-navigation *,
  #mw-content-block {
#mw-related-navigation * {
    display: block;
     font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
     width: 14em;
    padding: 0 1em 0 0;
  }
  div.Color-middle {
    margin-right: 0;
  }
  .Mw-wiki-logo {
  display: inline-block;
  }
}
}


/* Align top colour bar with page columns */
/* Avoid cutting off letters with descenders: g,j,p,q,y */
.Ts-inner {
#personal h2 span {
  padding: 0 0 0 1em;
    height: 1.5em;
    position:relative;
    bottom:0.1em
}
}


/* Re-aligning bottom logos */
/* Triangle position patch */
#footer { padding-right: 1em; }
#personal h2::after {
  position: relative;
  bottom: 0.5em;
}

Revision as of 19:50, 6 June 2024

/* All CSS here will be loaded for users of the Timeless skin *//* Top bar font modernization */
#mw-header *,
#mw-site-navigation *,
#mw-related-navigation * {
    font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif;
}

/* Avoid cutting off letters with descenders: g,j,p,q,y */
#personal h2 span {
    height: 1.5em;
    position:relative;
    bottom:0.1em
}

/* Triangle position patch */
#personal h2::after {
   position: relative;
   bottom: 0.5em;
}