From c611b8de0dc01d7f0d662279432e8e38ba611270 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sat, 17 Aug 2013 07:04:19 -0400 Subject: [PATCH] exception page styling. --- framework/yii/views/errorHandler/exception.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/framework/yii/views/errorHandler/exception.php b/framework/yii/views/errorHandler/exception.php index 2062277..e8d5ee2 100644 --- a/framework/yii/views/errorHandler/exception.php +++ b/framework/yii/views/errorHandler/exception.php @@ -56,13 +56,14 @@ html,body{ /* header */ .header{ min-width: 860px; /* 960px - 50px * 2 */ - margin: 40px auto 30px auto; - padding: 0 50px; + margin: 0 auto; + background: #f3f3f3; + padding: 40px 50px 30px 50px; + border-bottom: #ccc 1px solid; } .header h1{ font-size: 30px; color: #e57373; - text-shadow: 0 1px 0 #cacaca; margin-bottom: 30px; } .header h1 span, .header h1 span a{ @@ -80,7 +81,6 @@ html,body{ } .header h2{ font-size: 20px; - text-shadow: 0 1px 0 #cacaca; } /* previous exceptions */ @@ -102,12 +102,10 @@ html,body{ margin-top: -5px; margin-left: -25px; color: #e51717; - text-shadow: 0 1px 0 #cacaca; } .header .previous h2{ font-size: 20px; color: #e57373; - text-shadow: 0 1px 0 #cacaca; margin-bottom: 10px; } .header .previous h2 span{ @@ -157,7 +155,6 @@ html,body{ } .call-stack ul li a:hover{ color: #000; - text-shadow: 0 1px 0 #cacaca; } .call-stack ul li .item-number{ width: 45px; @@ -270,7 +267,6 @@ html,body{ .footer p{ font-size: 16px; padding-bottom: 10px; - text-shadow: 0 1px 0 #cacaca; } .footer p a{ color: #505050;