X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;h=6a4be9fcbc2df9f5aab09e5f0a8761435916fb34;hb=d611bc90eab94fbce54e9e5485f15c20abf1ad31;hp=f585be09416b6912a4d7b9efa104d8fe072cbf1d;hpb=0f171dfffd9c0c2cc895c9f282c5f4550844cc5a;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index f585be0..6a4be9f 100644 --- a/resources/sass/common.scss +++ b/resources/sass/common.scss @@ -11,6 +11,28 @@ h1 { margin-bottom: 2rem; } +.spoiler { + border-radius: 0.5ex; + padding: 0 0.5ex; + background: $dark; + color: $light; + + &.hidden { + cursor: pointer; + + > .content { + visibility: hidden; + } + } +} + +.text-discord { + color: $discord; +} +.text-twitch { + color: $twitch; +} + .text-gold { color: $gold; } @@ -20,3 +42,16 @@ h1 { .text-bronze { color: $bronze; } + +.zelda-icon { + display: inline-flex; + align-items: center; + width: 2em; + height: 2em; + + img { + margin: auto; + max-width: 100%; + max-height: 100%; + } +}