aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-17 21:09:34 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-17 21:09:34 +0100
commita41163ac46824fb23a17a5a1013239c2f356dbde (patch)
treee093476518582f26bdca87771c5ce4d4c05f24f0 /p
parent2f2a3853312df7ecd8700368ffb29b057ec79755 (diff)
CSP compatibility for home page
https://github.com/FreshRSS/FreshRSS/issues/1075
Diffstat (limited to 'p')
-rw-r--r--p/index.html18
-rw-r--r--p/themes/p.css17
2 files changed, 18 insertions, 17 deletions
diff --git a/p/index.html b/p/index.html
index ef5cb87ce..3f4284eb5 100644
--- a/p/index.html
+++ b/p/index.html
@@ -5,27 +5,11 @@
<meta name="viewport" content="initial-scale=1.0" />
<meta http-equiv="Refresh" content="0; url=i/" />
<title>FreshRSS</title>
+<link rel="stylesheet" href="themes/p.css" />
<link rel="shortcut icon" type="image/x-icon" sizes="16x16 64x64" href="favicon.ico" />
<link rel="icon msapplication-TileImage apple-touch-icon" type="image/png" sizes="256x256" href="themes/icons/favicon-256.png" />
<meta name="msapplication-TileColor" content="#FFF" />
<meta name="robots" content="noindex" />
-<style>
-body {
- font-family: sans-serif;
- text-align: center;
-}
-h1 {
- font-size: xx-large;
- text-shadow: 1px -1px 0 #CCCCCC;
-}
-h1 a {
- color: #0062BE;
- text-decoration: none;
-}
-img {
- border: 0;
-}
-</style>
</head>
<body>
diff --git a/p/themes/p.css b/p/themes/p.css
new file mode 100644
index 000000000..171b2078b
--- /dev/null
+++ b/p/themes/p.css
@@ -0,0 +1,17 @@
+@charset "UTF-8";
+
+body {
+ font-family: sans-serif;
+ text-align: center;
+}
+h1 {
+ font-size: xx-large;
+ text-shadow: 1px -1px 0 #CCCCCC;
+}
+h1 a {
+ color: #0062BE;
+ text-decoration: none;
+}
+img {
+ border: 0;
+}