-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
151 lines (137 loc) · 3.07 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link href="style.css" rel="style">
<title>My Scary Profile</title>
</head>
<body>
<header>
<div class="logo">
<h1 class="logo-text">Smth™</h1>
<div class="hamburger-icon">
<label for="dropdown">
<i class="fa-solid fa-bars"></i>
<i class="fa-solid fa-x"></i>
</label>
</div>
</div>
</header>
<main>
<div class="container container-1">
<a href="https://github.com/Skullfiredevil"> This is my Github</a>
</div>
<div class="container container-2">
<a href="https://twitter.com/Skullfiredevil1">This is my Twitter</a>
</div>
<div class="container container-3">
<a href="https://instagram.com/skullfiredevil">This is my Instagram</a>
</div>
</main>
</body>
<style>
* {
margin: 0;
padding: 0;
list-style: none;
text-decoration:none;
box-sizing:border-box;
}
body{
background-color:lightgrey;
}
.hamburger-icon {
display: none;
}
header {
position:fixed;
top:0;
left:0;
width:100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: darkslateblue;
}
.logo-text{
color:white;
}
.hamburger-icon{
border:none;
background-color:transparent;
}
.hamburger-icon .fa-bars,
.hamburger-icon .fa-x{
color:white;
font-size:1rem;
cursor:pointer;
}
.hamburger-icon input[type="checkbox"] {
appearance: none;
}
@media screen and (max-width: 600px) {
header {
display: block;
}
.logo {
display: flex;
justify-content: space-between;
}
.hamburger-icon {
display: block;
}
.fa-x{
display:none;
}
header:has(.hamburger-icon input[type="checkbox"]:checked) .navigation {
margin-top: 1rem;
height:100px;
}
header:has(.hamburger-icon input[type="checkbox"]:checked) .fa-bars {
display:none;
}
header:has(.hamburger-icon input[type="checkbox"]:checked) .fa-x {
display:inline-block;
}
}
/* Content CSS */
.container{
height:100vh;
display:grid;
place-items:center;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size:cover;
}
.container:nth-child(1){
margin-top:0;
}
.container a{
text-align:center;
font-size:3rem;
color:white;
text-shadow:2px 2px black;
transition:all 0.5s linear;
}
.container button{
color:white;
}
.container-1{
background-image:url("https://i.imgur.com/asaSb2O.png")
}
.container-2{
background-image:url("https://i.imgur.com/GAVf8QH.png")
}
.container-3{
background-image:url("https://i.imgur.com/qmcCpvT.png")
}
</style>
</html>