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

66 lines
927 B
SCSS
Raw Normal View History

2019-11-15 00:27:23 +01:00
h1, h2, h3, h4, h5, h6 {
2020-01-10 15:50:09 +01:00
font-family: $font-family-sans-serif;
letter-spacing: 0.14em;
font-weight: 300;
word-spacing: 0.3em;
line-height: 2.8rem;
2020-01-10 15:50:09 +01:00
margin: 0;
padding: {
top: $spacer * 4;
bottom: $spacer * 1;
}
2019-11-15 00:27:23 +01:00
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-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;
}
2020-01-10 15:50:09 +01:00
ul {
padding-inline-start: inherit;
}
li {
padding: {
bottom: $spacer / 2;
top: $spacer / 2;
}
}