-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (64 loc) · 1.33 KB
/
index.html
File metadata and controls
73 lines (64 loc) · 1.33 KB
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
<!doctype html>
<html>
<head>
</head>
<style>
body {
font-family: monospace, Verdana, Geneva, sans-serif;
color: black;
user-select: none;
}
/* How to align an object exactly in the center of the webpage*/
.container {
position: absolute;
display: flex;
flex-direction: column;
min-width: 300px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.desc {
text-align: center;
font-size: 2rem;
padding-bottom: 0.8em;
}
.button {
display: block;
text-align: center;
}
.button a:link, a:visited {
background-color: white;
border: 1px solid black;
/* border-radius: 1.1em; */
padding: 1em 0.8em;
text-decoration: none;
color: black;
font-size: 1rem;
transition-duration: 0.7s;
cursor: pointer;
}
.button a:hover, a:active {
background-color: black;
color: white;
}
@media (max-width: 675px) {
.desc {
font-size: 1.2rem;
}
.button a:link, a:visited {
font-size: 0.7rem;
}
}
</style>
<body>
<div class="container">
<div class="desc">
<p>Hello you found me!<br>I'm Jakub, a coding architect.</p>
</div>
<div class="button">
<a href="about.html">Find out more here!</a>
</div>
</div>
</body>
</html>