Introduction du nouveau thème
This commit is contained in:
38
themes/42/assets/css/hero-page.css
Normal file
38
themes/42/assets/css/hero-page.css
Normal file
@@ -0,0 +1,38 @@
|
||||
header#hero-page {
|
||||
display: flex;
|
||||
gap: var(--gap-hero-page);
|
||||
flex-direction: column;
|
||||
|
||||
.sup-title {
|
||||
text-align: center;
|
||||
font-variant: small-caps;
|
||||
text-shadow: var(--shadow-text);
|
||||
color: var(--color-site-title);
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: center;
|
||||
font-size: 1.25em;
|
||||
text-wrap: balance;
|
||||
color: var(--color-site-title);
|
||||
text-shadow: var(--shadow-text);
|
||||
font-variant: small-caps;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 460px) {
|
||||
header#hero-page {
|
||||
h1 {
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
header#hero-page {
|
||||
h1 {
|
||||
font-size: 4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user