-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (79 loc) · 3.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="javascript.js"></script>
<link rel="stylesheet" href="main.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Global Warming</title>
<style>
@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);
/* Global */
.line-1{
position: absolute;
top: 50%;
width: 24em;
margin: 0 auto;
border-right: 2px solid rgba(255,255,255,.75);
font-size: 60px;
text-align: center;
white-space: nowrap;
overflow: hidden;
transform: translateY(-50%);
color: #21355a;
}
/* Animation */
.anim-typewriter{
animation: typewriter 4s steps(44) 1s 1 normal both,
blinkTextCursor 500ms steps(44) infinite normal;
}
@keyframes typewriter{
from{width: 0;}
to{width: 24em;}
}
@keyframes blinkTextCursor{
from{border-right-color: rgba(255,255,255,.75);}
to{border-right-color: transparent;}
}
</style>
</head>
<body>
<div class="header">
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/index.html"> <img style="width: 160px;height: 65px;margin-top: -20px;" class="logo" src="images/logo.png" alt="logo"></a>
<div class="allDropdowns">
<div class="dropdown">
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/articles.html" class="dropbtn">Articles</a>
<div class="dropdown-content">
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/all_articles.html">My Articles</a>
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/write_article.html">Write Article</a>
</div>
</div>
<div class="dropdown">
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/solutions.html"class="dropbtn">Solutions</a>
<div class="dropdown-content">
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/write_solutions.html">Write Solutions</a>
</div>
</div>
<div class="dropdown">
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/facts.html" class="dropbtn">Facts</a>
</div>
<div class="dropdown">
<a href="file:///C:/Users/FURKAN-OZGUL/Desktop/Project/more.html" class="dropbtn">More</a>
</div>
</div>
</div>
<article class="card" style="width: 30%;float: right;margin-right: 11%;margin-top: 10%;">
<header>
<h3 class='header' style="margin-top: 1px ">
Carbon Footprint Calculation
</h3>
</header>
FUEL consumption (g/km): <input type="text" id="fuel">
Emission factor (kg/km): <input type="text" id="emusyon">
<div style="margin-top: 2%;" id="Sonuc"></div>
<button onclick="hesaplama()" class="hbtn hb-fill-right" >Calculate</button>
</article>
<h1 class="mainTitle">Let's act together to control <br> <p class="gbTitle"> <p class="line-1 anim-typewriter" style="margin-left: -100px;">Global Warming !</p></h1>
</body>
</html>