Skip to content

Commit

Permalink
Documentation fill up, examples setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmachu committed Sep 13, 2017
1 parent 305cab4 commit 07e6870
Show file tree
Hide file tree
Showing 8 changed files with 228 additions and 83 deletions.
101 changes: 101 additions & 0 deletions docs/assets/css/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
body{
background-color:#eeeeee;
margin:0px;
padding:0px;
}

section{
height:100vh;
}

h1,h4{
font-family: "Lato", sans-serif;
font-weight: 300;
text-transform: uppercase;
color:rgba(0,0,0,0.6);
letter-spacing:10px;
text-align: center;
}

h4{
font-size:32px;
}

h1{
font-size:48px;
}

p{
font-family: "Open Sans",sans-serif;
color:rgba(0,0,0,0.7);
margin-bottom:2em;
text-align: center;

}

p span{
width:100%;
text-align: center;
display: inline-block;
padding:1em 0;
}

p span b{
width:100%;
text-align: center;
display: inline-block;
}

.example-container{
width:100%;
margin:auto;
float:left;
background-color: #ffffff;
}

.example-container ul{
position:absolute;
bottom:0px;
right:10px;
list-style: none;
}

.example-container ul li{
display:block;
float:left;
margin-left:30px;
}

.example-container ul li a{
font-family: "Lato", sans-serif;
font-size:16px;
font-weight: 300;
text-transform: uppercase;
color:rgba(0,0,0,0.6);
letter-spacing:2px;
text-align: center;
text-decoration: none;
}

.example-details{
width:100%;
margin:auto;
float:left;
background-color: #eeeeee;
}

.example-details-container{
max-width:620px;
margin:0px auto;
}

.example{
display:block;
height:200px;
position:absolute;
margin:auto;
left:0px;
right:0px;
bottom:0px;
top:0px;
}
23 changes: 0 additions & 23 deletions docs/ewok-blink.html

This file was deleted.

23 changes: 0 additions & 23 deletions docs/ewok-fade-out.html

This file was deleted.

23 changes: 0 additions & 23 deletions docs/ewok-glimpse.html

This file was deleted.

34 changes: 34 additions & 0 deletions docs/example-blink.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ewok - Documentation</title>
<link rel="stylesheet" type="text/css" href="assets/css/demo.css">
<link rel="stylesheet" type="text/css" href="assets/css/ewok.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">

</head>
<body>
<section class="example-container">
<h4 class="ewok-blink">Blink effect</h4>
<img src="assets/img/ewok.svg" class="example ewok-blink">
<ul>
<li><a href="index.html">Fade In effect</a></li>
<li><a href="example-fade-out.html">Fade Out effect</a></li>
<li><a href="example-blink.html">Blink effect</a></li>
<li><a href="example-glimpse.html">Glimpse effect</a></li>
</ul>
</section>

<section class="example-details">
<div class="example-details-container">
<h1>Hello, I'm Ewok!</h1>
<p>I'm tiny, light and cute SCSS style sheet with classes and mixins.<br>Like every other Ewok, I also want help you fade out, fade in, blink or glimpse!</p>
<p>You can use classes: <span><b>.ewok-fade-in</b> <b>.ewok-fade-out</b> <b>.ewok-blink</b> <b>.ewok-glimpse</b></span> to create animation on page load.</p>
<p>You can use mixins: <span><b>ewok-fade-in($time, $delay)</b> <b>ewok-fade-out($time, $delay)</b><b>ewok-blink($time, $delay, $jumps)</b><b>ewok-glimpse($time, $delay, $jumps)</b></span> to add and customize animations on your own styles.</p>
</div>
</section>
</body>
</html>
34 changes: 34 additions & 0 deletions docs/example-fade-out.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ewok - Documentation</title>
<link rel="stylesheet" type="text/css" href="assets/css/demo.css">
<link rel="stylesheet" type="text/css" href="assets/css/ewok.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">

</head>
<body>
<section class="example-container">
<h4 class="ewok-fade-out">Fade Out effect</h4>
<img src="assets/img/ewok.svg" class="example ewok-fade-out">
<ul>
<li><a href="index.html">Fade In effect</a></li>
<li><a href="example-fade-out.html">Fade Out effect</a></li>
<li><a href="example-blink.html">Blink effect</a></li>
<li><a href="example-glimpse.html">Glimpse effect</a></li>
</ul>
</section>

<section class="example-details">
<div class="example-details-container">
<h1>Hello, I'm Ewok!</h1>
<p>I'm tiny, light and cute SCSS style sheet with classes and mixins.<br>Like every other Ewok, I also want help you fade out, fade in, blink or glimpse!</p>
<p>You can use classes: <span><b>.ewok-fade-in</b> <b>.ewok-fade-out</b> <b>.ewok-blink</b> <b>.ewok-glimpse</b></span> to create animation on page load.</p>
<p>You can use mixins: <span><b>ewok-fade-in($time, $delay)</b> <b>ewok-fade-out($time, $delay)</b><b>ewok-blink($time, $delay, $jumps)</b><b>ewok-glimpse($time, $delay, $jumps)</b></span> to add and customize animations on your own styles.</p>
</div>
</section>
</body>
</html>
34 changes: 34 additions & 0 deletions docs/example-glimpse.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ewok - Documentation</title>
<link rel="stylesheet" type="text/css" href="assets/css/demo.css">
<link rel="stylesheet" type="text/css" href="assets/css/ewok.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">

</head>
<body>
<section class="example-container">
<h4 class="ewok-glimpse">Glimpse effect</h4>
<img src="assets/img/ewok.svg" class="example ewok-glimpse">
<ul>
<li><a href="index.html">Fade In effect</a></li>
<li><a href="example-fade-out.html">Fade Out effect</a></li>
<li><a href="example-blink.html">Blink effect</a></li>
<li><a href="example-glimpse.html">Glimpse effect</a></li>
</ul>
</section>

<section class="example-details">
<div class="example-details-container">
<h1>Hello, I'm Ewok!</h1>
<p>I'm tiny, light and cute SCSS style sheet with classes and mixins.<br>Like every other Ewok, I also want help you fade out, fade in, blink or glimpse!</p>
<p>You can use classes: <span><b>.ewok-fade-in</b> <b>.ewok-fade-out</b> <b>.ewok-blink</b> <b>.ewok-glimpse</b></span> to create animation on page load.</p>
<p>You can use mixins: <span><b>ewok-fade-in($time, $delay)</b> <b>ewok-fade-out($time, $delay)</b><b>ewok-blink($time, $delay, $jumps)</b><b>ewok-glimpse($time, $delay, $jumps)</b></span> to add and customize animations on your own styles.</p>
</div>
</section>
</body>
</html>
39 changes: 25 additions & 14 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,33 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ewok Fade In example</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ewok - Documentation</title>
<link rel="stylesheet" type="text/css" href="assets/css/demo.css">
<link rel="stylesheet" type="text/css" href="assets/css/ewok.min.css">
<style>
.example{
display:block;
height:200px;
position:absolute;
margin:auto;
left:0px;
right:0px;
bottom:0px;
top:0px;
}
</style>
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">

</head>
<body>
<img src="assets/img/ewok.svg" class="example ewok-fade-in">
<section class="example-container">
<h4 class="ewok-fade-in">Fade In effect</h4>
<img src="assets/img/ewok.svg" class="example ewok-fade-in">
<ul>
<li><a href="index.html">Fade In effect</a></li>
<li><a href="example-fade-out.html">Fade Out effect</a></li>
<li><a href="example-blink.html">Blink effect</a></li>
<li><a href="example-glimpse.html">Glimpse effect</a></li>
</ul>
</section>

<section class="example-details">
<div class="example-details-container">
<h1>Hello, I'm Ewok!</h1>
<p>I'm tiny, light and cute SCSS style sheet with classes and mixins.<br>Like every other Ewok, I also want help you fade out, fade in, blink or glimpse!</p>
<p>You can use classes: <span><b>.ewok-fade-in</b> <b>.ewok-fade-out</b> <b>.ewok-blink</b> <b>.ewok-glimpse</b></span> to create animation on page load.</p>
<p>You can use mixins: <span><b>ewok-fade-in($time, $delay)</b> <b>ewok-fade-out($time, $delay)</b><b>ewok-blink($time, $delay, $jumps)</b><b>ewok-glimpse($time, $delay, $jumps)</b></span> to add and customize animations on your own styles.</p>
</div>
</section>
</body>
</html>

0 comments on commit 07e6870

Please sign in to comment.