Initial commit
This commit is contained in:
BIN
src/files/img/lagoon-close-02.jpg
Normal file
BIN
src/files/img/lagoon-close-02.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
20
src/layouts/default.html.eco
Normal file
20
src/layouts/default.html.eco
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title><%= @document.title %></title>
|
||||
<!--[if IE]>
|
||||
<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<%- @getBlock("meta").toHTML() %>
|
||||
<%- @getBlock("styles").add(["/styles/style.css"]).toHTML() %>
|
||||
<link href='https://fonts.googleapis.com/css?family=Raleway:300|Abel' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
<%- @content %>
|
||||
<%- @getBlock("scripts").toHTML() %>
|
||||
<footer>
|
||||
<p>Image: NASA / ESA</p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
10
src/render/index.html.eco
Normal file
10
src/render/index.html.eco
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: "Kosmos"
|
||||
layout: "default"
|
||||
isPage: true
|
||||
---
|
||||
|
||||
<section id="teaser">
|
||||
<h1><%= @document.title %></h1>
|
||||
<p>Open-source group communication for the 21st century</p>
|
||||
</section>
|
||||
56
src/render/styles/style.css.scss
Normal file
56
src/render/styles/style.css.scss
Normal file
@@ -0,0 +1,56 @@
|
||||
@import "bourbon";
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
body, html {
|
||||
box-sizing: border-box;
|
||||
height: 100%;
|
||||
}
|
||||
*, *:before, *:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #000;
|
||||
background-image: url(/img/lagoon-close-02.jpg);
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
color: #fff;
|
||||
font-family: Abel;
|
||||
font-size: 18px;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
section#teaser {
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
|
||||
@include display(flex);
|
||||
@include flex-direction(column);
|
||||
@include flex-wrap(nowrap);
|
||||
@include align-items(center);
|
||||
@include align-content(center);
|
||||
@include justify-content(center);
|
||||
@include flex-grow(0);
|
||||
|
||||
h1 {
|
||||
text-transform: uppercase;
|
||||
font-size: 72px;
|
||||
font-family: Raleway;
|
||||
font-weight: 300;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
right: 8px;
|
||||
font-size: 12px;
|
||||
p {
|
||||
display: inline-block;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user