From ac64a5f7e186fbdc2aba1493ece1845020ea191e Mon Sep 17 00:00:00 2001 From: EpicKiwi Date: Fri, 2 Feb 2024 19:24:42 +0100 Subject: [PATCH] Tweaked style of homepage --- _src/styles/global.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/_src/styles/global.css b/_src/styles/global.css index 05972d4..10d9ff4 100644 --- a/_src/styles/global.css +++ b/_src/styles/global.css @@ -130,6 +130,10 @@ ul li > a:first-child:hover::before { text-decoration: none; } +[typeof="Collection"] ul li { + margin-bottom: 25px; +} + [typeof="Collection"] .publication-card { margin-bottom: 50px; } @@ -225,4 +229,25 @@ body > section { .publication-card p, .publication-card nav { grid-column: 1; } +} + +#empruntables .publication-card nav { + grid-column: 3; + grid-row: 2; + margin-top: 15px; +} + +#empruntables .publication-card h1 { + grid-row: 1; + grid-column: 2 / 4; +} + +#empruntables .publication-card .meta { + grid-row: 2; + grid-column: 2; + align-self: flex-end; +} + +#empruntables [property="abstract"] { + display: none; } \ No newline at end of file