Template:FrDS/core.css: Difference between revisions
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 |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
margin: 0; |
margin: 0; |
||
color: #202122; |
color: #202122; |
||
⚫ | |||
#jump-to-nav, #mw-navigation, #mw-page-base, #mw-head-base, |
|||
#firstHeading, #siteSub, #contentSub, #contentSub2, #jump-to-nav, |
|||
#catlinks, #footer, .mw-editsection { |
|||
⚫ | |||
⚫ | |||
/* Hide <p> tag containing styles and scripts */ |
|||
.mw-parser-output > p:first-child { |
|||
⚫ | |||
} |
} |
||
strong{ |
strong{ |
||
font-family: inherit; |
font-family: inherit; |
||
⚫ | |||
h1,h2,h3,h4,h5,h6{ |
|||
border: none; |
|||
⚫ | |||
} |
} |
||
h1, |
h1, |
||
Line 58: | Line 53: | ||
font-weight: 600; |
font-weight: 600; |
||
} |
} |
||
ul{ |
ul,ol{ |
||
padding-left: 16px; |
padding-left: 16px; |
||
font-size: 16px; |
font-size: 16px; |
||
Line 64: | Line 59: | ||
font-weight: 400; |
font-weight: 400; |
||
line-height: 24px; |
line-height: 24px; |
||
⚫ | |||
a.muted { |
|||
text-decoration: underline; |
|||
} |
} |
||
/* Backgrounds */ |
/* Backgrounds */ |
||
Line 77: | 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 84: | Line 85: | ||
.golden{ |
.golden{ |
||
color: #AC8600 !important; |
color: #AC8600 !important; |
||
} |
|||
.purple{ |
|||
color: #2C245B !important; |
|||
} |
|||
.violet{ |
|||
color: #5748B5 !important; |
|||
} |
} |
||
/* Borders */ |
/* Borders */ |
||
.green.outline{ |
.green.outline{ |
||
border-color: #308557 !important; |
border-color: #308557 !important; |
||
} |
|||
.purple.outline{ |
|||
border-color: #2C245B !important; |
|||
} |
} |
||
/* Buttons */ |
/* Buttons */ |
||
Line 110: | Line 120: | ||
width: 20px; |
width: 20px; |
||
} |
} |
||
.button:hover { |
|||
filter: brightness(1.2); |
|||
⚫ | |||
} |
|||
.link{ |
|||
font-weight: 700; |
|||
} |
|||
/* Images */ |
|||
img.full-width{ |
|||
width: 100%; |
|||
} |
|||
⚫ | |||
h1, |
h1, |
||
.h1{ |
.h1{ |
||
Line 133: | Line 152: | ||
line-height: 24px; |
line-height: 24px; |
||
} |
} |
||
ul{ |
ul,ol{ |
||
font-size: 20px; |
font-size: 20px; |
||
line-height: 28px; |
line-height: 28px; |
||
} |
|||
.hide-desktop{ |
|||
⚫ | |||
} |
|||
img.full-width{ |
|||
width: initial; |
|||
} |
} |
||
} |
} |
Latest revision as of 14:47, 8 April 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 !important;
}
.violet{
color: #5748B5 !important;
}
/* Borders */
.green.outline{
border-color: #308557 !important;
}
.purple.outline{
border-color: #2C245B !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;
}
}