From 549835e393f12fa8068e572a16e3086b57e02de5 Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Sat, 17 Mar 2018 21:25:12 +0100 Subject: [PATCH] Improved css --- assets/sass/style.sass | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/assets/sass/style.sass b/assets/sass/style.sass index 6d0acef..dbbdb95 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -1,6 +1,6 @@ * - margin: 0 - padding: 0 + margin: 0 + padding: 0 body background: #F2F2F2 @@ -19,8 +19,8 @@ body position: relative box-shadow: 0 2px 4px rgba(33,33,33,0.2) transition: all 200ms - text-decoration: none - width: 160px + text-decoration: none + width: 160px background: #ffffff &:hover @@ -39,9 +39,13 @@ body .info display: block - z-index: 1 - color: #212121 - line-height: 1.25 - font-size: 10pt - padding-top: 4px + z-index: 1 + color: #212121 + line-height: 1.25 + font-size: 10pt + padding-top: 12px + p + white-space: nowrap + text-overflow: ellipsis + overflow: hidden -- GitLab