1
0
Fork 0
mirror of https://github.com/Findus23/guides.git synced 2024-09-19 16:03:51 +02:00

smooth scroll

This commit is contained in:
Lukas Winkler 2024-03-14 13:46:04 +01:00
parent 378a561cee
commit 7bb27825aa
Signed by: lukas
GPG key ID: 54DE4D798D244853

View file

@ -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;
}