ds-site/Resources/Private/Sass/layout/_elements.scss

63 lines
951 B
SCSS

h1, h2, h3, h4, h5, h6 {
small a {
display: none;
color: $gray-500;
}
&:hover small a {
display: inline;
}
}
figure {
text-align: center;
padding: $spacer;
figcaption {
text-align: start;
padding-top: $spacer;
}
}
section > header {
font-size: 1.5em;
padding-bottom: $spacer * 2;
}
article {
padding: {
top: $spacer * 2;
bottom: $spacer * 2;
}
& > header {
font-size: 1.25em;
margin-bottom: $spacer * 2;
h1, h2, h3, h4, h5, h6 {
margin-bottom: 0;
padding-bottom: 0;
}
p {
font-size: 0.75em;
margin: 0;
}
}
}
strong {
color: $white;
}
blockquote {
border: none;
border-left: dashed $spacer / 4;
padding: $spacer;
margin-top: $spacer * 2;
border-color: $white;
&:before {
content: "Quote";
}
}