Added basic website

This commit is contained in:
konrad 2018-07-16 22:46:07 +02:00 committed by konrad
parent 4c3f4c372d
commit a9ca99488c
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
6 changed files with 71 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea/

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx
ADD src /usr/share/nginx/html
ADD nginx.conf /etc/nginx/conf.d/default.conf

16
nginx.conf Normal file
View File

@ -0,0 +1,16 @@
server {
listen 80;
server_name localhost;
charset utf-8;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

BIN
src/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 645 KiB

16
src/index.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<meta charset="UTF-8">
<title>Vikunja</title>
<link href="style.css" rel="stylesheet"/>
</head>
<body>
<h1>Vikunja</h1>
<h3>The Todo-app to organize your life.</h3>
<span>Coming soon.</span>
</body>
</html>

35
src/style.css Normal file
View File

@ -0,0 +1,35 @@
@import url('https://fonts.googleapis.com/css?family=Montserrat:500,600,800');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background: url('bg.jpg') no-repeat center fixed;
background-size: cover;
font-family: 'Montserrat', sans-serif;
font-size: 14px;
text-align: center;
color: #fff;
}
h1{
margin-top: 40vh;
font-size: 5em;
font-weight: 800;
}
h3{
font-size: 2.5em;
font-weight: 600;
}
span{
font-size: 1.2em;
font-weight: 500;
}