Fix custom-theme example to be more useful

Not it provides a meaningful example. It also just includes pre-built
css file for the example.
This commit is contained in:
Jun
2016-07-13 01:11:30 +09:00
parent 26852236cc
commit fdc8d64fd9
5 changed files with 212 additions and 23 deletions

View File

@@ -6,7 +6,7 @@
<link href="custom-theme.css" rel="stylesheet">
<script src="../dist/js/perfect-scrollbar.js"></script>
<style>
.contentHolder { position:relative; margin:0px auto; padding:0px; width: 600px; height: 400px; overflow: auto; }
.contentHolder { position: relative; margin:0px auto; padding:0px; width: 600px; height: 400px; overflow: hidden; }
.contentHolder .content { background-image: url('./azusa.jpg'); width: 1280px; height: 720px; }
</style>
</head>
@@ -19,7 +19,7 @@
var $ = document.querySelector.bind(document);
window.onload = function () {
Ps.initialize($('#Default'), {
theme: 'custom-theme'
theme: 'square'
});
};
</script>