미디어위키:Gadget-xash3d.css: 두 판 사이의 차이
imported>Senouis 편집 요약 없음 |
imported>Senouis 잔글편집 요약 없음 |
||
74번째 줄: | 74번째 줄: | ||
*/ | */ | ||
.render { | .xash-render { | ||
border: 0px none; | border: 0px none; | ||
background-color: black; | background-color: black; | ||
84번째 줄: | 84번째 줄: | ||
} | } | ||
#fullscreen { | #xash-fullscreen { | ||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
right: 0; | right: 0; | ||
} | } |
2023년 4월 21일 (금) 18:37 기준 최신판
/* 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); }
}
*/
.xash-render {
border: 0px none;
background-color: black;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
}
#xash-fullscreen {
position: absolute;
top: 0;
right: 0;
}