Merge pull request #4 from Rushilwiz/master

Refresh Development
This commit is contained in:
Rushil Umaretiya 2020-04-08 19:36:03 -04:00 committed by GitHub
commit c689046acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 0 deletions

17
.refresh_server.yml Normal file
View File

@ -0,0 +1,17 @@
---
- hosts: webservers
remote_user: root
tasks:
- name: fetch latest from github repo
git:
repo: git@github.com:rushilwiz/brancher.git
version: master
dest: /var/www/brancher.me/html
accept_hostkey: yes
key_file: ~/.ssh/brancher_rsa
- name: restart apache2
service:
name: apache2
state: restarted

14
404/index.html Executable file
View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Page Not Found</title>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link href="/404/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<h1 class="header">404: page not found</h1>
<p class="desc">it's dangerous to go alone!<br>take this!</p>
<a href="http://crucialnet.org"><img src="/404/sword.png" width="50px;"></a>
<p class="foot">if you feel there's been a mistake, feel free to contact me <a href="http://crucialnet.org/contact-me">here</a></p>
</body>
</html>

36
404/style.css Executable file
View File

@ -0,0 +1,36 @@
* {
color: #fff;
}
body {
background-color: #000;
}
.header {
left: 50%;
transform: translateX(-50%) rotate(180deg);
font-family: monospace;
font-weight: 200;
font-size: 9vh;
}
.desc {
position: relative;
font-family: 'Press Start 2P', monospace;
text-transform: uppercase;
line-height: 25px;
text-align: center;
left: 50%;
transform: translateX(-50%);
}
.foot {
margin-top: 200px;
font-family: monospace;
}
img {
position: relative;
left: 50%;
transform: translateX(-50%);
}

BIN
404/sword.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB