css: style for link/button in section titles (#47901)
This commit is contained in:
parent
3fd49092fa
commit
93a8741878
|
@ -1181,19 +1181,31 @@ div.section {
|
|||
font-weight: normal;
|
||||
font-size: 120%;
|
||||
border-bottom: 1px solid transparent;
|
||||
padding: 1rem 1rem 1rem 1rem;
|
||||
padding: 0 0.5rem 0 1rem;
|
||||
height: 3.5rem;
|
||||
line-height: 3.5rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
background: $primary-color;
|
||||
background: linear-gradient(to right, $primary-color 30%, $secondary-color 100%);
|
||||
color: white;
|
||||
a {
|
||||
a:not(.button) {
|
||||
color: white;
|
||||
border-bottom: 1px dotted white;
|
||||
&:hover {
|
||||
border-style: solid;
|
||||
}
|
||||
}
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
justify-content: space-between;
|
||||
a.button {
|
||||
margin: 0;
|
||||
line-height: 100%;
|
||||
font-weight: normal;
|
||||
padding-top: 0.7rem;
|
||||
padding-bottom: 0.8rem;
|
||||
}
|
||||
}
|
||||
> div, > dl {
|
||||
padding: 1rem;
|
||||
|
|
Loading…
Reference in New Issue