Files
Graphite/website/other/bezier-rs-demos/src/style.css
T
Linda ZhengandKeavon Chambers 37775eb9e9 Bezier-rs: Add bounding box, extrema, and inflection functions for subpath (#953)
* Create bbox function for subpath

* Create extrema and inflection function for subpath

* Address comments

* Prevent selecting text in SVG demo boxes

* Address Keavon's comments

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2023-02-20 13:40:38 -05:00

81 lines
1.0 KiB
CSS

html,
body {
font-family: Arial, sans-serif;
text-align: center;
background-color: white;
}
body > h1 {
margin: 40px 0;
}
body > h1 ~ :last-child {
margin-bottom: 40px;
}
body > h1 + p {
max-width: 768px;
line-height: 1.4;
margin: auto;
text-align: justify;
}
body > h2 {
margin-top: 40px;
}
/* Demo Pane styles */
.demo-row {
display: flex;
flex-direction: row;
justify-content: center;
}
.t-variant-choice {
margin-top: 20px;
}
.demo-pane-header {
display: inline-block;
position: relative;
margin-top: 2em;
margin-bottom: 0;
padding: 0 1em;
}
.demo-pane-header a {
display: none;
position: absolute;
left: 0;
text-decoration: none;
color: inherit;
opacity: 0.5;
}
.demo-pane-header:hover a {
display: inline-block;
}
.demo-pane-container {
position: relative;
width: fit-content;
margin: auto;
}
/* Demo styles */
.demo-header {
margin: 20px 0;
}
.demo-figure {
width: 200px;
height: 200px;
margin-bottom: 20px;
border: solid 1px black;
}
svg text {
pointer-events: none;
user-select: none;
}