Template:FrDS/core.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
add underline to muted link to make visible
RLopez-WMF (talk | contribs)
No edit summary
Line 53: Line 53:
font-weight: 600;
font-weight: 600;
}
}
ul{
ul,ol{
padding-left: 16px;
padding-left: 16px;
font-size: 16px;
font-size: 16px;
Line 75: Line 75:
.golden-light-bg{
.golden-light-bg{
background-color: #FFFDF8 !important;
background-color: #FFFDF8 !important;
}
.purple-light-bg{
background-color: #F9F7FF !important;
}
}
/* Colors */
/* Colors */
Line 82: Line 85:
.golden{
.golden{
color: #AC8600 !important;
color: #AC8600 !important;
}
.purple{
color: #2C245B;
}
.violet{
color: #5748B5;
}
}
/* Borders */
/* Borders */
Line 110: Line 119:
.button:hover {
.button:hover {
filter: brightness(1.2);
filter: brightness(1.2);
}
.link{
font-weight: 700;
}
}
/* Images */
/* Images */
Line 137: Line 149:
line-height: 24px;
line-height: 24px;
}
}
ul{
ul,ol{
font-size: 20px;
font-size: 20px;
line-height: 28px;
line-height: 28px;

Revision as of 21:40, 21 March 2024

* {
  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,ol{
  padding-left: 16px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
a.muted {
  text-decoration: underline;
}
/* 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;
}
.purple-light-bg{
  background-color: #F9F7FF !important;
}
/* Colors */
.green{
  color: #308557 !important;
}
.golden{
  color: #AC8600 !important;
}
.purple{
  color: #2C245B;
}
.violet{
  color: #5748B5;
}
/* 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;
}
.button:hover {
  filter: brightness(1.2);
}
.link{
  font-weight: 700;
}
/* 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,ol{
    font-size: 20px;
    line-height: 28px;
  }
  .hide-desktop{
    display: none;
  }
  img.full-width{
    width: initial;
  }
}