-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (87 loc) · 3.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Set html and body to fill the screen and remove overflow */
html, body {
height: 100%;
overflow: hidden;
}
/* Container settings */
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
height: 100%;
width: 100%;
background-color: #1a1a1a;
border: 12px solid;
border-image: linear-gradient(45deg, red 3.125%, white 3.125%, white 6.25%, red 6.25%, red 9.375%, white 9.375%, white 12.5%, red 12.5%, red 15.625%, white 15.625%, white 18.75%, red 18.75%, red 21.875%, white 21.875%, white 25%, red 25%, red 28.125%, white 28.125%, white 31.25%, red 31.25%, red 34.375%, white 34.375%, white 37.5%, red 37.5%, red 40.625%, white 40.625%, white 43.75%, red 43.75%, red 46.875%, white 46.875%, white 50%, red 50%, red 53.125%, white 53.125%, white 56.25%, red 56.25%, red 59.375%, white 59.375%, white 62.5%, red 62.5%, red 65.625%, white 65.625%, white 68.75%, red 68.75%, red 71.875%, white 71.875%, white 75%, red 75%, red 78.125%, white 78.125%, white 81.25%, red 81.25%, red 84.375%, white 84.375%, white 87.5%, red 87.5%, red 90.625%, white 90.625%, white 93.75%, red 93.75%, red 96.875%, white 96.875%, white) 30;
}
/* Text settings */
.container p {
color: white;
font-size: 1.5rem;
text-align: center;
font-family: "Courier New", Courier, monospace;
}
/* Image container settings */
.image-container {
margin-top: 20px;
margin-bottom: 20px;
}
.image-container img {
max-width: 90vw; /* Maximum width is 90% of the viewport width */
max-height: 50vh; /* Maximum height is 50% of the viewport height */
height: auto; /* Automatically adjust height */
padding: 10px; /* Add padding to create space between logo and borders */
}
/* Contact button settings */
.contact-button {
position: absolute;
bottom: 20px;
background-color: #ff0000;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 1rem;
cursor: pointer;
text-decoration: none;
font-family: "Courier New", Courier, monospace;
}
.contact-button:hover {
background-color: #cc0000;
}
/* Ensure the logo scales down on smaller screens, with more space around it */
@media (max-width: 600px) {
.image-container img {
padding: 20px; /* Add more padding on smaller screens */
max-width: 80vw; /* Reduce width a little more on very small screens */
max-height: 40vh; /* Adjust height scaling on small screens */
}
}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Askari</title>
</head>
<body>
<div class="container">
<div class="image-container">
<a>
<img src="Askari white logo.png" alt="Askari Logo">
</a>
</div>
<p>Revolutionary technologies to make drones safe.<br><br>Currently in dark mode.<br><br></p>
<a href="mailto:info@askaridefense.com" class="contact-button">Contact Us</a>
</div>
</body>
</html>