-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
117 lines (112 loc) · 3.35 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<style>
::selection {
background: hsl(127, 53.8%, 46.7%);
}
::-moz-selection {
background: hsl(127, 53.8%, 46.7%);
}
head, body {
margin: 0;
padding: 0;
}
section {
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 2em;
box-sizing: border-box;
}
body::after {
content: "";
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
opacity: .4;
background-image: url(https://upload.wikimedia.org/wikipedia/commons/4/41/Background_paper.png);
background-repeat: repeat;
background-size: auto;
z-index: -1;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
flex-grow: 0;
}
h1 {
color: hsl(0, 0%, 20%);
margin: 0;
font-size: 4em;
}
h2 {
color: hsl(0, 0%, 30%);
margin: 0;
font-size: 1.5em;
}
a {
color: hsl(0, 0%, 35%);
margin: 0;
text-decoration: none;
margin-top: 1em;
align-self: flex-end;
}
a:hover {
filter: brightness(150%);
}
.underline {
position: relative;
}
.underline::after {
position: absolute;
right: 0;
bottom: -1em;
content:"";
/* background-image: url(https://www.freeiconspng.com/uploads/brush-stroke-grunge-transparent-background-6.png);*/
background-image: url(https://i.pinimg.com/originals/2d/a7/8f/2da78f002fffc14b75915a78965b71fa.png);
filter: hue-rotate(90deg) saturate(200%);
background-repeat: no-repeat;
background-size: contain;
background-position: center;
width: 100%;
height: 1.2em;
overflow: visible;
opacity: 1;
/* animate.css bounceInDown class */
--webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-name: lightSpeedIn;
animation-name: lightSpeedIn;
animation-delay: inherit;
}
</style>
</head>
<body>
<section style="height: 100vh;">
<div class="container">
<h1 class="animated fadeIn">treebooks</h1>
<h2 class="animated flipInX" style="animation-delay: .7s">The only eco-friendly and free* knowledge sharing service.</h2>
<a href="https://en.wikipedia.org/wiki/Free_as_in_Freedom" class="animated fadeIn" style="animation-delay: .7s">*free as in
<span class="underline" style="animation-delay: 1.5s">freedom</span></a>
</div>
<span style="position: absolute; left: 0; right: 0; margin: auto; bottom: 1em; font-size: 1em; color: hsl(0, 0%, 20%); text-align: center; transform: rotate(90deg) !important; font-size: 1.5em; animation-delay: 1.5s;" class="animated flipInX">><span>
</section>
<section style="height: 50vh; padding: 4em;">
<div class="container" style="flex-direction: row; align-items: center; justify-content: space-around;">
<h2 class="animated fadeIn" style="margin-right: 2em;">Making the world greener and smarter.</h2>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/7d/Greentree.svg/1280px-Greentree.svg.png" style="width: 20%; opacity: .8;">
</div>
<span style="position: absolute; left: 0; right: 0; margin: auto; bottom: 1em; font-size: 1em; opacity: .35; text-align: center;">Copyright © 2019, All rights reserved <span>
</section>
</body>
</html>