ds-site/Resources/Private/Sass/layout/_elements.scss
Daniel Siepmann ca3f397104 Add images to website
Allow to add images as content within blog posts.
2019-11-28 18:04:08 +01:00

47 lines
724 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;
}
}
}