diff --git a/ctf.nginx b/ctf.nginx index ed75c5d..9e58b4b 100644 --- a/ctf.nginx +++ b/ctf.nginx @@ -8,8 +8,12 @@ server { server_name localhost; - location / { - try_files $uri $uri/ =404; + # location / { + # try_files $uri $uri/ =404; + # } + location ~^/(about|login|register)$ { + default_type text/html; + try_files /index.html /index.html; } location ~ /api { diff --git a/web/css/style.css b/web/css/style.css index 0d5dc46..651d2cc 100644 --- a/web/css/style.css +++ b/web/css/style.css @@ -2,23 +2,40 @@ h1 { font-size: 75px; } ::-webkit-input-placeholder { - color: #999999; + color: #999999; } :-moz-placeholder { /* Firefox 18- */ - color: #999999; + color: #999999; } ::-moz-placeholder { /* Firefox 19+ */ - color: #999999; + color: #999999; } :-ms-input-placeholder { - color: #999999; + color: #999999; } .intro { text-align: center; } .column { max-width: 450px; +} + +body { + background-color: #F0F0F0; +} +.ui.menu .item img.logo { + margin-right: 1.5em; +} +.main.container { + margin-top: 7em; +} +.wireframe { + margin-top: 2em; +} +.ui.footer.segment { + margin: 5em 0em 0em; + padding: 5em 0em; } \ No newline at end of file diff --git a/web/index.html b/web/index.html index f96b2d2..34c218b 100644 --- a/web/index.html +++ b/web/index.html @@ -1,53 +1,32 @@ - -
-