Showing 3 changed files with 14 additions and 6 deletions
+5 -5
dist/css/hackernews.css
... ...
@@ -22,8 +22,8 @@ h4 {
22 22
 
23 23
 .panel-primary {
24 24
     border-style: none;
25
-    width: 104%;
26
-    margin-left: -2%;
25
+    width: 100%;
26
+    margin-left: 0%;
27 27
 }
28 28
 
29 29
 .panel-primary>.panel-heading {
... ...
@@ -38,15 +38,15 @@ h4 {
38 38
 }
39 39
 .panel-body>.row {
40 40
     border-style: none;
41
-    width: 104%;
42
-    margin-left: -3%;
41
+    width: 101%;
42
+    margin-left: 0%;
43 43
 }
44 44
 .panel-body>.row>.col-md-6 {
45 45
     border-style: none;
46 46
 }
47 47
 .panel-body>.row>.col-md-6>.panel {
48 48
     border-style: none;
49
-    margin-left: -2%;
49
+    margin-left: -3%;
50 50
     margin-right: -3%;
51 51
 }
52 52
 
+1
favicon.png
... ...
@@ -0,0 +1 @@
1
+img/favicon.png
+8 -1
sources/news-slate.fr.php
... ...
@@ -115,7 +115,14 @@ foreach ($articles as $article ) {
115 115
   $re='/<img width="100%" src="(.+?)" style="height:(.+?)width: (.+?)">/';
116 116
   $temp = preg_replace($re, '<img width="100%" src="\\1">', $article_only); 
117 117
   $article_only = $temp;
118
-  $SEARCH='<div class="read-also">';
118
+  $re='/<div class="icon icon--(.+?)"> (.+)/';
119
+  $temp = preg_replace($re, '<div>', $article_only); 
120
+  $article_only = $temp;
121
+  $re='/<div class="article-header__breadcrumb">/';
122
+  $temp = preg_replace($re, '<div>', $article_only); 
123
+  $article_only = $temp;
124
+
125
+  $SEARCH='<div class="article_insert notice">';
119 126
   $posend = strpos($article_only,$SEARCH);
120 127
   if($posend) {
121 128
     $temp = substr( $article_only, 0, $posend );