Skip to content

Commit ff96561

Browse files
committed
update graphics
1 parent c3720c3 commit ff96561

File tree

5 files changed

+35
-8
lines changed

5 files changed

+35
-8
lines changed

screen_messenger_large.png

38.7 KB
Loading

src/css/im.css

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,32 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18-
.ribbon {
18+
.banner {
19+
height: 150px;
20+
position: relative;
21+
background-image: url("../images/banner.jpg");
22+
background-size: cover;
23+
background-position: bottom;
24+
}
25+
.logo {
26+
width: 400px;
27+
position: absolute;
28+
left: 50%;
29+
transform: translateX(-50%);
30+
}
31+
.banner p {
32+
width: 100%;
33+
position: absolute;
34+
left: 0;
35+
top: 60px;
36+
font-family: "Amazon Ember", Arial, Helvetica, Sans-serif;
37+
font-size: x-large;
38+
color: #063d27;
39+
font-weight: bold;
40+
text-align: center;
41+
}
42+
.ribbon {
43+
z-index: 1;
1944
background-color: #003D06;
2045
overflow: hidden;
2146
white-space: nowrap;
@@ -41,6 +66,7 @@
4166
text-decoration: none;
4267
text-shadow: 0 0 5px #444;
4368
}
69+
4470
.demoTitle {
4571
font-family: Verdana, Arial, Helvetica, Sans-serif;
4672
font-size: 9pt;

src/images/banner.jpg

138 KB
Loading

src/images/logo.png

6.56 KB
Loading

src/index.html

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@
3232
<a href="https://github.com/Lightstreamer/Lightstreamer-example-Messenger-client-javascript">Fork me on GitHub</a>
3333
</div>
3434
<div id="wrap">
35-
<table width="518" border="0">
36-
<tr>
37-
<td><a href="http://www.lightstreamer.com" target="_blank">
38-
<img src="images/logo.png" alt="LIGHTSTREAMER" hspace="0" border="0" /></a></td>
39-
<td class="demoTitle">BASIC INSTANT MESSENGER DEMO</td>
40-
</tr>
41-
</table>
35+
<div class="banner">
36+
<a href="https://www.lightstreamer.com">
37+
<img src="images/logo.png" alt="Logo" class="logo">
38+
</a>
39+
<p>
40+
Basic Instant Messenger Demo
41+
</p>
42+
</div>
4243

4344
<br />
4445
<br />

0 commit comments

Comments
 (0)