mirror of
https://github.com/Findus23/guides.git
synced 2024-09-09 04:23:51 +02:00
smooth scroll
This commit is contained in:
parent
378a561cee
commit
7bb27825aa
1 changed files with 10 additions and 3 deletions
|
@ -21,6 +21,10 @@ a {
|
|||
}
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
margin: 40px auto;
|
||||
|
@ -28,7 +32,7 @@ body {
|
|||
line-height: 1.6;
|
||||
font-size: 18px;
|
||||
color: #222;
|
||||
padding: 0 10px
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
main {
|
||||
|
@ -41,7 +45,8 @@ h1, h2, h3, h4, h5 {
|
|||
font-family: sans-serif;
|
||||
text-wrap: balance;
|
||||
}
|
||||
h1,.cards .card h2{
|
||||
|
||||
h1, .cards .card h2 {
|
||||
text-align: center;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
@ -82,13 +87,14 @@ pre {
|
|||
// }
|
||||
}
|
||||
|
||||
#back-heading{
|
||||
#back-heading {
|
||||
//border-bottom: solid 1px black;
|
||||
//padding-bottom: ;
|
||||
a {
|
||||
color: black;
|
||||
text-decoration: none;
|
||||
transition: color .2s;
|
||||
|
||||
&:focus, &:active, &:hover {
|
||||
color: $green;
|
||||
}
|
||||
|
@ -208,6 +214,7 @@ h1, h2, h3, h4, h5, h6 {
|
|||
|
||||
nav.categories {
|
||||
display: flex;
|
||||
|
||||
a {
|
||||
@extend .badge;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue