Skip to content

Commit 47eaca3

Browse files
committed
initial commit
0 parents  commit 47eaca3

File tree

6 files changed

+842
-0
lines changed

6 files changed

+842
-0
lines changed

img/bg.jpg

6.07 KB
Loading

img/gmod_logo_brave.png

11.4 KB
Loading

index.css

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
BODY
2+
{
3+
background: #fff url( 'img/bg.jpg' );
4+
-webkit-background-size: 100% 100%;
5+
overflow: hidden;
6+
}
7+
8+
#container
9+
{
10+
position: fixed;
11+
text-align: center;
12+
left: 50%;
13+
top: 45%;
14+
margin-top: -120px;
15+
margin-left: -150px;
16+
width: 300px;
17+
}
18+
19+
.progressbar
20+
{
21+
margin: 0 auto;
22+
width: 150px;
23+
border-radius: 3px;
24+
text-align: left;
25+
padding: 1px;
26+
background-color: rgba( 0, 0, 0, 0.6);
27+
float: right;
28+
}
29+
30+
.reflection
31+
{
32+
-webkit-box-reflect: below -1px -webkit-gradient(linear, left top, left bottom, from(transparent), from(rgba(0, 0, 0, 0.0)), to(rgba(255, 255, 255, 0.5)));
33+
}
34+
35+
.progressbar .inner
36+
{
37+
border-radius: 2px;
38+
background-color: rgba( 0, 240, 0, 1.0);
39+
width: 0.2%;
40+
height: 11px;
41+
}
42+
43+
#progress_text
44+
{
45+
position: absolute;
46+
width: 500px;
47+
right: 170px;
48+
bottom: 0px;
49+
margin: 0 auto;
50+
text-align: right;
51+
font-size: 12px;
52+
font-family: helvetica;
53+
color: rgba( 0, 0, 0, 0.4);
54+
letter-spacing: -1px;
55+
text-shadow: 0px 0px 3px white;
56+
overflow: hidden;
57+
white-space: nowrap;
58+
}
59+
60+
#label
61+
{
62+
text-align: center;
63+
font-size: 16px;
64+
font-family: courier;
65+
//font-weight: bold;
66+
color: rgba( 0, 0, 0);
67+
text-shadow: 1px 1px 0px white;
68+
overflow: hidden;
69+
white-space: nowrap;
70+
}
71+
72+
@-webkit-keyframes walk
73+
{
74+
0%
75+
{
76+
-webkit-transform: rotateY(90deg) rotateZ(90deg);
77+
}
78+
79+
50%
80+
{
81+
-webkit-transform: rotateY(270deg) rotateZ(90deg);
82+
}
83+
84+
100%
85+
{
86+
-webkit-transform: rotateY(450deg) rotateZ(90deg);
87+
}
88+
}
89+
90+
91+
#walk
92+
{
93+
-webkit-animation-name: walk;
94+
-webkit-animation-duration: 2s;
95+
-webkit-animation-iteration-count: infinite;
96+
-webkit-animation-timing-function: linear;
97+
text-align: center;
98+
background-color: #09F;
99+
width: 48px;
100+
height: 48px;
101+
color: #000;
102+
font-size: 32px;
103+
font-family: arial;
104+
font-weight: bold;
105+
border-radius: 6px;
106+
display: inline-block;
107+
border: 3px solid #000;
108+
}
109+

index.html

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
<html>
2+
<head>
3+
<meta charset="utf-8">
4+
<title>Loading..</title>
5+
<link rel="stylesheet" type="text/css" href="index.css?3" />
6+
<script type="text/javascript" src="js/thirdparty/jquery.js"></script>
7+
<script type="text/javascript" src="js/thirdparty/jquery-color.js"></script>
8+
</head>
9+
<body>
10+
11+
<div id="container">
12+
13+
<img src='img/gmod_logo_brave.png' class="bounce"/>
14+
15+
<center>
16+
<br />
17+
<div id="walk">:)</div>
18+
<br />
19+
<br />
20+
<div id="label">дыщ</div>
21+
</center>
22+
23+
</div>
24+
25+
26+
<script type="text/javascript">
27+
28+
var faces = ["=)","=(","=0","=3","=/","=*","=v","=D","xD",":^)"]
29+
var labels = ["вычесленя там","погоди ща","неторопи","зборка информаци","серёзны оналис","зтораюс","ээээээээээммм","УНУНУНУУНУНунунуну"]
30+
31+
var smiley = document.getElementById("walk")
32+
var label = document.getElementById("label")
33+
34+
function ChangeFace(){
35+
smiley.innerHTML = faces[Math.floor(Math.random() * faces.length)]
36+
smiley.style.backgroundColor = $.Color().hsla(Math.random()*359,1,0.8,255)
37+
}
38+
39+
function ChangeLabel(){
40+
label.innerHTML = labels[Math.floor(Math.random() * labels.length)]+"..."
41+
}
42+
43+
ChangeFace()
44+
ChangeLabel()
45+
46+
setInterval(ChangeFace,1000)
47+
setInterval(ChangeLabel,5000)
48+
49+
function GameDetails( servername, serverurl, mapname, maxplayers, steamid, gamemode )
50+
{
51+
// Do with these what you will :)
52+
// this function gets called only when joining a multiplayer server
53+
54+
//$("#spambox").append("serverurl: " + serverurl + "<br>");
55+
//$("#spambox").append("servername: " + servername + "<br>");
56+
//$("#spambox").append("maxplayers: " + maxplayers + "<br>");
57+
//$("#spambox").append("steamid: " + steamid + "<br>");
58+
//$("#spambox").append("gamemode: " + gamemode + "<br>");
59+
//$("#spambox").append("mapname: " + mapname + "<br>");
60+
}
61+
62+
</script>
63+
64+
</body>
65+
</html>

0 commit comments

Comments
 (0)