76 lines
1.6 KiB
SCSS
76 lines
1.6 KiB
SCSS
@import url('https://fonts.googleapis.com/css2?family=Noticia+Text:ital,wght@0,400;0,700;1,400;1,700&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap');
|
|
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
|
|
|
|
.season-5, .season-3 {
|
|
--newspaper-background-texture-image: url(../images/parchment.jpg);
|
|
--newspaper-headline-font: 'Noticia Text';
|
|
--newspaper-base-font: 'EB Garamond';
|
|
--newspaper-name-font: 'UnifrakturCook';
|
|
|
|
section.prologue {
|
|
font-family: var(--newspaper-base-font);
|
|
padding: 20px;
|
|
border: black solid 1 px;
|
|
border-radius: 10px;
|
|
background: var(--newspaper-background-texture-image);
|
|
text-align: justify;
|
|
|
|
p {
|
|
columns: 1;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
text-align: center;
|
|
}
|
|
|
|
// Newspaper Name
|
|
h1:first-child {
|
|
text-align: center;
|
|
font-family: var(--newspaper-name-font);
|
|
margin: inherit;
|
|
column-count: 1;
|
|
font-size: 5em;
|
|
margin: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
// Newspaper Tagline
|
|
h1:first-child + p {
|
|
columns: 1;
|
|
text-align: center;
|
|
font-style: italic;
|
|
border: solid;
|
|
margin: 0;
|
|
text-align: left;
|
|
padding-left: 1ch;
|
|
padding-right: 1ch;
|
|
margin-bottom: 1em;
|
|
|
|
date, time {
|
|
float:right;
|
|
|
|
}
|
|
}
|
|
|
|
// Headline
|
|
h1 ~ h2 {
|
|
font-weight:bold;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
p:has(img) {
|
|
columns: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
//Headline image
|
|
img {
|
|
height:400px;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
}
|
|
|
|
} |