menu debut
This commit is contained in:
parent
53c9cc890b
commit
3c8ef2d578
18
index.html
18
index.html
|
@ -11,6 +11,9 @@
|
||||||
<script>0</script>
|
<script>0</script>
|
||||||
<h1>Bloub Bloub Studio</h1>
|
<h1>Bloub Bloub Studio</h1>
|
||||||
<nav>
|
<nav>
|
||||||
|
<img id="menu-icon" src="/menu-burger.png" alt="menu icon" />
|
||||||
|
</nav>
|
||||||
|
<menu>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="/forum-logo.svg" alt="forum" />
|
<img src="/forum-logo.svg" alt="forum" />
|
||||||
<h3>FORUM</h3>
|
<h3>FORUM</h3>
|
||||||
|
@ -20,16 +23,12 @@
|
||||||
<h3>STEAM</h3>
|
<h3>STEAM</h3>
|
||||||
</a>
|
</a>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="/twitter-logo.png" alt="twitter" />
|
<img src="/youtube-logo.png" alt="youtube" />
|
||||||
<h3>TWITTER</h3>
|
<h3>TWITTER</h3>
|
||||||
</a>
|
</a>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="/instagram-logo.png" alt="instagram" />
|
<img src="/twitter-logo.png" alt="twitter" />
|
||||||
<h3>INSTAGRAM</h3>
|
<h3>TWITTER</h3>
|
||||||
</a>
|
|
||||||
<a href="/">
|
|
||||||
<img src="/tik-tok-logo.png" alt="tik tok" />
|
|
||||||
<h3>TIK TOK</h3>
|
|
||||||
</a>
|
</a>
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<img src="/email-logo.png" alt="email us" />
|
<img src="/email-logo.png" alt="email us" />
|
||||||
|
@ -43,8 +42,7 @@
|
||||||
<img src="/press-kit-logo.png" alt="press kit" />
|
<img src="/press-kit-logo.png" alt="press kit" />
|
||||||
<h3>PRESS KIT</h3>
|
<h3>PRESS KIT</h3>
|
||||||
</a>
|
</a>
|
||||||
</nav>
|
</menu>
|
||||||
<h2>OUR GAME :</h2>
|
|
||||||
<main class="games">
|
<main class="games">
|
||||||
<a href="/game0.html" class="game">
|
<a href="/game0.html" class="game">
|
||||||
<img src="/miniature.png" alt="GAME 0" />
|
<img src="/miniature.png" alt="GAME 0" />
|
||||||
|
@ -107,9 +105,11 @@
|
||||||
</video>
|
</video>
|
||||||
</a>
|
</a>
|
||||||
</main>
|
</main>
|
||||||
|
<!--
|
||||||
<div id="notif">
|
<div id="notif">
|
||||||
<img id="notif-close" src="close.svg" alt="close button" onclick="document.getElementById('notif').style.display = 'none'" />
|
<img id="notif-close" src="close.svg" alt="close button" onclick="document.getElementById('notif').style.display = 'none'" />
|
||||||
<a href="/game0.html">BUY OUR LAST GAME NOW!</a>
|
<a href="/game0.html">BUY OUR LAST GAME NOW!</a>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
37
style.css
37
style.css
|
@ -7,13 +7,14 @@ h1, h2 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
menu {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
color: white;
|
color: white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
padding: 0px;
|
||||||
}
|
}
|
||||||
nav a {
|
menu a {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
|
@ -21,20 +22,46 @@ nav a {
|
||||||
padding-bottom: 1rem;
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a img {
|
menu a img {
|
||||||
width: 60px;
|
width: 60px;
|
||||||
height: 60px;
|
height: 60px;
|
||||||
}
|
}
|
||||||
nav a:hover img {
|
menu a:hover img {
|
||||||
width: 75px;
|
width: 75px;
|
||||||
height: 75px;
|
height: 75px;
|
||||||
transition: 0.1s ease;
|
transition: 0.1s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav a h3 {
|
menu a h3 {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 900px) {
|
||||||
|
menu {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
nav {
|
||||||
|
display: block;
|
||||||
|
color: red;
|
||||||
|
margin: 1rem;
|
||||||
|
position: absolute;
|
||||||
|
top: 0px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
padding-right: 50px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-icon {
|
||||||
|
margin-top: 10px;
|
||||||
|
width: 42px;
|
||||||
|
}
|
||||||
|
|
||||||
#notif {
|
#notif {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
margin: 1rem;
|
margin: 1rem;
|
||||||
|
|
Loading…
Reference in New Issue