X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Frounds.scss;h=2d19cc438c34cfd81cb5cf54ace48b31506578e4;hb=4f4b2fd64141cbbff953881e2705602a00b85df5;hp=dff973ec23dd128e63bdb31ab02f889a4d04e2fa;hpb=edd0e97bfdc544114f30bf4c13a929631c44a555;p=alttp.git diff --git a/resources/sass/rounds.scss b/resources/sass/rounds.scss index dff973e..2d19cc4 100644 --- a/resources/sass/rounds.scss +++ b/resources/sass/rounds.scss @@ -1,8 +1,68 @@ .rounds { + margin: 1rem 0; + padding: 0; + .round { margin: 1rem 0; - border: thin solid $secondary; - border-radius: 1ex; + border: $border-width solid $secondary; + border-radius: $border-radius; + background: $gray-700; padding: 1ex; + list-style: none; + + &.has-not-finished { + border-color: $light; + box-shadow: 0 0 0.25rem 0.25rem $info; + } + + .info { + padding-right: 1rem; + min-width: 13em; + + .date { + font-size: 125%; + } + + .rolled-by { + display: inline-block; + vertical-align: middle; + + img { + max-height: 2rem; + width: auto; + border-radius: 50%; + } + } + + .seed-code, .btn, .rolled-by { + margin-bottom: 1ex; + } + } + } +} + +.seed-code { + align-items: center; + align-content: center; + justify-content: flex-start; + gap: 0.5ex; + padding: 0.5ex; + border-radius: 0.5ex; + background: $dark; + color: $light; + vertical-align: middle; + + &.game-alttpr { + display: inline-flex; + flex-direction: row; + flex-wrap: nowrap; + } + + &.game-smr { + display: inline-grid; + grid-template-columns: 1fr 1fr; + > span { + text-transform: uppercase; + } } }