浏览器升级提示
This commit is contained in:
+1
-1
@@ -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]-->
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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
|
||||
* --------------- */
|
||||
|
||||
Reference in New Issue
Block a user