[fix bug 1441090] Remove old Tabzilla
* Update Mozilla wordmark * Change to local fonts instead of deprecated CDN
This commit is contained in:
Родитель
b7ece5ef06
Коммит
24ce54331f
|
@ -2,71 +2,58 @@
|
|||
@Fonts
|
||||
*/
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("../fonts/opensans-regular.woff2") format("woff2"),
|
||||
url("../fonts/opensans-regular.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("../fonts/opensans-italic.woff2") format("woff2"),
|
||||
url("../fonts/opensans-italic.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("../fonts/opensans-semibold.woff2") format("woff2"),
|
||||
url("../fonts/opensans-semibold.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("../fonts/opensans-semibolditalic.woff2") format("woff2"),
|
||||
url("../fonts/opensans-semibolditalic.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Light */
|
||||
@font-face {
|
||||
font-family: 'Open Sans Light';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans Light";
|
||||
src: url("../fonts/opensans-light.woff2") format("woff2"),
|
||||
url("../fonts/opensans-light.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans Light';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans Light";
|
||||
src: url("../fonts/opensans-lightitalic.woff2") format("woff2"),
|
||||
url("../fonts/opensans-lightitalic.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans Light';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans Light";
|
||||
src: url("../fonts/opensans-regular.woff2") format("woff2"),
|
||||
url("../fonts/opensans-regular.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -6,23 +6,23 @@
|
|||
#content,
|
||||
#content-main,
|
||||
#content-sub,
|
||||
.entry-header,
|
||||
.entry-header,
|
||||
.entry-title,
|
||||
.entry-posted,
|
||||
.entry-posted,
|
||||
#nav-primary,
|
||||
.nav-paging,
|
||||
.nav-paging,
|
||||
#comment-list.av .comment,
|
||||
.featured-posts {
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
/* A few position adjustments */
|
||||
.single-post .entry-title,
|
||||
.page .entry-title {
|
||||
margin-top: 0;
|
||||
.single-post .entry-title,
|
||||
.page .entry-title {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/* Just for IE6 */
|
||||
* html legend {
|
||||
margin-left: -8px;
|
||||
* html legend {
|
||||
margin-left: -8px;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
@font-face {
|
||||
font-family: "Open Sans";
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.eot");
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.eot?#iefix") format("embedded-opentype"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.woff") format("woff"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.ttf") format("truetype");
|
||||
src: url("../fonts/opensans-regular.woff2") format("woff2"),
|
||||
url("../fonts/opensans-regular.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
|
@ -5,48 +5,42 @@ header, hgroup, nav, section, article, aside, footer { display: block; }
|
|||
/* Light */
|
||||
@font-face {
|
||||
font-family: "Open Sans Light";
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-Light-webfont.eot");
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-Light-webfont.eot?#iefix") format("embedded-opentype"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-Light-webfont.woff") format("woff"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-Light-webfont.ttf") format("truetype");
|
||||
src: url("fonts/opensans-light.woff2") format("woff2"),
|
||||
url("fonts/opensans-light.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Open Sans Light";
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-LightItalic-webfont.eot");
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-LightItalic-webfont.eot?#iefix") format("embedded-opentype"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-LightItalic-webfont.woff") format("woff"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-LightItalic-webfont.ttf") format("truetype");
|
||||
src: url("fonts/opensans-lightitalic.woff2") format("woff2"),
|
||||
url("fonts/opensans-lightitalic.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Open Sans Light";
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.eot");
|
||||
src: url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.eot?#iefix") format("embedded-opentype"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.woff") format("woff"),
|
||||
url("//www.mozilla.org/media/fonts/OpenSans-Regular-webfont.ttf") format("truetype");
|
||||
src: url("fonts/opensans-regular.woff2") format("woff2"),
|
||||
url("fonts/opensans-regular.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
|
||||
/* Hidden elements */
|
||||
#header,
|
||||
#content-sub,
|
||||
#respond,
|
||||
#breadcrumbs,
|
||||
#nav-access,
|
||||
.spread,
|
||||
#sub-footer,
|
||||
#footer-logo,
|
||||
#footer-menu,
|
||||
.comment-util,
|
||||
.cmt-post {
|
||||
display: none;
|
||||
#header,
|
||||
#content-sub,
|
||||
#respond,
|
||||
#breadcrumbs,
|
||||
#nav-access,
|
||||
.spread,
|
||||
#sub-footer,
|
||||
#footer-logo,
|
||||
#footer-menu,
|
||||
.comment-util,
|
||||
.cmt-post {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#page { width: 90%; margin: 0 auto; background: #fff none !important; }
|
||||
|
|
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичный файл не отображается.
|
@ -24,6 +24,5 @@
|
|||
</footer>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
<script src="//mozorg.cdn.mozilla.net/tabzilla/tabzilla.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
<link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/socialshare.css">
|
||||
<?php endif; ?>
|
||||
<link rel="stylesheet" type="text/css" media="screen,projection" href="<?php bloginfo('stylesheet_url'); ?>">
|
||||
<link rel="stylesheet" type="text/css" media="all" href="//mozorg.cdn.mozilla.net/media/css/tabzilla-min.css">
|
||||
<link rel="stylesheet" type="text/css" media="print" href="<?php echo get_template_directory_uri(); ?>/css/print.css">
|
||||
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/css/ie7.css"><![endif]-->
|
||||
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 96">
|
||||
<style>
|
||||
.st0{fill:#000000;}
|
||||
</style>
|
||||
<path class="st0" d="M261.1 60.7c0 2.5 1.2 4.6 4.7 4.6 4 0 8.3-2.9 8.6-9.5-1.9-.3-3.8-.5-5.7-.5-4.1-.1-7.6 1.1-7.6 5.4z"/>
|
||||
<path class="st0" d="M0 0v96h300V0H0zm84.9 72.5H68.3V50.2c0-6.8-2.3-9.5-6.8-9.5-5.4 0-7.7 3.9-7.7 9.4v13.8H59v8.7H42.5V50.2c0-6.8-2.3-9.5-6.8-9.5-5.4 0-7.7 3.9-7.7 9.4v13.8h7.5v8.7h-24V64h5.3V41.4h-5.7v-8.6h17.1v6c2.4-4.2 6.5-6.7 12-6.7 5.7 0 11 2.7 12.9 8.6 2.2-5.3 6.7-8.6 12.9-8.6 7.1 0 13.6 4.3 13.6 13.7v18.1h5.3v8.6zm25.2.8c-12.2 0-20.6-7.5-20.6-20.1 0-11.6 7.1-21.2 21.3-21.2S132 41.6 132 52.6c0 12.7-9.2 20.7-21.9 20.7zm63.2-.8h-34.6l-1.1-6 21.8-25H147l-1.8 6.2-8.2-.9 1.4-13.9h34.9l.9 6-22 25H165l1.9-6.2 9 .9-2.6 13.9zm21.4 0h-11.9V58.2h11.9v14.3zm0-25.5h-11.9V32.8h11.9V47zm6.3 25.5L218.1 12h11.1L212 72.5h-11zm23 0L241.1 12h11.1l-17.1 60.5H224zm59 .8c-5.3 0-8.2-3.1-8.7-7.9-2.3 4-6.3 7.9-12.8 7.9-5.7 0-12.2-3.1-12.2-11.4 0-9.7 9.4-12 18.5-12 2.2 0 4.4.1 6.5.4V49c0-4-.1-8.9-6.5-8.9-2.4 0-4.2.2-6.1 1.1l-1.4 5.6-9.1-1 1.8-10.3c6.9-2.8 10.5-3.6 17-3.6 8.6 0 15.7 4.4 15.7 13.4v17.2c0 2.3.9 3.1 2.7 3.1.6 0 1.1-.1 1.7-.3l.1 6c-2.2 1.4-4.6 2-7.2 2z"/>
|
||||
<path class="st0" d="M110.6 40.7c-5.8 0-9.4 4.3-9.4 11.8 0 6.8 3.2 12.1 9.3 12.1 5.9 0 9.7-4.8 9.7-12.3.1-8-4.2-11.6-9.6-11.6z"/>
|
||||
</svg>
|
После Ширина: | Высота: | Размер: 1.3 KiB |
|
@ -14,5 +14,6 @@
|
|||
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main', 'container' => 'nav', 'container_id' => 'nav-main', 'fallback_cb' => 'false', 'items_wrap' => '<span class="toggle">Menu</span><ul id="nav-main-list">%3$s</ul>' ) ); ?>
|
||||
|
||||
<a href="https://www.mozilla.org/" id="tabzilla">Mozilla</a>
|
||||
<a class="mozilla-logo" href="https://www.mozilla.org/" rel="external">Mozilla</a>
|
||||
|
||||
</header><!-- #masthead -->
|
||||
|
|
|
@ -15,71 +15,58 @@ file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|||
@Fonts
|
||||
*/
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("fonts/opensans-regular.woff2") format("woff2"),
|
||||
url("fonts/opensans-regular.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Italic-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("fonts/opensans-italic.woff2") format("woff2"),
|
||||
url("fonts/opensans-italic.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Semibold-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("fonts/opensans-semibold.woff2") format("woff2"),
|
||||
url("fonts/opensans-semibold.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-SemiboldItalic-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans";
|
||||
src: url("fonts/opensans-semibolditalic.woff2") format("woff2"),
|
||||
url("fonts/opensans-semibolditalic.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Light */
|
||||
@font-face {
|
||||
font-family: 'Open Sans Light';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Light-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans Light";
|
||||
src: url("fonts/opensans-light.woff2") format("woff2"),
|
||||
url("fonts/opensans-light.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans Light';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-LightItalic-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans Light";
|
||||
src: url("fonts/opensans-lightitalic.woff2") format("woff2"),
|
||||
url("fonts/opensans-lightitalic.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Open Sans Light';
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot');
|
||||
src: url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.woff') format('woff'),
|
||||
url('//mozorg.cdn.mozilla.net/media/fonts/OpenSans-Regular-webfont.ttf') format('truetype');
|
||||
font-family: "Open Sans Light";
|
||||
src: url("fonts/opensans-regular.woff2") format("woff2"),
|
||||
url("fonts/opensans-regular.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
@ -303,10 +290,20 @@ a:active {
|
|||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
#masthead #tabzilla {
|
||||
#masthead .mozilla-logo {
|
||||
background: #fff url('img/mozilla-wordmark-black.svg') no-repeat;
|
||||
background-size: cover;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
height: 32px;
|
||||
line-height: 1;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
text-indent: 120%;
|
||||
top: 10px;
|
||||
white-space: nowrap;
|
||||
width: 101px;
|
||||
}
|
||||
|
||||
#content:after { clear: both; content: ''; display: block; height: 0; visibility: hidden; }
|
||||
|
|
Загрузка…
Ссылка в новой задаче