-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
55 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
.inline-spoiler { | ||
position: relative; | ||
display: inline-block; | ||
cursor: help; | ||
} | ||
|
||
.inline-spoiler::before { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
border-radius: 1px; | ||
color: white; | ||
background: black; | ||
opacity: 1; | ||
transition: opacity 0.7s ease, transform 0.3s ease; | ||
} | ||
|
||
.inline-spoiler:hover::before { | ||
opacity: 0; | ||
transform: translateY(-50%)rotateX(80deg); | ||
transition: opacity 1.0s ease, transform 0.5s ease; | ||
transition-delay: 0.3s; // To not accidentally reveal the spoiler when hovering over the page | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
+++ | ||
title = 'Murthy v. Jagirapu' | ||
date = 2024-02-13T08:49:39-06:00 | ||
+++ | ||
This game was played in the Southwest Open 2023 that took place in Houston, TX. This was one of | ||
the first games I played after freshly coming out of chess retirement. I had the following position: | ||
|
||
![White to play](/images/murthy-v-jagirapu.jpg) | ||
|
||
In the above position, Black just played the move *h6*. Can you punish Black's last move | ||
and take advantage of the uncastled king's position in the center? | ||
|
||
Answer: {{< inlinespoiler >}}Nxe6!! is the correct move! Ripping apart the protection of the black king and allowing all of white's pieces to spring into the game.{{< /inlinespoiler >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{ $opts := dict "transpiler" "dartsass" "targetPath" "css/inlinespoiler.css" }} | ||
{{ with resources.Get "sass/inlinespoiler.scss" | toCSS $opts | minify | fingerprint }} | ||
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous"> | ||
{{ end }} | ||
<span class="inline-spoiler">{{- .Inner | safeHTML -}}</span> |