diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-27 17:16:08 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-27 17:16:08 +0100 |
| commit | b5766ea986598e7ec53036d41deb9b0d152742ed (patch) | |
| tree | 9e97d58592810ed4f93898bcd15c94d769f1a13e /site | |
| parent | c7dbbddf3539efc6d2d321cda9080005de9b6443 (diff) | |
light bath on oktween
Diffstat (limited to 'site')
| -rw-r--r-- | site/assets/css/splash.css | 20 | ||||
| -rw-r--r-- | site/assets/demo/splash/index.html | 4 | ||||
| -rw-r--r-- | site/assets/js/vendor/oktween.js | 2 |
3 files changed, 23 insertions, 3 deletions
diff --git a/site/assets/css/splash.css b/site/assets/css/splash.css new file mode 100644 index 00000000..e60c7261 --- /dev/null +++ b/site/assets/css/splash.css @@ -0,0 +1,20 @@ +/* splash */ + +html, body { + overflow: hidden; + width: 100%; height:100%; +} +header { + position: absolute; + background: transparent; +} +footer { + background: transparent; + position: absolute; + bottom: 0; left: 0; +} +.splash { + position: absolute; + top: 0; left: 0; + width: 100%; height: 100%; +}
\ No newline at end of file diff --git a/site/assets/demo/splash/index.html b/site/assets/demo/splash/index.html index 371d573e..f2a4f94e 100644 --- a/site/assets/demo/splash/index.html +++ b/site/assets/demo/splash/index.html @@ -23,9 +23,9 @@ <a href="/about/">About</a> </div> </header> - <div class="content"> + <div class="splash"> + - </div> <footer> diff --git a/site/assets/js/vendor/oktween.js b/site/assets/js/vendor/oktween.js index 7ecf62fb..b26d360e 100644 --- a/site/assets/js/vendor/oktween.js +++ b/site/assets/js/vendor/oktween.js @@ -156,4 +156,4 @@ var oktween = (function(){ } return oktween -})() +})()
\ No newline at end of file |
