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

75 lines
1 KiB
SCSS

h1, h2, h3, h4, h5, h6 {
font-family: $font-family-sans-serif;
letter-spacing: 2px;
word-spacing: 2px;
font-weight: 300;
line-height: 2.8rem;
margin: 0;
padding: {
top: $spacer * 3;
bottom: $spacer * 1;
}
small a {
display: none;
color: $gray-500;
}
&:hover small a {
display: inline;
}
}
p {
line-height: 1.5em;
}
figure {
text-align: center;
padding: $spacer;
figcaption {
text-align: start;
padding-top: $spacer;
}
}
strong {
color: $white;
}
blockquote {
border: none;
border-left: dashed $spacer / 4;
padding: $spacer;
margin-top: $spacer * 2;
border-color: $white;
&:before {
content: "Quote";
}
}
img {
max-width: 100%;
height: auto;
}
ul {
padding-inline-start: 20px;
list-style-type: disclosure-closed;
}
ol {
padding-inline-start: 50px;
list-style-type: decimal-leading-zero;
}
li {
padding: {
bottom: $spacer / 2;
top: $spacer / 2;
}
}