From 2588bbf7bc5374830662af7c01df688c42d30dc6 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Tue, 13 Nov 2018 17:47:19 +0100 Subject: Templating: Improved error templates --- resources/assets/themes/error.less | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 resources/assets/themes/error.less (limited to 'resources/assets/themes/error.less') diff --git a/resources/assets/themes/error.less b/resources/assets/themes/error.less new file mode 100644 index 00000000..99a6aacb --- /dev/null +++ b/resources/assets/themes/error.less @@ -0,0 +1,33 @@ +/* ============================================================= + Error page + ============================================================= */ + +.error-big { + text-align: center; + + h2 { + font-size: 10em; + font-weight: bold; + + small { + display: block; + font-size: 0.3em; + } + + @keyframes error-page-pulse { + from { + opacity: 0.3; + } + to { + opacity: 1.0; + } + } + .pulse { + animation-name: error-page-pulse; + animation-duration: 1s; + animation-iteration-count: infinite; + animation-timing-function: ease-in-out; + animation-direction: alternate; + } + } +} -- cgit v1.2.3-70-g09d2