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

69 lines
999 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;
}
}
}
2019-12-13 16:29:41 +01:00
strong {
color: $white;
}
blockquote {
border: none;
border-left: dashed $spacer / 4;
padding: $spacer;
margin-top: $spacer * 2;
border-color: $white;
&:before {
content: "Quote";
}
}
2019-12-17 21:59:49 +01:00
img {
max-width: 100%;
height: auto;
}