feat: add 'back-to-top' link to site footer (#167)
* feat: add 'back-to-top' link to site footer * add aria-label to link
This commit is contained in:
parent
4bdf727cea
commit
8abe25f3cb
9 changed files with 41 additions and 7 deletions
|
@ -385,7 +385,7 @@ img {
|
|||
word-wrap: break-word;
|
||||
border-top: 1px dashed $gray-600;
|
||||
padding: $padding-32 0;
|
||||
line-height: 1.5;
|
||||
line-height: 1.5em;
|
||||
|
||||
&:first-of-type {
|
||||
padding-top: 0;
|
||||
|
@ -446,9 +446,19 @@ img {
|
|||
background: var(--footer-background);
|
||||
color: var(--footer-font-color);
|
||||
|
||||
.fake-link:hover {
|
||||
background-image: linear-gradient(
|
||||
var(--footer-link-color),
|
||||
var(--footer-link-color)
|
||||
);
|
||||
}
|
||||
|
||||
&__item {
|
||||
margin-right: 1em;
|
||||
line-height: 2em;
|
||||
|
||||
&--row {
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
&__link {
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
}
|
||||
|
||||
.gdoc-footer {
|
||||
&__item {
|
||||
&__item--row {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.flex-25 {
|
||||
flex: 1 1 25%;
|
||||
}
|
||||
|
||||
.flex-inline {
|
||||
display: inline-flex;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue