Template:FrDS/core.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
RLopez-WMF (talk | contribs)
No edit summary
Tag: Reverted
RLopez-WMF (talk | contribs)
No edit summary
Tag: Reverted
Line 7: Line 7:
#firstHeading, #siteSub, #contentSub, #contentSub2, #jump-to-nav,
#firstHeading, #siteSub, #contentSub, #contentSub2, #jump-to-nav,
#catlinks, #footer, .mw-editsection {
#catlinks, #footer, .mw-editsection {
display: none;
display: none !important;
}
/* Hide <p> tag containing styles and scripts */
.mw-parser-output > p:first-child {
display: none;
}
}
strong{
strong{

Revision as of 19:00, 26 July 2023

* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  color: #202122;
}
#jump-to-nav, #mw-navigation, #mw-page-base, #mw-head-base,
#firstHeading, #siteSub, #contentSub, #contentSub2, #jump-to-nav,
#catlinks, #footer, .mw-editsection {
  display: none !important;
}
/* Hide <p> tag containing styles and scripts */
.mw-parser-output > p:first-child {
    display: none;
}
strong{
  font-family: inherit;
}
h1,
.h1{
  font-size: 32px;
  font-family: 'Source Serif Pro', Georgia, 'Times New Roman', Times, serif;
  font-style: normal;
  font-weight: 600;
  line-height: 40px;
}
h2{
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}
h2 > span{
  font-weight: 400;
}
h3{
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
}
h4{
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}
p{
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
p.fsSmall{
  font-size: 12px;
  line-height: 20px;
}
p > strong{
  font-weight: 600;
}
ul{
  padding-left: 16px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
/* Backgrounds */
.white-bg{
  background-color: #FFFFFF !important;
}
.green-bg{
  background-color: #308557 !important;
}
.golden-bg{
  background-color: #AC8600 !important;
}
.golden-light-bg{
  background-color: #FFFDF8 !important;
}
/* Colors */
.green{
  color: #308557 !important;
}
.golden{
  color: #AC8600 !important;
}
/* Borders */
.green.outline{
  border-color: #308557 !important;
}
/* Buttons */
.button{
  display: flex;
  padding: 8px 16px;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  background: #202122;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  border: none;
  text-decoration: none;
}
.button.outline{
  border: 1px solid #202122;
}
.button img{
  width: 20px;
}

@media only screen and (min-width:960px) {
  h1,
  .h1{
    font-size: 40px;
    line-height: 48px;
  }
  h2{
    font-size: 32px;
    line-height: 40px;
  }
  h3{
    font-size: 24px;
    line-height: 32px;
  }
  p{
    font-size: 20px;
    line-height: 28px;
  }
  p.fsSmall{
    font-size: 16px;
    line-height: 24px;
  }
  ul{
    font-size: 20px;
    line-height: 28px;
  }
}