1
0
Fork 0

chore: More CSS tweaks

This commit is contained in:
Joost De Cock 2020-12-31 13:53:27 +01:00
parent 539f60d3ca
commit ff6dde06eb
5 changed files with 50 additions and 8 deletions

View file

@ -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';

View file

@ -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';

View file

@ -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,

View 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;
}

View 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;
}
}