mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
[Emscripten] Add design tweaks to the player
This commit is contained in:
parent
2723fe59a0
commit
b20c843fa8
@ -3,20 +3,26 @@
|
||||
*
|
||||
* This provides the basic styling for the RetroArch web player.
|
||||
*/
|
||||
|
||||
/**
|
||||
* The logging textarea.
|
||||
*/
|
||||
textarea.webplayer {
|
||||
font-family: monospace;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: left;
|
||||
}
|
||||
div.canvas_border {
|
||||
background-color:gray;
|
||||
width:800px; height:600px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
/**
|
||||
* Make sure the background of the player is black.
|
||||
*/
|
||||
.webplayer-container {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
/**
|
||||
* Disable the border around the player.
|
||||
*/
|
||||
canvas.webplayer {
|
||||
border: 0px none;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
|
@ -18,7 +18,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="bg-inverse">
|
||||
<div class="bg-inverse webplayer-container">
|
||||
<div class="container">
|
||||
<div class="webplayer_border text-xs-center" id="canvas_div" style="display: none">
|
||||
<canvas class="webplayer col-xs-12" id="canvas" tabindex="1" oncontextmenu="event.preventDefault()"></canvas>
|
||||
|
Loading…
x
Reference in New Issue
Block a user