Template:FrDS/core.css

From Donate
Revision as of 21:49, 26 July 2023 by RLopez-WMF (talk | contribs)
Jump to navigation Jump to search
* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  color: #202122;
}
strong{
  font-family: inherit;
}
h1,h2,h3,h4,h5,h6{
  border: none;
  margin: 0 !important;
}
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;
}
/* Images */
img.full-width{
  width: 100%;
}
@media only screen and (min-width:1024px) {
  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;
  }
  .hide-desktop{
    display: none;
  }
  img.full-width{
    width: initial;
  }
}