Compare commits
No commits in common. "master" and "legacy" have entirely different histories.
4 changed files with 184 additions and 216 deletions
42
index.htm
Normal file
42
index.htm
Normal file
|
@ -0,0 +1,42 @@
|
|||
<html><script>
|
||||
function expand() {document.getElementById("bar").style.height = "100%";}
|
||||
function collapse() {document.getElementById("bar").style.height = "0px"; }
|
||||
function myFunction() {
|
||||
if (document.getElementById('bar').clientHeight == 0) { expand();}
|
||||
else { collapse();}
|
||||
}
|
||||
</script>
|
||||
<LINK href="style.css" rel="stylesheet" type="text/css">
|
||||
<title>TC Automotives</title><style>
|
||||
#b1:hover { background-image:url("resources/car.png");}
|
||||
#b2:hover { background-image:url("resources/sketch.png");}
|
||||
#b3:hover { background-image:url("resources/cogs.png");}
|
||||
#b4:hover { background-image:url("resources/track.png");}
|
||||
</style>
|
||||
<body>
|
||||
<div id="menu"><div id="buttonholder">
|
||||
<div id="b1" class="button" onclick="myFunction()">Models</div>
|
||||
<div id="b2" class="button" onclick="myFunction()">Design</div>
|
||||
<div id="b3" class="button" onclick="myFunction()">Details</div>
|
||||
<div id="b4" class="button" onclick="myFunction()">Specifications</div>
|
||||
</div>
|
||||
<div id="eagle"></div>
|
||||
<div id="senna"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--div id="logo"></div-->
|
||||
<div id="wrapper">
|
||||
<!--div id="wrapper2"></div><div id="dropshadowbg"></div-->
|
||||
<div id="bar">
|
||||
|
||||
<div class="bottombox">
|
||||
<div class="bs">
|
||||
ASDadsasddas
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
34
index.html
34
index.html
|
@ -1,34 +0,0 @@
|
|||
<html>
|
||||
<script src="script.js"></script>
|
||||
<LINK href="style.css" rel="stylesheet" type="text/css">
|
||||
<title>TC Automotives</title>
|
||||
|
||||
<body>
|
||||
<div id="menu">
|
||||
<div id="buttonholder">
|
||||
<div id="b1" class="button" onclick="myFunction()">Models</div>
|
||||
<div id="b2" class="button" onclick="myFunction()">Design</div>
|
||||
<div id="b3" class="button" onclick="myFunction()">Details</div>
|
||||
<div id="b4" class="button" onclick="myFunction()">Specifications</div>
|
||||
</div>
|
||||
<div id="eagle"></div>
|
||||
<div id="senna"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--div id="logo"></div-->
|
||||
<div id="wrapper">
|
||||
<!--div id="wrapper2"></div><div id="dropshadowbg"></div-->
|
||||
<div id="bar">
|
||||
|
||||
<div class="bottombox">
|
||||
<div class="bs">
|
||||
ASDadsasddas
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,6 +0,0 @@
|
|||
function expand() { document.getElementById("bar").style.height = "100%"; }
|
||||
function collapse() { document.getElementById("bar").style.height = "0px"; }
|
||||
function myFunction() {
|
||||
if (document.getElementById('bar').clientHeight == 0) { expand(); }
|
||||
else { collapse(); }
|
||||
}
|
50
style.css
50
style.css
|
@ -6,15 +6,14 @@ body {
|
|||
|
||||
@font-face {
|
||||
font-family: race;
|
||||
src: url(resources/Evogria.otf);
|
||||
src: url(resources/evogria.otf);
|
||||
}
|
||||
|
||||
#menu {
|
||||
position:fixed;
|
||||
height:100%;
|
||||
vertical-align:center;
|
||||
width: 15%;
|
||||
/* --300px; */
|
||||
width:15%;--300px;
|
||||
left:0;
|
||||
border-right:1px solid black;
|
||||
background: rgb(160,0,0);
|
||||
|
@ -35,7 +34,6 @@ body {
|
|||
height:auto;
|
||||
width:auto;
|
||||
}
|
||||
|
||||
.button {
|
||||
width:100%;
|
||||
height:5%;
|
||||
|
@ -61,20 +59,15 @@ body {
|
|||
font-size:250%;
|
||||
text-shadow: 1px 1px #606060;
|
||||
-box-shadow:inset 0 0 100px #000000;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
-webkit-user-select: none;
|
||||
/* Chrome/Safari */
|
||||
-moz-user-select: none;
|
||||
/* Firefox */
|
||||
-ms-user-select: none;
|
||||
/* IE10+ */
|
||||
cursor: pointer; cursor: hand;
|
||||
-webkit-user-select: none; /* Chrome/Safari */
|
||||
-moz-user-select: none; /* Firefox */
|
||||
-ms-user-select: none; /* IE10+ */
|
||||
background-repeat:no-repeat;
|
||||
background-size:100%;
|
||||
margin-bottom:-2;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
height:20%;
|
||||
box-shadow:inset 0 0 100px #000000;
|
||||
|
@ -98,10 +91,8 @@ body {
|
|||
-moz-transition: all 1s ease-out;
|
||||
-o-transition: all 1s ease-out;
|
||||
transition: all 1s ease-out;
|
||||
cursor: pointer;
|
||||
cursor: hand;
|
||||
cursor: pointer; cursor: hand;
|
||||
}
|
||||
|
||||
#eagle:hover {
|
||||
background-image:url('resources/eagleover.png');
|
||||
}
|
||||
|
@ -143,7 +134,6 @@ body {
|
|||
transition: all 1s ease-out;
|
||||
opacity:50%;
|
||||
}
|
||||
|
||||
#bar:hover {
|
||||
-height:100%;
|
||||
}
|
||||
|
@ -160,7 +150,6 @@ body {
|
|||
transition: all 2s ease-out;
|
||||
opacity:50%;
|
||||
}
|
||||
|
||||
#bar2:hover {
|
||||
width:100%;
|
||||
}
|
||||
|
@ -196,12 +185,10 @@ body {
|
|||
-o-transition: all 1s ease-out;
|
||||
transition: all 1s ease-out;
|
||||
}
|
||||
|
||||
#swrapper:hover {
|
||||
opacity: 0.5;
|
||||
background-size:55%;
|
||||
}
|
||||
|
||||
#panel {
|
||||
position:absolute;
|
||||
margin:auto;
|
||||
|
@ -212,12 +199,7 @@ body {
|
|||
background:black;
|
||||
}
|
||||
|
||||
#dropshadowbg {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: inset 0 0 200px #000000;
|
||||
}
|
||||
#dropshadowbg {position:absolute;width:100%;height:100%;box-shadow: inset 0 0 200px #000000;}
|
||||
|
||||
#logo {
|
||||
position:absolute;
|
||||
|
@ -228,19 +210,3 @@ body {
|
|||
background-image:url("resources/logo.png");
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
#b1:hover {
|
||||
background-image: url("resources/car.png");
|
||||
}
|
||||
|
||||
#b2:hover {
|
||||
background-image: url("resources/sketch.png");
|
||||
}
|
||||
|
||||
#b3:hover {
|
||||
background-image: url("resources/cogs.png");
|
||||
}
|
||||
|
||||
#b4:hover {
|
||||
background-image: url("resources/track.png");
|
||||
}
|
Loading…
Reference in a new issue