forked from kodekloudhub/github-actions-solar-system
-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
107 lines (99 loc) · 4.78 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
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Encode+Sans:wght@900&family=Ubuntu&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=BioRhyme&family=Encode+Sans:wght@900&family=Ubuntu&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>Solar System - Sid</title>
<link rel="icon" type="image/x-icon" href="https://gitlab.com/sidd-harth/solar-system/-/raw/main/images/saturn.png">
<style>
#planetImage {
background: url('https://gitlab.com/sidd-harth/solar-system/-/raw/main/images/solar-system.png') center center;
background-repeat: no-repeat;
background-size: cover;
content: '';
position: static;
animation: spin 25s linear infinite;
width: 50vw;
height: 50vw;
}
@keyframes spin {
100% { transform: rotate(360deg); }
}
body {
display: flex;
align-items: center;
justify-content: center;
background: url('images/background.gif');
}
/*.shadow {
animation: rainbow 2s linear infinite;
} */
</style>
</head>
<body>
<div>
<div>
<a href="index.html">
<button
style=" font-size: 40px;
background: rgb(50,43,167);
background: linear-gradient(90deg, rgba(50,43,167,1) 0%, rgba(82,41,124,1) 0%, rgba(137,26,205,1) 100%);
color:white;
font-family: 'Orbitron', sans-serif;
border-radius: 25px;
border: 2px solid rgb(35, 34, 36);
width: 600px;
height: 70px;
text-align: center;
line-height: initial;
border-width: 1px 1px 3px"> SOLAR <i class="fa fa-rocket"></i> SYSTEM </button>
</a>
</div>
<br>
<input type="submit" id="submit" value="Search the Planet"
style="float: right;
background-color:rgb(187, 75, 243);
color:white;
font-family: 'Ubuntu';
border-radius: 25px;
border: 2px solid #609;
padding: 20px;
width: 200px;
text-align:center;" />
<div style="overflow: hidden; padding-right: .5em;" >
<input type="number" id="planetID" name="number"
style="width: 100%;
background-color:rgb(218, 204, 226);
text-align:center;
border-radius: 25px;
border: 2px solid #609;
padding: 20px;" placeholder="Enter a number(0 - 8) to view the planets"/>
</div>
<div class="middle">
<h1 style="color:rgb(247, 145, 95); font-family: 'Encode Sans';" id="planetName"> Solar System </h1>
</div>
<div class="bottomleft">
<p style="color:rgb(224, 224, 224); font-family: 'Ubuntu';" id="planetDescription"> Solar system consists of our star, the Sun, and everything bound to it by gravity – <br> the planets Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, and Neptune; <br> dwarf planets such as Pluto; dozens of moons; and millions <br> of asteroids, comets, and meteoroids.</p>
</div>
<br>
<div class="middle">
<h2 style="color:rgb(93, 150, 237); font-family: 'BioRhyme';" id="hostname">Solar System Pod Name</h2>
<!-- <h3 style="color:rgb(111, 255, 171); font-family: 'Encode Sans';" id="environment">ENVIRONMENT: " placeholder "</h3> -->
</div>
</div>
<div id="planetImage">
</div>
<script type="text/javascript" src="app-controller.js" charset="utf-8"></script>
</body>
</html>