From d575bf52bb134cd66e57a6e52215e1d4173f8ac5 Mon Sep 17 00:00:00 2001 From: "Jan C. Borchardt" Date: Fri, 9 Oct 2020 17:37:14 +0200 Subject: Fix design of Explore page Signed-off-by: Jan C. Borchardt --- css/explore.scss | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 css/explore.scss (limited to 'css/explore.scss') diff --git a/css/explore.scss b/css/explore.scss new file mode 100644 index 000000000..d459ae825 --- /dev/null +++ b/css/explore.scss @@ -0,0 +1,64 @@ +/** + * Nextcloud - News + * + * This file is licensed under the Affero General Public License version 3 or + * later. See the COPYING file. + * + * @author Bernhard Posselt + * @copyright 2020, Jan C. Borchardt, https://jancborchardt.net + * @copyright Bernhard Posselt 2014 + */ + +/** + * Explore styles + */ +.explore #app-content-wrapper { + height: 100%; +} + +#explore { + height: 100%; + width: 100%; + padding: 45px 0 45px 45px; + + .grid-item { + width: 300px; + border: 2px solid var(--color-border); + border-radius: var(--border-radius-large); + margin: 0 24px 24px 0; + padding: 24px; + + .explore-title { + background-repeat: no-repeat; + background-position: 0 center; + background-size: 24px; + padding-left: 32px; + + a { + word-wrap: break-word; + + &:hover, + &:focus { + text-decoration: underline; + } + } + } + + .explore-logo { + text-align: center; + margin-top: 25px; + + img { + width: 100%; + } + } + + .explore-subscribe { + margin-top: 16px; + max-width: 100%; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + } +} -- cgit v1.2.3