feat: add support for margins & draft class
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d123b3cd65
commit
dcc20d6b3f
1 changed files with 29 additions and 0 deletions
|
@ -140,6 +140,23 @@ section > h6:first-child::before
|
||||||
section:not(.chapter) > h2:first-child {
|
section:not(.chapter) > h2:first-child {
|
||||||
font-size: 100%; }
|
font-size: 100%; }
|
||||||
|
|
||||||
|
section.draft {
|
||||||
|
box-shadow: inset 20px 20px 0px red, inset -20px 20px 0px red, inset 20px -20px 0px red, inset -20px -20px 0px red;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
section.draft::before {
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%) rotate(-30deg);
|
||||||
|
font-size: 100px;
|
||||||
|
display: block;
|
||||||
|
content: "DRAFT";
|
||||||
|
color: darkred;
|
||||||
|
opacity: 0.25;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: underline; }
|
text-decoration: underline; }
|
||||||
|
@ -168,10 +185,22 @@ bc-row > bc-column {
|
||||||
flex: 1 1 0;
|
flex: 1 1 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bc-row > bc-column[bc-margin-small] {
|
||||||
|
margin-left: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
bc-row > bc-column[bc-margin-tiny] {
|
||||||
|
margin-left: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
bc-row > bc-column[bc-text-small] {
|
bc-row > bc-column[bc-text-small] {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bc-row > bc-column[bc-text-tiny] {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
bc-row > bc-column[bc-width-large] {
|
bc-row > bc-column[bc-width-large] {
|
||||||
flex: 2 1 0;
|
flex: 2 1 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue