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