progress on main page

This commit is contained in:
janis
2022-12-24 07:04:09 +01:00
parent bd246fe801
commit f686863211
5 changed files with 18 additions and 6 deletions

View File

@@ -16,10 +16,19 @@
display: inline-flex;
justify-content: center;
align-content: center;
list-style-type: none;
width: 80vw;
height: 100%;
}
.mainitems {
padding: 1%;
}
.mainitems:hover {
background-color: darkblue;
}
.menubutton {
text-decoration: none;
background-color: none;

View File

@@ -29,7 +29,7 @@ body {
/* make div full width (well technically oversized and move it to -1% offset */
display: block;
width: 101vw;
height: 130vh;
height: 120vh;
margin-top: -0.5vh;
margin-left: -0.5vw;
text-align: center;
@@ -37,17 +37,18 @@ body {
.title-content {
position: relative;
color: white;
top: 20vh;
}
.title-buttons {
position: relative;
top: 40vh;
top: 30vh;
}
.type-animation {
font-size: 500%;
color: white
font-size: 600%;
color: white !important;
}

View File

@@ -13,7 +13,7 @@
.title {
background-image: url("main_bg_cut.png");
background-repeat: no-repeat;
background-size: cover;
background-size: 100%;
}
</style>
<!--I will be using highlight.js to highlight the syntax, but I still need to figure out how to use it.-->
@@ -25,7 +25,6 @@
<div class="title">
<div class="title-content">
<h1 class="type-animation">impress.js</h1>
</div>
<div class="title-buttons">
<a class="button" id="demobutton" href="./demo/index.html">Watch the demo</a>

View File

@@ -1,4 +1,6 @@
$(document).ready(function () {
$('#navbar').load('nav.html')
console.log("ok")
//
});

View File

@@ -11,6 +11,7 @@
<ul class="Menu">
<li class="mainitems"><a class="menubutton" id="docs" href="docs/index.html">Documentation</a></li>
<li class="mainitems"><a class="menubutton" id="download" href="download.html">Download</a></li>
<li class="mainitems"><a class="menubutton" href="https://github.com/impress/impress.js">GitHub</a></li>
</ul>
</div>
</div>