From c47e00a82481c8c0415b137b406623d0d63f9bd2 Mon Sep 17 00:00:00 2001 From: newick Date: Mon, 12 Aug 2019 12:26:49 +0200 Subject: [PATCH] improve markup, hide useless decortion for a and h1 in header --- src/app/app.component.html | 16 +++---- src/app/app.component.scss | 11 +++++ .../ui/navigation/navigation.component.html | 47 ++++--------------- .../ui/navigation/navigation.component.scss | 10 ++++ 4 files changed, 38 insertions(+), 46 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 32ced6ff..7cdbfbe8 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,9 +1,5 @@ -
- +
+

Frama date @@ -13,7 +9,9 @@ -

+ - - +
+ +
+ \ No newline at end of file diff --git a/src/app/app.component.scss b/src/app/app.component.scss index e69de29b..feca0e40 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -0,0 +1,11 @@ +@charset "UTF-8"; + +header { + h1, + a { + &::before, + &::after { + display: none; + } + } +} diff --git a/src/app/ui/navigation/navigation.component.html b/src/app/ui/navigation/navigation.component.html index 830b9e38..c234b935 100644 --- a/src/app/ui/navigation/navigation.component.html +++ b/src/app/ui/navigation/navigation.component.html @@ -1,56 +1,29 @@ + \ No newline at end of file diff --git a/src/app/ui/navigation/navigation.component.scss b/src/app/ui/navigation/navigation.component.scss index e69de29b..5048ee17 100644 --- a/src/app/ui/navigation/navigation.component.scss +++ b/src/app/ui/navigation/navigation.component.scss @@ -0,0 +1,10 @@ +@charset "UTF-8"; + +nav { + a { + &::before, + &::after { + display: none; + } + } +}