From 09ee2b5eef75a9bba17973a9d76bfd7249fb6283 Mon Sep 17 00:00:00 2001 From: Byron Lutz Date: Wed, 2 Jan 2013 08:41:12 -0800 Subject: [PATCH] Improved 404 page styling --- 404.php | 53 ++++++++++---------------------------------------- css/app.css | 34 ++++++++++++++++++++++++++++++++ searchform.php | 6 ++++-- 3 files changed, 48 insertions(+), 45 deletions(-) diff --git a/404.php b/404.php index aea6be58..25a145d5 100755 --- a/404.php +++ b/404.php @@ -2,52 +2,19 @@
- -
- × -

-
-

-
    -
  • -
  • home page', 'roots'), home_url()); ?>
  • -
  • Back button', 'roots'); ?>
  • -
- +
+ Oops... + Looks like we couldn't find the page you were looking for. + 404 Error +

An administrator has been notified. If you keep getting this error email us at online@media.ucla.edu and we'll do our best to get it fixed.

+ +
- - - +
diff --git a/css/app.css b/css/app.css index 2dc849bc..bd5949ac 100755 --- a/css/app.css +++ b/css/app.css @@ -1897,6 +1897,40 @@ a.page-numbers:hover { height: 383px !important; } +/* ====== 404 ===== */ +.f-title { + display: block; + font-weight: bold; + font-size: 8em; + text-align: center; + line-height: 1.4em; + text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); +} +.f-desc { + display: block; + text-align: center; + font-family: Georgia,serif; + font-size: 1.5em; + text-shadow: 1px 1px 1px rgba(0,0,0,0.1); +} +.f-verbose { + font-family: Georgia,serif; + display: block; + text-align: center; + font-size: 0.9em; + opacity: 0.6; +} +.fourohfour > p { + width: 90%; + margin-top: 31px; + margin-bottom: 20px; + margin-left: auto; + margin-right: auto; + text-align: center; +} +.f-search { + text-align: center; +} /* ============================================================================= diff --git a/searchform.php b/searchform.php index 483b84f3..eb5b8498 100755 --- a/searchform.php +++ b/searchform.php @@ -1,5 +1,7 @@ \ No newline at end of file