mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-02-24 17:42:43 +01:00
41 lines
640 B
Plaintext
41 lines
640 B
Plaintext
figure {
|
|
display: inline-block;
|
|
border: 1px solid grey;
|
|
background: #F0F0F0;
|
|
@psize: 0.5em;
|
|
padding: @psize @psize 0 @psize;
|
|
text-align: center;
|
|
|
|
&.inline {
|
|
border: none;
|
|
margin: 0;
|
|
}
|
|
|
|
canvas {
|
|
display: inline-block;
|
|
background: white;
|
|
border: 1px solid lightgrey;
|
|
|
|
&:focus {
|
|
border: 1px solid grey;
|
|
}
|
|
}
|
|
|
|
figcaption {
|
|
text-align: center;
|
|
padding: 0.5em 0;
|
|
font-style: italic;
|
|
font-size: 90%;
|
|
}
|
|
|
|
&:not([class=inline]) + figure:not([class=inline]) {
|
|
margin-top: 2em;
|
|
}
|
|
}
|
|
|
|
div.figure {
|
|
display: inline-block;
|
|
border: 1px solid grey;
|
|
text-align: center;
|
|
}
|