diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-08-26 12:24:57 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2016-09-23 14:39:21 +0200 |
commit | 4d3aa0ef9d3cc5baab835ad2b545cf80b77c7ae7 (patch) | |
tree | b6947d97de3595506bb7ad20687184a855289861 | |
parent | fb7c3b3be22efa44c3e718256d06e57bd2174046 (diff) | |
download | novnc-4d3aa0ef9d3cc5baab835ad2b545cf80b77c7ae7.tar.gz |
Add logo to control bar
-rw-r--r-- | app/styles/base.css | 20 | ||||
-rw-r--r-- | vnc.html | 4 |
2 files changed, 15 insertions, 9 deletions
diff --git a/app/styles/base.css b/app/styles/base.css index 3f6ccdf..df10c7d 100644 --- a/app/styles/base.css +++ b/app/styles/base.css @@ -468,14 +468,22 @@ input[type=button]:active, select:active { url('Orbitron700.ttf') format('truetype'); } -#noVNC_logo { - margin-top: 60px; - margin-left: 60px; +.noVNC_logo { color:yellow; text-align:left; font-family: 'Orbitron', 'OrbitronTTF', sans-serif; - font-size: 180px; + font-size: 13px; line-height:90%; + text-shadow: 1px 1px 0 #000; +} +.noVNC_logo span{ + color:green; +} + +#noVNC_logo { + margin-top: 60px; + margin-left: 60px; + font-size: 180px; text-shadow: 5px 5px 0 #000, -1px -1px 0 #000, @@ -487,10 +495,6 @@ input[type=button]:active, select:active { display: none; } -#noVNC_logo span{ - color:green; -} - /* ---------------------------------------- * Media sizing * ---------------------------------------- @@ -53,6 +53,8 @@ <div id="noVNC_control_bar_anchor" class="noVNC_vcenter"> <div id="noVNC_control_bar"><div class="noVNC_scroll"> + <h1 class="noVNC_logo"><span>no</span><br />VNC</h1> + <!-- Drag/Pan the viewport --> <input type="image" alt="viewport drag" src="app/images/drag.svg" id="noVNC_view_drag_button" class="noVNC_button noVNC_hidden" @@ -205,7 +207,7 @@ </div> <div id="noVNC_container"> - <h1 id="noVNC_logo"><span>no</span><br />VNC</h1> + <h1 id="noVNC_logo" class="noVNC_logo"><span>no</span><br />VNC</h1> <!-- HTML5 Canvas --> <div id="noVNC_screen"> |