Mobile improvements
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
@ -3,46 +3,58 @@
|
|||
<head>
|
||||
<title>Home | Elatteria</title>
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
|
||||
<!-- Open Graph Meta Tags -->
|
||||
<meta property="og:url" content="https://www.elatteria.com/">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:title" content="Home | Elatteria">
|
||||
<meta property="og:description" content="Home">
|
||||
<meta property="og:image" content="https://www.elatteria.com/Images/logo.png">
|
||||
<!-- Twitter Meta Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta property="twitter:domain" content="elatteria.com">
|
||||
<meta property="twitter:url" content="https://www.elatteria.com/">
|
||||
<meta name="twitter:title" content="Home | Elatteria">
|
||||
<meta name="twitter:description" content="Home">
|
||||
<meta name="twitter:image" content="https://www.elatteria.com/Images/logo.png">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<ul class="desktop">
|
||||
<li class="logo"><a href="/"></a></li>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li class="logo"><a href="/">Home</a></li>
|
||||
<li><a href="/projects">Projects</a></li>
|
||||
<li><a href="/links">Links</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
</ul>
|
||||
<ul class="mobile">
|
||||
<li class="logo"><a href="/"></a></li>
|
||||
<li class="logo"><a href="/">Home</a></li>
|
||||
<li><a href="/projects">Projects</a></li>
|
||||
<li><a href="/links">Links</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li>Lorem</li>
|
||||
<li>Ipsum</li>
|
||||
<li>Dolor</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<h1 class="title">E-Cafe</h1>
|
||||
<div class="description">
|
||||
<strong>Welcome to E-Cafe!<br/>
|
||||
Welcome to E-Cafe!<br/>
|
||||
We're a small community on Discord.<br />
|
||||
<button type="button" onclick="scrollDown(0, 10000)">
|
||||
Learn More
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 1500px"></div>
|
||||
|
||||
<div class="description">
|
||||
<figure class="screenshots">
|
||||
<img
|
||||
src="Images/Screenshots/MinecraftBedwarsLobby.png"
|
||||
alt="Screenshot from E-Cafe Minecraft server"
|
||||
/>
|
||||
<br>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="description"</div>
|
||||
<div class="spacer"/>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
|
||||
sed do eiusmod tempor incididunt ut labore et dolore magnam aliquam quaerat voluptatem.
|
||||
Ut enim medicorum scientiam non ipsius artis, sed bonae valetudinis causa probamus,
|
||||
|
@ -51,6 +63,8 @@
|
|||
|
||||
<button onclick="location.href='/about';">About Elatteria</button>
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
<script src="Scripts/scroll.js"></script>
|
||||
</html>
|
|
@ -11,12 +11,16 @@ html {
|
|||
|
||||
.description {
|
||||
text-align: center;
|
||||
font-size: 25px;
|
||||
font-size: 30px;
|
||||
margin-bottom: 200px;
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
margin-top: 500px;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url("Images/backround.png");
|
||||
background-repeat: no-repeat;
|
||||
|
@ -33,34 +37,35 @@ body {
|
|||
header {
|
||||
background-color: rgb(32, 36, 59);
|
||||
background-position: top;
|
||||
padding: 5px;
|
||||
text-align: center;
|
||||
justify-content: left;
|
||||
top: 0px;
|
||||
padding: 1%;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
header .logo a {
|
||||
display: flex;
|
||||
background-image: url("Images/logo.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
text-indent: -9999999999999999;
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
text-indent: -9999999%;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
li {
|
||||
display: flex;
|
||||
display: inline-grid;
|
||||
margin: 10px 10px 0px 0px;
|
||||
font-size: 30px;
|
||||
margin: 2%;
|
||||
justify-content: center;
|
||||
margin: 1%;
|
||||
text-align: center;
|
||||
float: left;
|
||||
}
|
||||
|
||||
button {
|
||||
|
@ -77,7 +82,7 @@ button {
|
|||
|
||||
button:hover {
|
||||
background: rgb(146, 199, 249);
|
||||
padding: 10px;
|
||||
padding: 5px;
|
||||
border-radius: 8px;
|
||||
transition: 200ms;
|
||||
}
|
||||
|
@ -90,7 +95,7 @@ a {
|
|||
a:hover {
|
||||
border-radius: 15%;
|
||||
background: rgb(82, 109, 160);
|
||||
padding: 20px;
|
||||
padding: 3px;
|
||||
transition: 250ms;
|
||||
}
|
||||
|
||||
|
@ -129,13 +134,8 @@ a:hover {
|
|||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.mobile a .logo {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.mobile li {
|
||||
font-size: 50px;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1100px) {
|
||||
|
@ -152,7 +152,6 @@ a:hover {
|
|||
|
||||
header .mobile {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
header .desktop {
|