105 行
1.2 KiB
CSS
105 行
1.2 KiB
CSS
body
|
|
{
|
|
background-color: aquamarine;
|
|
}
|
|
|
|
table
|
|
{
|
|
margin: 24px auto 40px;
|
|
}
|
|
|
|
td
|
|
{
|
|
padding: 8px;
|
|
}
|
|
|
|
table, td
|
|
{
|
|
border: solid 1px;
|
|
background-color: white;
|
|
}
|
|
|
|
#paint
|
|
{
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
#paint > div
|
|
{
|
|
margin: 24px auto;
|
|
}
|
|
|
|
h1, .illust
|
|
{
|
|
text-align: center;
|
|
}
|
|
|
|
.radio
|
|
{
|
|
/* width: 704px; */
|
|
/* display: inline-block; */
|
|
vertical-align: middle;
|
|
line-height: 1.5em;
|
|
/* margin: auto; */
|
|
}
|
|
|
|
.button-area, .canvas-area
|
|
{
|
|
text-align: center;
|
|
}
|
|
|
|
.canvas-area
|
|
{
|
|
width: 480px;
|
|
height: 480px;
|
|
max-width: 100%;
|
|
position: relative;
|
|
padding: 0;
|
|
box-sizing: content-box;
|
|
}
|
|
|
|
.canvas-area:before
|
|
{
|
|
content: "";
|
|
display: block;
|
|
padding-top: 100%;
|
|
}
|
|
|
|
.canvas-area > canvas
|
|
{
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
border: 1px solid;
|
|
max-width: 100%;
|
|
box-sizing: content-box;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.modal-content {
|
|
background-color: #fff;
|
|
margin: 15% auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 400px;
|
|
text-align: center;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
.modal-content {
|
|
width: 70%;
|
|
}
|
|
}
|