| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,6 +3,11 @@ | |||
| 3 | 3 | src: local('icomoon'), url(../static/fonts/icomoon.ttf) format('truetype'); | |
| 4 | 4 | } | |
| 5 | 5 | ||
| 6 | + html{ | ||
| 7 | + scroll-behavior:smooth; | ||
| 8 | + scroll-padding-top: 4rem; | ||
| 9 | + } | ||
| 10 | + | ||
| 6 | 11 | pre[class*="language-"] { | |
| 7 | 12 | position: relative; | |
| 8 | 13 | -webkit-overflow-scrolling: touch; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,14 +1,19 @@ | |||
| 1 | 1 | import styled, { css, up, down } from '@xstyled/styled-components' | |
| 2 | 2 | ||
| 3 | 3 | export const Article = styled.article` | |
| 4 | - .anchor { | ||
| 5 | - margin-left: calc(-1em - 4px); | ||
| 6 | - > svg { | ||
| 7 | - fill: on-background; | ||
| 8 | - width: 1em; | ||
| 9 | - height: 1em; | ||
| 10 | - display: inline; | ||
| 11 | - vertical-align: -15%; | ||
| 4 | + .anchor.before { | ||
| 5 | + position: relative; | ||
| 6 | + left: 25px; | ||
| 7 | + margin-left: -21px; | ||
| 8 | + display: inline-block; | ||
| 9 | + span { | ||
| 10 | + svg { | ||
| 11 | + fill: control-border; | ||
| 12 | + transform: rotate(270deg); | ||
| 13 | + &:hover { | ||
| 14 | + fill: on-background; | ||
| 15 | + } | ||
| 16 | + } | ||
| 12 | 17 | } | |
| 13 | 18 | } | |
| 14 | 19 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments