X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;h=c8528e19b6f260657e3ebdb7d8a3353831562754;hb=6b75ddb40eedcdf1b27e82b94b6f0fa7a4af0547;hp=f585be09416b6912a4d7b9efa104d8fe072cbf1d;hpb=0f171dfffd9c0c2cc895c9f282c5f4550844cc5a;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index f585be0..c8528e1 100644 --- a/resources/sass/common.scss +++ b/resources/sass/common.scss @@ -11,6 +11,58 @@ h1 { margin-bottom: 2rem; } +.button-bar { + > * { + margin-left: 0.5ex; + margin-right: 0.5ex; + } + > :first-child { + margin-left: 0; + } + > :last-child { + margin-right: 0; + } +} + +.modal-90w { + width: 90%; + max-width: none !important; +} + +.quote-alert { + position: relative; + &::after { + position: absolute; + top: 0; + right: 1ex; + content: "”"; + font-size: 3em; + opacity: .5; + } +} + +.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 +72,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%; + } +}