X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fassets%2Fapp.scss;h=6bb50686259aa06ab029156b3af72abcde01dae7;hb=304362adfd5fe06d7b55fe99087543e09f1ef3d8;hp=ab067e6941f586d185dd13c45a1f18642ed94abd;hpb=e9113b48cec284b041e4130e6afe932913f52d36;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/assets/app.scss b/src/assets/app.scss index ab067e6..6bb5068 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -13,17 +13,20 @@ text-overflow: ellipsis; } -html { +html, body, body #app { height: 100%; + background-color: var(--background); } body { font-family: "Raleway", sans-serif; - height: 100%; #app { + height: auto; min-height: 100%; - background-color: var(--background); + background-image: var(--background-image); + background-size: cover; + background-position: center; color: var(--text); transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; @@ -167,6 +170,7 @@ body { .title { font-size: 1.1em; + line-height: 1.2em; @include ellipsis(); } @@ -193,6 +197,11 @@ body { } } + .media.no-subtitle { + display: flex; + align-items: center; + } + .media-content { overflow: hidden; text-overflow: inherit; @@ -202,7 +211,7 @@ body { color: var(--highlight-secondary); background-color: var(--highlight-secondary); position: absolute; - top: 1rem; + bottom: 1rem; right: -0.2rem; width: 3px; overflow: hidden; @@ -215,10 +224,10 @@ body { } .card { - border-radius: 5px; border: none; box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; + overflow: visible; a { outline: none; @@ -250,11 +259,13 @@ body { } .column div:first-of-type .card { - border-radius: 5px 5px 0 0; + border-top-left-radius: 0.25rem; + border-top-right-radius: 0.25rem; } .column div:last-child .card { - border-radius: 0 0 5px 5px; + border-bottom-left-radius: 0.25rem; + border-bottom-right-radius: 0.25rem; } } @@ -335,3 +346,7 @@ body { } } } + +.group-logo { + float: left; +}