mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-02 21:02:49 +02:00
63 lines
1.0 KiB
Plaintext
63 lines
1.0 KiB
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;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
figcaption {
|
|
position: relative;
|
|
text-align: center;
|
|
padding: 0.5em 0;
|
|
font-style: italic;
|
|
font-size: 90%;
|
|
|
|
a.source {
|
|
position: absolute;
|
|
top: -4pt;
|
|
right: 0;
|
|
font-size: 8pt;
|
|
}
|
|
|
|
button {
|
|
font-family: Verdana;
|
|
border: 1px solid grey;
|
|
border-radius: 3px;
|
|
background: #FDFDFD;
|
|
&.selected {
|
|
background: rgb(200,200,255);
|
|
}
|
|
& + button {
|
|
margin-left: 0.25em;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:not([class=inline]) + figure:not([class=inline]) {
|
|
margin-top: 2em;
|
|
}
|
|
}
|
|
|
|
div.figure {
|
|
display: inline-block;
|
|
border: 1px solid grey;
|
|
text-align: center;
|
|
}
|