mirror of
https://github.com/godotengine/godot-website.git
synced 2026-01-05 10:10:00 +03:00
Merge pull request #382 from Calinou/fix-image-hover-effect
This commit is contained in:
@@ -187,6 +187,13 @@ body a {
|
||||
transition: 0.1s filter;
|
||||
}
|
||||
|
||||
body a,
|
||||
a.btn.flat {
|
||||
/* Use `filter` on all states to prevent the clickable area from changing */
|
||||
/* when an image is hovered (see GH-369). */
|
||||
filter: brightness(100%);
|
||||
}
|
||||
|
||||
body a:hover,
|
||||
a.btn.flat:hover {
|
||||
filter: brightness(117.5%);
|
||||
|
||||
@@ -37,7 +37,7 @@ description = "head partial"
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="Godot News" href="/rss.xml">
|
||||
<link rel="icon" href="{{ 'assets/favicon.png'|theme }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/css/main.css?4' | theme }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/css/main.css?5' | theme }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/css/tobii.min.css?1' | theme }}">
|
||||
<link rel="preload" as="font" href="{{ 'assets/fonts/Montserrat-Bold.woff2?1' | theme }}" crossorigin>
|
||||
<link rel="preload" as="font" href="{{ 'assets/fonts/Montserrat-ExtraBold.woff2?1' | theme }}" crossorigin>
|
||||
|
||||
Reference in New Issue
Block a user