ソースを参照

commented out top-nav color customizations and added 'IE8 isn't supported' sitenotice

Garrick van Buren 12 年 前
コミット
d2fd3e4d9a
2 ファイル変更6 行追加2 行削除
  1. 4 0
      Foreground.skin.php
  2. 2 2
      assets/stylesheets/foreground.css

+ 4 - 0
Foreground.skin.php

@@ -106,6 +106,10 @@ class foregroundTemplate extends BaseTemplate {
 
 		<div class="row">
 				<div class="large-12 columns">
+				<!--[if gt IE 9]>
+				<div id="siteNotice" class="sitenotice panel radius"><?php echo $this->text('sitename'); ?> may not look as expected in your version of Internet Explorer. We recommend you upgrade to a newer version of Internet Explorer or switch to a browser like Firefox or Chrome.</div>
+				<!--<![endif]-->
+
 				<?php if ( $this->data['sitenotice'] ) { ?><div id="siteNotice" class="sitenotice panel radius"><?php $this->html( 'sitenotice' ); ?></div><?php } ?>
 				<?php if ( $this->data['newtalk'] ) { ?><div id="usermessage" class="newtalk panel radius"><?php $this->html( 'newtalk' ); ?></div><?php } ?>
 				</div>

+ 2 - 2
assets/stylesheets/foreground.css

@@ -580,7 +580,7 @@ body.mw-special-Userlogin h2.title {
   display:none;
 }
 
-/* Don't like the black top bar? Copy this into your Common.css and change the colors */
+/* Don't like the black top bar? Copy this into your Common.css and change the colors
 .top-bar,
 .top-bar-section ul,
 .top-bar-section ul li.active > a,
@@ -595,4 +595,4 @@ body.mw-special-Userlogin h2.title {
 .top-bar-section > ul > [role="separator"] {
   border-color: black;
 }
-
+*/