X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2Fassets%2Fapp.scss;h=c709282ece34874ea5a6cf5c0d951111de9aed51;hb=d31a9a79c24922684b917ec13c4c555237339dda;hp=4585874299d9eddcea4bf9e50b2b2c739e1959f7;hpb=154e6efe8036dca91b1bfe9c4fb22ef227df5858;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/src/assets/app.scss b/src/assets/app.scss index 4585874..c709282 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss @@ -13,17 +13,17 @@ 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; @@ -31,6 +31,7 @@ body { transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; a { + color: var(--link); &:hover { color: var(--link-hover); } @@ -106,7 +107,7 @@ body { } .first-line { - height: 100px; + min-height: 100px; vertical-align: center; background-color: var(--highlight-primary); @@ -121,7 +122,7 @@ body { } .container { - height: 80px; + min-height: 80px; padding: 10px 0; } @@ -140,8 +141,7 @@ body { } } } - .navbar, - .navbar-menu { + .navbar { background-color: var(--highlight-secondary); a { @@ -153,6 +153,9 @@ body { background-color: var(--highlight-hover); } } + .navbar-menu { + background-color: inherit; + } } .navbar-end { text-align: right; @@ -170,6 +173,7 @@ body { .title { font-size: 1.1em; + line-height: 1.2em; @include ellipsis(); } @@ -196,6 +200,11 @@ body { } } + .media.no-subtitle { + display: flex; + align-items: center; + } + .media-content { overflow: hidden; text-overflow: inherit; @@ -205,7 +214,7 @@ body { color: var(--highlight-secondary); background-color: var(--highlight-secondary); position: absolute; - top: 1rem; + bottom: 1rem; right: -0.2rem; width: 3px; overflow: hidden; @@ -218,10 +227,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; @@ -253,11 +262,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; } } @@ -338,3 +349,7 @@ body { } } } + +.group-logo { + float: left; +}