-
Notifications
You must be signed in to change notification settings - Fork 180
/
index.html
executable file
·92 lines (90 loc) · 2.82 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name=viewport content="width=device-width, initial-scale=1">
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<style>
body { margin: 0; padding: 0; }
html { height: 100%; cursor: default; }
body {
font-family: "Roboto", sans-serif; /* Default font */
width: 100%; height: 100%;
text-align: center;
display: table;
opacity: 1;
animation: fadein 3s forwards;
}
h2 {
font-weight: 300;
margin-bottom: 25px;
}
img {
width: 25%; /* Image width */
border: 0; /* For IE */
/* Aspect ratio of image, gives initial dimension to prevent text moving down once image is loaded */
/* When changing logo, change this also */
aspect-ratio: 125 / 50;
}
#main {
vertical-align: middle;
display: table-cell;
}
/* Progress bar */
#progress {
width: 45%; /* Bar width */
margin: 0 auto;
border-radius: 10px; /* Roundness */
background-color: #a8a8a8; /* Background colour */
padding: 7px 5px;
/* border: 5px solid #a8a8a8; Border */
}
#fill {
padding: 2px 0;
background-color: #00b98b; /* Fill colour */
width: 35%; /* Bar percentage, change text below also */
border-radius: 25px; /* Roundness */
animation: proanimate 2s;
}
#barpercent h3 {
color: white; /* Bar percentage text colour */
margin: 0; padding: 0;
opacity: 1;
animation: fadein 3s forwards;
}
/* Fades in animation */
@keyframes fadein {
from { opacity: 0; }
}
/* Animates bar on page load */
@keyframes proanimate {
from { width: 0%; }
}
@media screen and (max-width:600px) {
img {
width: 60%;
}
h1 {
font-size: 1.3em;
}
h2 {
margin: 1.1em;
font-size: 1.1em;
}
#progress {
width: 80%; /* Bar width */
}
}
</style>
<title>Coming Soon</title>
</head>
<body>
<div id="main">
<img src="logo.png" alt="Logo Image">
<h1>Company Name</h1>
<h2>Our website is currently under construction. </h2>
<div id="progress"><div id="fill"><div id="barpercent"><h3>35%</h3></div></div></div>
</div>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap" rel="stylesheet">
</body>
</html>