Layout Update

This commit is contained in:
Christer Warén 2024-06-26 02:21:32 +03:00
parent 314208a9fb
commit 646d8bbe1f

View File

@ -23,20 +23,20 @@
height: 100%;
}
body {
background-image: linear-gradient(to bottom right, #111111, #000000);
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-image: linear-gradient(#0049c8, #00bef9);
margin: 0;
text-align: center;
min-width: 320px;
min-height: 600px;
}
* {
font-family: "Noto Sans Bold", sans-serif;
font-family: "Roboto Medium", sans-serif;
}
*, *:active, *:focus, *:hover, *:visited, *:link {
color: #ffffff;
text-decoration: none;
text-align: center;
}
.emoji *, .emoji *:active, .emoji *:focus, .emoji *:hover, .emoji *:visited, .emoji *:link {
font-family: initial;
@ -44,27 +44,42 @@
h1 {
font-family: "Orbitron Bold", sans-serif;
font-size: 3em;
margin-top: 0;
margin-bottom: 0;
/*background-image: url(/assets/images/logo-light.svg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
color: transparent !important;*/
user-select: none;
}
main, footer {
font-size: 1.5em;
font-size: 1.5rem;
}
header, footer {
main, footer {
margin-top: 1.5rem;
}
header {
background-color: #111111;
display: flex;
flex-direction: column;
flex-direction: row;
align-items: center;
height: 5vh;
max-height: 100px;
min-height: 60px;
}
main, footer {
margin-top: 1.5em;
header .branding {
text-align: left;
}
header .logo {
max-height: 100%;
}
header .name {
font-size: 1.5rem;
margin-left: -0.05rem;
margin-bottom: -0.5rem;
}
header .slogan {
margin-top: 0.25em;
font-size: 1.5em;
margin-top: 0.05rem;
font-size: 0.75rem;
}
footer {
display: flex;
flex-direction: column;
}
footer .powered-by {
margin-top: 0.25em;
@ -85,8 +100,11 @@
<body>
<header>
<h1>ErkkiAI™</h1>
<img class="logo" src="assets/images/logo.svg" alt="ErkkiAI™">
<div class="branding">
<h1 class="name">ErkkiAI™</h1>
<span class="slogan">Energiatehokkuutta kiinteistöllesi</span>
</div>
</header>
<main>
<a href="https://new.ultrahack.org/hackathons/metaversenergy-hackathon">See You Soon! 👀</a>