Explorar el Código

CSP compatibility for home page

https://github.com/FreshRSS/FreshRSS/issues/1075
Alexandre Alapetite hace 10 años
padre
commit
a41163ac46
Se han modificado 2 ficheros con 18 adiciones y 17 borrados
  1. 1 17
      p/index.html
  2. 17 0
      p/themes/p.css

+ 1 - 17
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>

+ 17 - 0
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;
+}