added btn class for home btn, added linkint profile in wysiwyg

This commit is contained in:
2020-12-26 13:28:35 +01:00
parent 8527be2da9
commit ba503a97cb
7 changed files with 103 additions and 6 deletions

View File

@ -5,3 +5,13 @@ body{
font-style: normal;
line-height: 1.3;
}
a.btn{
display: inline-block;
font-size: 0.9em;
font-weight: bold;
padding: 0.7em 1em;
margin-bottom: 0.3em;
background-color: #fff;
color: #000;
border-radius: 5px;
}

View File

@ -25,7 +25,7 @@ h1,h2,h3,h4,h5,h6{
p a{
position: relative;
&:after{
&:not(.btn):after{
content:'';
position: absolute;
top:1em; left:0;

View File

@ -530,6 +530,10 @@ article.node--type-frontpage{
}
}
>h2{
display: none;
}
.node__content{
&>section{
@ -539,7 +543,12 @@ article.node--type-frontpage{
&.home-database{
background-color: $color-base;
@extend %part-columned-layout;
.field--name-field-a-database{}
.field--name-field-a-database{
a.btn{
background-color: #fff;
color: $color-base;
}
}
.cards-list-home{
position: relative;
// max-height: (130px*1.4)*3;
@ -577,6 +586,10 @@ article.node--type-frontpage{
background-color: $color-showrooms;
@extend %part-columned-layout;
.field--name-field-showrooms{
a.btn{
background-color: #fff;
color: $color-showrooms;
}
}
.field--name-computed-showrooms-reference{
position:relative;