From 9f46f25e517d043c1847bfef3e0739f5ad4bc27b Mon Sep 17 00:00:00 2001 From: Antoine Date: Tue, 26 Apr 2016 23:09:23 +0200 Subject: [PATCH] =?UTF-8?q?Remplace=20les=20ic=C3=B4nes=20play=20/=20stop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 14 ++++++++------ img/play.svg | 4 ++++ img/stop.svg | 4 ++++ 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 img/play.svg create mode 100644 img/stop.svg diff --git a/css/style.css b/css/style.css index 26f99f7..dbec084 100644 --- a/css/style.css +++ b/css/style.css @@ -354,15 +354,17 @@ a.btn-play, a.btn-play:hover, a.btn-play:focus { padding: 10px 30px; } a.btn-play:before { - content: "▶︎"; - font-size: 1.1em; + content: ""; + background: url('../img/play.svg') no-repeat center center; + font-size: 1em; + height: 30px; + left: 0; position: absolute; - left: 10px; + top: 5px; + width: 30px; } a.btn-play.playing:before { - content: "▩"; - font-size: 1.2em; - top: 7px; + background: url('../img/stop.svg') no-repeat center center; } .btn:active, a.btn:active { diff --git a/img/play.svg b/img/play.svg new file mode 100644 index 0000000..6d27f5e --- /dev/null +++ b/img/play.svg @@ -0,0 +1,4 @@ + + + + diff --git a/img/stop.svg b/img/stop.svg new file mode 100644 index 0000000..bb46176 --- /dev/null +++ b/img/stop.svg @@ -0,0 +1,4 @@ + + + +