From 56c69e0d6bd7265afec6cd66a4875ebf6357ea7d Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Sun, 12 Jan 2020 22:04:26 -0800 Subject: Adding support for custom links target --- README.md | 2 ++ app.css | 2 +- app.js | 2 +- app.scss | 2 +- config.yml | 2 ++ index.html | 2 +- 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f149549..fe188b7 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ links: - name: "ansible" icon: "fa-github" url: "https://github.com/xxxxx/ansible/" + target: '_blank' # optionnal html a tag target attribute - name: "Wiki" icon: "fa-book" url: "https://wiki.xxxxxx.com/" @@ -55,6 +56,7 @@ services: subtitle: "Continuous integration server" tag: "CI" url: "#" + target: '_blank' # optionnal html a tag target attribute - name: "RabbitMQ Management" logo: "/assets/tools/rabbitmq.png" subtitle: "Manage & monitor RabbitMQ server" diff --git a/app.css b/app.css index 27617de..9b2453a 100644 --- a/app.css +++ b/app.css @@ -139,7 +139,7 @@ body { background-color: #4285f4; } body #bighead .navbar a { color: #ffffff; } - body #bighead .navbar a:hover { + body #bighead .navbar a:hover, body #bighead .navbar a:focus { color: #ffffff; background-color: #5a95f5; } body #main-section { diff --git a/app.js b/app.js index 6c2ba90..0cd75b5 100644 --- a/app.js +++ b/app.js @@ -87,7 +87,7 @@ Vue.component('service', { props: ['item'], template: `