diff --git a/static/css/style.css b/static/css/style.css index 985e01f..cf6cccf 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -235,7 +235,7 @@ a.prw { display:inline-block; position:relative; } .con-overlay { position:absolute; left:0; right:0; top:0; bottom:0; z-index:1; background:url('/img/questions_bg.png'); } .com-icon { background:url('/img/comment.svg') no-repeat; display:inline-block; padding-left:18px; } -.eye-icon { background:url('/img/eye.svg') no-repeat; display:inline-block; padding-left:20px; margin-left:10px; } +.eye-icon { background:url('/static/img/eye.svg') no-repeat; display:inline-block; padding-left:20px; margin-left:10px; } .hpshade, .hdshade { position:absolute; z-index:2; bottom:0; text-align:right; box-sizing:border-box; margin:-22px auto 0; width:250px; height:22px; padding:4px 5px 0 0; color:#fff; background:linear-gradient(to top,rgba(0,0,0,.5),transparent); } .vpshade { position:relative; z-index:2; display:inline-block; vertical-align:middle; height:120px; width:15px; margin-right:-15px; background:linear-gradient(to right,rgba(0,0,0,.3),transparent); } diff --git a/static/img/eye.svg b/static/img/eye.svg new file mode 100644 index 0000000..7f46745 --- /dev/null +++ b/static/img/eye.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/views/pages/Main.php b/views/pages/Main.php index 1b9835b..f8f19dd 100644 --- a/views/pages/Main.php +++ b/views/pages/Main.php @@ -105,7 +105,26 @@ use App\Models\{User, Vote, Comment};