diff --git a/docs/index.md b/docs/index.md index ed0e5797..a4654d64 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,47 @@ -
Mathematics.NET is a C# class library that provides tools for solving mathematical problems.
diff --git a/docs/template/public/main.css b/docs/template/public/main.css index 953632c7..77c75de1 100644 --- a/docs/template/public/main.css +++ b/docs/template/public/main.css @@ -13,6 +13,55 @@ height: 50px; } +/* Interactive card */ + +#interactive-card { + position: relative; + text-align: center; + } + + #interactive-card > .flare, + #overlay { + position: absolute; + transition: ease-out; + transition-duration: 250ms; + opacity: 0; + pointer-events: none; + } + + #interactive-card:hover > #overlay, + #interactive-card:hover > .flare { + opacity: 1; + } + +#overlay { + width: 100%; + height: 100%; +} + +#circle-one { + background-color: #ffffff80; + width: 32px; + height: 32px; + border-radius: 16px; +} + +#circle-two { + background-color: #ffd70040; + width: 64px; + height: 64px; + border-radius: 32px; +} + +#circle-three { + background-color: #86cefa20; + width: 128px; + height: 128px; + border-radius: 64px; +} + +/* Common */ + body { background-color: var(--bg-color-primary); }