background image now in

This commit is contained in:
janis
2022-12-22 16:58:20 +01:00
parent 7112b26d24
commit bd246fe801
5 changed files with 23 additions and 8 deletions

View File

@@ -1,7 +1,9 @@
/* /*
* *
* impress.js Website * impress.js Website style.css
* *
* copyright 2022 Janis Hutz
*
* *
*/ */
@@ -11,6 +13,10 @@ body {
font-family: sans-serif; font-family: sans-serif;
} }
::selection {
background-color: #0000ff;
}
/* /*
TITLE TITLE
@@ -22,10 +28,10 @@ body {
/* TODO: Add background image*/ /* TODO: Add background image*/
/* 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: 103vw; width: 101vw;
height: 100vh; height: 130vh;
margin-top: -1vh; margin-top: -0.5vh;
margin-left: -1vw; margin-left: -0.5vw;
text-align: center; text-align: center;
} }
@@ -41,6 +47,7 @@ body {
.type-animation { .type-animation {
font-size: 500%; font-size: 500%;
color: white
} }

0
website/docs/index.html Normal file
View File

0
website/download.html Normal file
View File

View File

@@ -4,11 +4,18 @@
<title>impress.js - the stunning javascript presentation framework</title> <title>impress.js - the stunning javascript presentation framework</title>
<meta name="description" content="impress.js, a javascript presentation framework that uses the power of CSS 3 to create stunning presentations in your browser! It is inspired by the idea behind prezi.com"> <meta name="description" content="impress.js, a javascript presentation framework that uses the power of CSS 3 to create stunning presentations in your browser! It is inspired by the idea behind prezi.com">
<link rel="stylesheet" href="./css/style.css"> <link rel="stylesheet" href="./css/style.css">
<!--<link rel="stylesheet" href="./css/dark_hljs.css">--> <link rel="stylesheet" href="./css/dark_hljs.css">
<!--I am using jquery for the fancy typing animation and button animations (plus loading of the navbar and footer)--> <!--I am using jquery for the fancy typing animation and button animations (plus loading of the navbar and footer)-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="./js/index.js"></script> <script src="./js/index.js"></script>
<style>
.title {
background-image: url("main_bg_cut.png");
background-repeat: no-repeat;
background-size: cover;
}
</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.-->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js" integrity="sha512-bgHRAiTjGrzHzLyKOnpFvaEpGzJet3z4tZnXGjpsCcqOnAH6VGUx9frc5bcIhKTVLEiCO6vEhNAgx5jtLUYrfA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>--> <!--<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js" integrity="sha512-bgHRAiTjGrzHzLyKOnpFvaEpGzJet3z4tZnXGjpsCcqOnAH6VGUx9frc5bcIhKTVLEiCO6vEhNAgx5jtLUYrfA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>-->
</head> </head>
@@ -18,13 +25,14 @@
<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>
<br> <br>
<a class="button go-impress" href="./docs/gettingStarted.html">Get started!</a> <a class="button go-impress" href="./docs/gettingStarted.html">Get started!</a>
<!--TODO: Add a direct download link for the file--> <!--TODO: Add a direct download link for the file-->
<a class="button download-base" href="https://raw.githubusercontent.com/impress/impress.js/master/js/impress.js">Download</a> <a class="button download-base" href="./download.html">Download</a>
</div> </div>
</div> </div>
<div class="content"> <div class="content">
@@ -69,7 +77,7 @@
<p>*no rhyme intended</p> <p>*no rhyme intended</p>
<a class="button go-impress" href="./docs/gettingStarted.html">Get started!</a> <a class="button go-impress" href="./docs/gettingStarted.html">Get started!</a>
<!--TODO: Add a direct download link for the file--> <!--TODO: Add a direct download link for the file-->
<a class="button download-base" href="https://cdn.jsdelivr.net/gh/impress/impress.js/js/impress.js">Download</a> <a class="button download-base" href="./download.html">Download</a>
</div> </div>
<div class="more-info"> <div class="more-info">

BIN
website/main_bg_cut.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 364 KiB