ds-site/Resources/Private/Sass/Frontend/layout/_elements.scss
Daniel Siepmann a4f1c7c480 Migrate Makefile entries to shell.nix
Isolate the whole nodejs/yarn stuff.
Migrate from node-sass to dart sass in order to do so.
Easier to install, less dependencies (no python, no compiling while yarn
install)
2022-02-09 20:39:02 +01:00

75 lines
1.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 calc($spacer / 4);
padding: $spacer;
margin-top: calc($spacer * 2);
border-color: $white;
&:before {
content: "Quote";
}
}
img {
max-width: 100%;
height: auto;
}
ul {
padding-inline-start: 20px;
list-style-type: square;
}
ol {
padding-inline-start: 50px;
list-style-type: decimal-leading-zero;
}
li {
padding: {
bottom: calc($spacer / 2);
top: calc($spacer / 2);
}
}