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; display: inline-flex;
justify-content: center; justify-content: center;
align-content: center; align-content: center;
list-style-type: none;
width: 80vw; width: 80vw;
height: 100%; height: 100%;
} }
.mainitems {
padding: 1%;
}
.mainitems:hover {
background-color: darkblue;
}
.menubutton { .menubutton {
text-decoration: none; text-decoration: none;
background-color: none; background-color: none;

View File

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

View File

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

View File

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

View File

@@ -11,6 +11,7 @@
<ul class="Menu"> <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="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" 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> </ul>
</div> </div>
</div> </div>