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

76 lines
1.1 KiB
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: 2px;
word-spacing: 2px;
2020-01-10 15:50:09 +01:00
font-weight: 300;
line-height: 2.8rem;
2020-01-10 15:50:09 +01:00
margin: 0;
padding: {
top: $spacer * 3;
2020-01-10 15:50:09 +01:00
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;
}
}
p {
line-height: 1.5em;
}
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 calc($spacer / 4);
2019-12-13 16:29:41 +01:00
padding: $spacer;
margin-top: calc($spacer * 2);
2019-12-13 16:29:41 +01:00
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: 20px;
list-style-type: square;
2020-01-10 15:50:09 +01:00
}
2020-01-31 17:25:03 +01:00
ol {
padding-inline-start: 50px;
2020-01-31 17:25:03 +01:00
list-style-type: decimal-leading-zero;
}
2020-01-10 15:50:09 +01:00
li {
padding: {
bottom: calc($spacer / 2);
top: calc($spacer / 2);
2020-01-10 15:50:09 +01:00
}
}