Move styling into assets/styling as /css

master
Raymonzut 4 years ago
parent ce4d17974b
commit fb5fc2ede2
No known key found for this signature in database
GPG Key ID: 1E9BCC39EDD1DD53
  1. 6
      client/nginx.conf
  2. 6
      client/public/assets/styling/index.css
  3. 8
      client/public/index.html

@ -20,8 +20,12 @@ http {
location / { location / {
root /app; root /app;
index index.html; index index.html;
try_files $uri $uri/ /index.html; try_files $uri $uri/ $uri/index.html =404;
} }
location /css {
alias /app/assets/styling;
}
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
location = /50x.html { location = /50x.html {
root /usr/share/nginx/html; root /usr/share/nginx/html;

@ -0,0 +1,6 @@
html, body{
padding: 0;
margin: 0;
width: 100%;
}

@ -5,13 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Raymon Zutekouw</title> <title>Raymon Zutekouw</title>
<style> <link rel="stylesheet" href="css/index.css" media="all">
body, html {
padding: 0;
margin: 0;
width: 100%;
}
</style>
</head> </head>
<body> <body>
<noscript> <noscript>

Loading…
Cancel
Save