Start Menu

This commit is contained in:
brausjonas
2023-03-24 18:09:32 +01:00
parent 04ac65f322
commit 0bdaa2a1dc
3 changed files with 142 additions and 4 deletions
+12 -1
View File
@@ -7,9 +7,19 @@
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" /> <option name="LAST_RESOLUTION" value="IGNORE" />
</component> </component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="HTML File" />
</list>
</option>
</component>
<component name="Git.Settings"> <component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component> </component>
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="ProjectId" id="2NT3ry0yteNP2EgMmxun1gFG8Iw" /> <component name="ProjectId" id="2NT3ry0yteNP2EgMmxun1gFG8Iw" />
<component name="ProjectViewState"> <component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
@@ -17,6 +27,7 @@
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent"><![CDATA[{
"keyToString": { "keyToString": {
"DefaultHtmlFileTemplate": "HTML File",
"RunOnceActivity.OpenProjectViewOnStart": "true", "RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true", "RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false", "WebServerToolWindowFactoryState": "false",
@@ -32,7 +43,7 @@
<option name="number" value="Default" /> <option name="number" value="Default" />
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1679674447095</updated> <updated>1679674447095</updated>
<workItem from="1679674448294" duration="11000" /> <workItem from="1679674448294" duration="3278000" />
</task> </task>
<servers /> <servers />
</component> </component>
+112 -1
View File
@@ -1,4 +1,115 @@
p @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alkatra&family=Delicious+Handrawn&family=Roboto:wght@300&display=swap');
*
{ {
font-family: "Roboto Light", sans-serif;
box-sizing: border-box;
margin: 0;
padding: 0;
}
li, a, button
{
font-weight: 500;
font-size: 16px;
color: #ecf0f1;
text-decoration: none;
}
header
{
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 10%;
background-color: #24242A;
}
.navLinks
{
list-style: none;
}
.navLinks li
{
cursor: pointer;
display: inline-block;
padding: 0px 20px;
}
.navLinks li a
{
transition: all 0.5s ease 0s;
}
.navLinks li a:hover, .navLinks li:hover
{
color: #0088a9;
}
button
{
padding: 9px 25px;
background-color: rgba(0, 136, 169, 1);
border: none;
border-radius: 50px;
cursor: pointer;
transition: all 0.5s ease 0s;
}
button:hover
{
background-color: rgba(0, 136, 169, 0.3);
}
nav
{
order: 1;
}
h1
{
text-align: center;
font-size: 50px; font-size: 50px;
color: white;
}
.margin-top
{
margin-top: 50px;
}
body
{
width: 100vw;
height: 100vh;
background-size: cover;
background-color: #31313a;
}
.dropdown div
{
display: none;
position: absolute;
padding: 20px;
margin-left: -90px;
background-color: #24242A;
border-radius: 50px
}
.dropdown div ul li
{
margin-top: 10px;
margin-bottom: 10px;
text-align: center;
}
.dropdown:hover div ul, .dropdown:hover div
{
display: flex;
flex-direction: column;
} }
+18 -2
View File
@@ -10,13 +10,29 @@
<header> <header>
<nav> <nav>
<ul class="navLinks"> <ul class="navLinks">
<li><a href="#">Games</a></li> <li class="dropdown">
Games
<div>
<ul>
<li><button>FlufflParty</button></li>
<li><button>Coming Soon</button></li>
</ul>
</div>
</li>
<li><a href="#">Quicklinks</a></li> <li><a href="#">Quicklinks</a></li>
<li><a href="#">About Us</a></li> <li><a href="#">About Us</a></li>
</ul> </ul>
</nav> </nav>
<a class="cta" href="#"><button>Contact</button></a> <a href="#">
<button>IO Game Studios</button>
</a>
</header> </header>
<h1 class="margin-top">
We create games like back in the days
</h1>
</body> </body>
</html> </html>