Is now a link. And also it removes logo when screen is too smol.
This commit is contained in:
parent
ad09015771
commit
e90af38e46
3 changed files with 14 additions and 2 deletions
BIN
favicon.png
Normal file
BIN
favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
|
@ -1,15 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width initial-scale=1" />
|
||||
<title>Monodon Pages</title>
|
||||
<link rel="stylesheet" href="style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="content">
|
||||
<a id="content" href="https://forge.monodon.me">
|
||||
<img id="logo" src="favicon.svg" />
|
||||
<p id="text">Nothing here</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
10
style.css
10
style.css
|
@ -34,9 +34,13 @@ html,body {
|
|||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: none;
|
||||
margin-right: 1em;
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -45,3 +49,9 @@ html,body {
|
|||
margin: 0;
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1200px) {
|
||||
#logo {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue