Revamp website

* Change/simplify layout and colors of everything
* Add a link to Gitea (refs #5)
* Add actual content, consisting of a quick summary in text
This commit is contained in:
Basti 2019-08-03 18:09:59 +02:00
parent 0d5172caff
commit 819760cd06
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67
2 changed files with 91 additions and 201 deletions

View File

@ -4,45 +4,43 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>Kosmos</title> <title>Kosmos</title>
<meta content='width=device-width, minimum-scale=1.0, maximum-scale=1.0' name='viewport'> <meta content='width=device-width, minimum-scale=1.0, maximum-scale=1.0' name='viewport'>
<!--[if IE]>
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="generator" content="DocPad v6.78.1" />
<link rel="stylesheet" href="/styles/style.css" /> <link rel="stylesheet" href="/styles/style.css" />
<link href='https://fonts.googleapis.com/css?family=Raleway:300|Abel' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Raleway:700|Abel' rel='stylesheet' type='text/css'>
</head> </head>
<body> <body>
<section id="teaser"> <div id="wrapper">
<header>
<h1>Kosmos</h1> <h1>Kosmos</h1>
<h2>Open-source group communication for the 21st century</h2> <h2>Group communication for the 21st century</h2>
<nav> </header>
<ul> <main>
<li><a href="https://wiki.kosmos.org">Wiki</a></li>
<li><a href="https://github.com/67P" rel="me">GitHub</a></li>
<li><a href="https://kosmos.social/@kosmos" rel="me">Fediverse</a></li>
<li><a href="https://twitter.com/KosmosHQ" rel="me">Twitter</a></li>
</ul>
</nav>
<!--
<p> <p>
Kosmos is a new kind of team communication service. All of it is based on We are an open co-operative of people, who are developing a free,
open standards, data formats and software&ndash;combining decades-old, open-source, and user-centric alternative to centralized group chat
tried-and-true technologies with bleeding-edge, innovative ones. platforms, based on widely used protocols and standards.
</p> </p>
<p> <p>
The first version of Kosmos will be a modern, beautiful, easy-to-use, A public beta of Kosmos Chat is planned for late 2019. We also develop
offline-capable, always-on IRC client with added audio/video capabilities, a system for rewarding contributors and enabling decentralized
significantly lowering the barrier of entry for participating in open-source governance based on contributions, called
project communication. <a href="https://kredits.kosmos.org">Kredits</a>,
which we started using in production recently.
</p> </p>
<p> <p>
At the moment, Kosmos is pre-alpha work in progress. You can find all relevant information and further links in our
<a href="https://wiki.kosmos.org">wiki</a>.
We collaborate on source code on
<a href="https://github.com/67P" rel="me">GitHub</a>
as well as our own
<a href="https://gitea.kosmos.org/kosmos" rel="me">Gitea</a>.
For announcements and other news, you can follow us on the
<a href="https://kosmos.social/@kosmos" rel="me">fediverse</a>
(recommended) or on
<a href="https://twitter.com/KosmosHQ" rel="me">Twitter</a>.
</p> </p>
--> </main>
</section>
<footer> <footer>
<p>Image: NASA / ESA</p>
</footer> </footer>
</div>
</body> </body>
</html> </html>

View File

@ -6,6 +6,7 @@
body, html { body, html {
box-sizing: border-box; box-sizing: border-box;
height: 100%; height: 100%;
font-size: 16px;
} }
*, *:before, *:after { *, *:before, *:after {
@ -13,186 +14,77 @@ body, html {
} }
body { body {
background-color: #000; background-color: #fff;
background-image: url(/img/lagoon-close-02.jpg); color: #232323;
background-size: cover;
background-repeat: no-repeat;
color: #fff;
font-family: Abel; font-family: Abel;
font-size: 18px; font-size: 18px;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
text-align: center; text-align: center;
} }
section#teaser { html, body, #wrapper {
height: 100%; min-height: 100%;
width: 768px; }
max-width: 95%;
#wrapper {
min-height: 100%;
margin: 0 auto; margin: 0 auto;
text-align: center;
display: -webkit-box;
display: -moz-box;
display: box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex; display: flex;
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
box-orient: vertical;
-webkit-box-direction: normal;
-moz-box-direction: normal;
box-direction: normal;
-webkit-flex-direction: column;
-moz-flex-direction: column;
flex-direction: column; flex-direction: column;
-ms-flex-direction: column;
-webkit-box-lines: single;
-moz-box-lines: single;
box-lines: single;
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-align: center;
-moz-box-align: center;
box-align: center;
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-o-align-items: center;
align-items: center; align-items: center;
-ms-flex-align: center;
-webkit-align-content: center;
-moz-align-content: center;
align-content: center;
-ms-flex-line-pack: center;
-webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-o-justify-content: center;
justify-content: center; justify-content: center;
-ms-flex-pack: center; }
-webkit-flex-grow: 0;
-moz-flex-grow: 0; header {
flex-grow: 0; height: 100%;
-ms-flex-positive: 0; } max-width: 90%;
section#teaser h1 { margin: 0 auto 10vh;
text-align: center;
}
header h1 {
display: inline-block; display: inline-block;
margin-bottom: 1rem; margin-bottom: 2rem;
font-size: 4rem; margin-right: -0.25em; /* fix trailing space from letter-spacing */
font-size: 7vw;
font-family: Raleway; font-family: Raleway;
font-weight: 700;
letter-spacing: 0.5em;
text-transform: uppercase;
background: url(https://kredits.kosmos.org/img/bg-947d3bf6bb15a1a3b07afcba4c307690.jpg);
background-size: cover;
background-repeat: no-repeat;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
header h2 {
font-weight: 300; font-weight: 300;
text-transform: uppercase; } font-size: 1.4rem;
section#teaser h2 { }
margin-bottom: 4rem;
font-weight: 300; main {
font-size: 1.6rem; } width: 768px;
section#teaser p { max-width: 90%;
margin-bottom: 2rem; } text-align: left;
section#teaser nav {
display: block;
width: 100%; }
section#teaser nav ul {
display: block;
width: 100%;
list-style: none;
display: -webkit-box;
display: -moz-box;
display: box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
box-orient: horizontal;
-webkit-box-direction: normal;
-moz-box-direction: normal;
box-direction: normal;
-webkit-flex-direction: row;
-moz-flex-direction: row;
flex-direction: row;
-ms-flex-direction: row;
-webkit-box-lines: single;
-moz-box-lines: single;
box-lines: single;
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-box-align: center;
-moz-box-align: center;
box-align: center;
-webkit-align-items: center;
-moz-align-items: center;
-ms-align-items: center;
-o-align-items: center;
align-items: center;
-ms-flex-align: center;
-webkit-align-content: center;
-moz-align-content: center;
align-content: center;
-ms-flex-line-pack: center;
-webkit-box-pack: center;
-moz-box-pack: center;
box-pack: center;
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
-o-justify-content: center;
justify-content: center;
-ms-flex-pack: center;
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
flex-grow: 1;
-ms-flex-positive: 1; }
section#teaser nav ul li {
-webkit-box-flex: 1;
-moz-box-flex: 1;
box-flex: 1;
-webkit-flex: 1;
-moz-flex: 1;
-ms-flex: 1;
flex: 1;
height: 48px; }
section#teaser nav ul li a {
display: block;
margin: 0 8px;
height: 2.4rem;
line-height: 2.4rem;
font-size: 1.2rem; font-size: 1.2rem;
font-weight: 300; }
text-decoration: none;
color: #fff; main p {
border: 1px solid #fff; line-height: 1.5em;
border-radius: 24px; margin-bottom: 1em;
-webkit-transition: all linear 150ms; }
-moz-transition: all linear 150ms;
transition: all linear 150ms; } @media screen and (max-width: 760px) {
section#teaser nav ul li a:hover { header {
background: rgba(255, 255, 255, 0.2); margin-top: 4rem;
-webkit-transition: all linear 150ms; }
-moz-transition: all linear 150ms;
transition: all linear 150ms; header h1 {
font-size: 8vw;
} }
footer { footer {
position: absolute; margin-bottom: 4rem;
bottom: 8px;
right: 8px;
font-size: 12px;
}
footer p {
display: inline-block;
opacity: 0.7;
}
@media screen and (max-width: 600px) {
section#teaser h1 {
font-size: 72px;
} }
} }