chore: More CSS tweaks
This commit is contained in:
parent
539f60d3ca
commit
ff6dde06eb
5 changed files with 50 additions and 8 deletions
|
@ -10,4 +10,5 @@
|
||||||
@import 'components/linedrawing';
|
@import 'components/linedrawing';
|
||||||
@import 'components/modelgraph';
|
@import 'components/modelgraph';
|
||||||
@import 'components/search';
|
@import 'components/search';
|
||||||
|
@import 'components/prevnext';
|
||||||
@import 'components/zoombox';
|
@import 'components/zoombox';
|
||||||
|
|
|
@ -7,3 +7,4 @@
|
||||||
@import 'elements/button';
|
@import 'elements/button';
|
||||||
@import 'elements/jargon';
|
@import 'elements/jargon';
|
||||||
@import 'elements/mark';
|
@import 'elements/mark';
|
||||||
|
@import 'elements/defs';
|
||||||
|
|
|
@ -7,14 +7,6 @@ h6,
|
||||||
button {
|
button {
|
||||||
@include title-font;
|
@include title-font;
|
||||||
}
|
}
|
||||||
h1,
|
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
color: $oc-gray-7;
|
|
||||||
}
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 3.5rem;
|
font-size: 3.5rem;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
@ -56,6 +48,10 @@ h6 a.anchor {
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
}
|
}
|
||||||
|
h5 + p,
|
||||||
|
h6 + p {
|
||||||
|
margin-top: -0.5rem;
|
||||||
|
}
|
||||||
.theme-wrapper.light {
|
.theme-wrapper.light {
|
||||||
h1,
|
h1,
|
||||||
h2,
|
h2,
|
||||||
|
|
10
packages/css-theme/src/components/_prevnext.scss
Normal file
10
packages/css-theme/src/components/_prevnext.scss
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
div.prev-next {
|
||||||
|
margin: 4rem 0 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-content: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 9px;
|
||||||
|
border-top: 1px solid $oc-gray-3;
|
||||||
|
color: transparent;
|
||||||
|
}
|
34
packages/css-theme/src/elements/_defs.scss
Normal file
34
packages/css-theme/src/elements/_defs.scss
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
// Shadow dom
|
||||||
|
g#notch {
|
||||||
|
circle.note {
|
||||||
|
stroke: $oc-violet-5;
|
||||||
|
fill: none;
|
||||||
|
}
|
||||||
|
circle.fill-note {
|
||||||
|
fill: $oc-violet-5;
|
||||||
|
stroke: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
g#bnotch {
|
||||||
|
path,
|
||||||
|
circle {
|
||||||
|
stroke: $oc-violet-5;
|
||||||
|
fill: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
g#button {
|
||||||
|
circle.btn {
|
||||||
|
stroke: $oc-violet-5;
|
||||||
|
fill: none;
|
||||||
|
}
|
||||||
|
circle.hole {
|
||||||
|
fill: $oc-violet-5;
|
||||||
|
stroke: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
g#buttonhole {
|
||||||
|
path {
|
||||||
|
stroke: $oc-violet-5;
|
||||||
|
fill: none;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue