浏览器升级提示

This commit is contained in:
fen
2013-12-08 21:26:50 +08:00
parent 4b2aef4596
commit 97af74da0b
3 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -27,5 +27,5 @@ $header = Typecho_Plugin::factory('admin/header.php')->header($header);
</head>
<body<?php if (isset($bodyClass)) {echo ' class="' . $bodyClass . '"';} ?>>
<!--[if lt IE 9]>
<div class="message error browsehappy"><?php _e('您正在使用 <strong>旧版本</strong> 的浏览器. 为了更好的访问本页面, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>'); ?>.</div>
<div class="message error browsehappy"><?php _e('页面 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的使用, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>'); ?>.</div>
<![endif]-->
+3
View File
@@ -29,6 +29,9 @@
<?php $this->header(); ?>
</head>
<body>
<!--[if lt IE 8]>
<div class="browsehappy"><?php _e('页面 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的使用, 请 <a href="http://browsehappy.com/">升级你的浏览器</a>'); ?>.</div>
<![endif]-->
<header id="header" class="clearfix">
<div class="container">
+12
View File
@@ -85,6 +85,18 @@ textarea {
border-bottom-color: transparent;
}
.browsehappy {
padding: 8px 0;
background: #FBE3E4;
color: #8A1F11;
text-align: center;
}
.browsehappy a {
color: #8A1F11;
text-decoration: underline;
font-weight: bold;
}
/* ------------------
* Header
* --------------- */