refactor: Move up `.portal` underline gradient from `.body` to `h3`

Change-Id: I3c057e048ada0601497ee6697c19bf207c3bc821
This commit is contained in:
AronDemian 2020-04-16 07:19:34 +02:00 committed by Aron Manning
parent 48b680744d
commit ffcd4b6113
2 changed files with 5 additions and 5 deletions

View File

@ -7,6 +7,11 @@
direction: ltr;
h3 {
background-image: url( images/portal-separator.png ); // Support: IE 8 & 9, Fx 3.6-15, Safari 5.1-6, Chrome 10-25
background-image: linear-gradient( to right, transparent 0, #c8ccd1 35%, #c8ccd1 70%, transparent 100% ); // Standard (Firefox 16+, IE 10+, Safari 6.1+, Chrome 26+)
background-position: center bottom;
background-repeat: no-repeat;
background-size: 100% @border-width-base;
color: @color-nav-subtle;
font-weight: normal;
margin: 0.5em 0 0 ( @margin-start-nav-main-body / @font-size-nav-main-heading );
@ -17,10 +22,6 @@
}
.body {
background-image: url( images/portal-separator.png ); // Support: IE 8 & 9, Fx 3.6-15, Safari 5.1-6, Chrome 10-25
background-image: linear-gradient( to right, transparent 0, #c8ccd1 35%, #c8ccd1 70%, transparent 100% ); // Standard (Firefox 16+, IE 10+, Safari 6.1+, Chrome 26+)
background-repeat: no-repeat;
background-size: 100% @border-width-base;
margin-left: @margin-start-portal-body;
padding-top: 0;

View File

@ -14,7 +14,6 @@
}
.body {
background-image: none;
margin-left: @margin-start-nav-main-body;
}
}