미디어위키:Gadget-xash3d.css: 두 판 사이의 차이
imported>Senouis (xash3d용 css) |
imported>Senouis 편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
/* the canvas *must not* have any border or padding, or mouse coords will be wrong */ | |||
/* | |||
.emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; } | .emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; } | ||
div.emscripten { text-align: center; } | div.emscripten { text-align: center; } | ||
div.emscripten_border { border: 2px solid #F0b418; } | div.emscripten_border { border: 2px solid #F0b418; } | ||
canvas.emscripten { border: 0px none; background-color: black; } | canvas.emscripten { border: 0px none; background-color: black; } | ||
56번째 줄: | 58번째 줄: | ||
width: 16px; | width: 16px; | ||
height: 16px; | height: 16px; | ||
-webkit-animation: spin 2s linear infinite; | -webkit-animation: spin 2s linear infinite; | ||
animation: spin 2s linear infinite; | animation: spin 2s linear infinite; | ||
} | } | ||
@-webkit-keyframes spin { | @-webkit-keyframes spin { | ||
0% { -webkit-transform: rotate(0deg); } | 0% { -webkit-transform: rotate(0deg); } | ||
70번째 줄: | 72번째 줄: | ||
100% { transform: rotate(360deg); } | 100% { transform: rotate(360deg); } | ||
} | } | ||
*/ | |||
.render { | |||
border: 0px none; | |||
background-color: black; | |||
padding-right: 0; | |||
margin-left: auto; | |||
margin-right: auto; | |||
display: block; | |||
} | |||
#fullscreen { | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
} |
2023년 4월 21일 (금) 18:35 판
/* the canvas *must not* have any border or padding, or mouse coords will be wrong */
/*
.emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; }
div.emscripten { text-align: center; }
div.emscripten_border { border: 2px solid #F0b418; }
canvas.emscripten { border: 0px none; background-color: black; }
@-webkit-keyframes rotation {
from {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(360deg);}
}
@-moz-keyframes rotation {
from {-moz-transform: rotate(0deg);}
to {-moz-transform: rotate(360deg);}
}
@-o-keyframes rotation {
from {-o-transform: rotate(0deg);}
to {-o-transform: rotate(360deg);}
}
@keyframes rotation {
from {transform: rotate(0deg);}
to {transform: rotate(360deg);}
}
#xash-controls {
display: inline-block;
float: right;
vertical-align: top;
margin-top: 5px;
margin-right: 20px;
}
#xash-output {
width: 100%;
height: 200px;
margin: 0 auto;
margin-top: 10px;
border-left: 0px;
border-right: 0px;
border-style: solid;
padding-left: 0px;
padding-right: 0px;
display: block;
background-color: black;
color: white;
font-family: 'Lucida Console', Monaco, monospace;
outline: none;
border-color:#f0B418;
}
.xash-loader {
border: 4px solid #f3f3f3;
border-radius: 50%;
border-top: 4px solid #ffa600;
width: 16px;
height: 16px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
*/
.render {
border: 0px none;
background-color: black;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
}
#fullscreen {
position: absolute;
top: 0;
right: 0;
}