Mobile responsive thanks ai slop
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 28s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 28s
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
scroll-padding-top: 60px;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -134,3 +139,21 @@ hr {
|
||||
background-color: var(--color-link);
|
||||
color: var(--color-background-fore);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
html {
|
||||
scroll-padding-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 400px) {
|
||||
html {
|
||||
scroll-padding-top: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
a, button, [role="button"], .project-card, .tui-tab {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user