From ec9003edf5e0b7fb407fa4138617ef8be4e11ed5 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Tue, 4 Jun 2019 18:20:34 +0200 Subject: Add warning error background & scrollbar fix --- style.css | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index cf569aa..27097b5 100644 --- a/style.css +++ b/style.css @@ -90,6 +90,8 @@ a:hover { align-items: normal; margin-top: 60px; padding: 30px; + height: 100%; + overflow: auto; } #content { @@ -100,8 +102,7 @@ a:hover { box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12); background-color: #f5f5f5; overflow: auto; - min-height: 150px; - flex-shrink: 1; + min-height: fit-content; min-width: 500px; } @@ -220,4 +221,23 @@ a:hover { #content { min-width: unset; } +} + +.pulse { + background-color: #a50202; + animation-name: color; + animation-duration: 2s; + animation-iteration-count: infinite; +} + +@keyframes color { + 0% { + background-color: #a50202; + } + 50% { + background-color: #770000; + } + 100% { + background-color: #a50202; + } } \ No newline at end of file -- cgit v1.2.3-55-g7522