Skip to content

Commit

Permalink
fix css animation performance issues, fix ff list disc
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenburger committed Feb 6, 2024
1 parent 7194811 commit 5a7b33b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
title: chrome.security
description: >
Chrome Security's mission is to make it safe to click on links.
baseurl: "/"
url: https://chrome.security/
baseurl: ""
url: https://chrome.security

# Build settings
markdown: kramdown
Expand Down
5 changes: 5 additions & 0 deletions _sass/_animations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,28 @@
// Chromeball animation

#chromeball-outline {
will-change: transform;
animation:
rotate 250s linear infinite
,rotate-chromeball 1ms ease-in-out
;
}
#circle-dotted-inner {
will-change: transform;
animation:
rotate-back 350s linear infinite
,rotate-circle-dotted-inner 1ms ease-in-out
;
}
#circle-dotted-middle {
will-change: transform;
animation:
rotate 600s linear infinite
,rotate-circle-dotted-middle 1ms ease-in-out
;
}
#circle-dotted-outer {
will-change: transform;
animation:
rotate-back 800s linear infinite
,rotate-circle-dotted-outer 1ms ease-in-out
Expand All @@ -32,6 +36,7 @@
// Squiggle hr

hr.dino::before {
will-change: translate;
animation:
scroll-bg-x 50s linear infinite
,scroll-bg-x 1ms ease-in-out
Expand Down
4 changes: 4 additions & 0 deletions _sass/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ header {
}
}

nav ul {
list-style-type: none;
}

nav a.box,
nav h2.grid-4,
.linkstyle {
Expand Down
17 changes: 17 additions & 0 deletions images/bug.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5a7b33b

Please sign in to comment.