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

48 lines
724 B
SCSS
Raw Normal View History

2019-11-15 00:27:23 +01:00
h1, h2, h3, h4, h5, h6 {
small a {
display: none;
color: $gray-500;
2019-11-15 00:27:23 +01:00
}
&:hover small a {
display: inline;
}
}
figure {
text-align: center;
padding: $spacer;
figcaption {
text-align: start;
padding-top: $spacer;
}
}
2019-11-15 00:27:23 +01:00
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;
}
}
}