0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-13 01:08:58 +01:00

Merge pull request #18446 from twbs/fix-18332

Check-in the v4 notice and themes link in the docs
This commit is contained in:
Mark Otto 2015-12-06 23:54:36 -08:00
commit e056a66a3b
5 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,7 @@ download:
blog: http://blog.getbootstrap.com
expo: http://expo.getbootstrap.com
themes: http://themes.getbootstrap.com
cdn:
# See https://www.srihash.org for info on how to generate the hashes

View File

@ -28,6 +28,7 @@
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="{{ site.themes }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Themes')">Themes</a></li>
<li><a href="{{ site.expo }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Expo');">Expo</a></li>
<li><a href="{{ site.blog }}" onclick="ga('send', 'event', 'Navbar', 'Community links', 'Blog');">Blog</a></li>
</ul>

View File

@ -6,6 +6,7 @@
</head>
<body>
<a id="skippy" class="sr-only sr-only-focusable" href="#content"><div class="container"><span class="skiplink-text">Skip to main content</span></div></a>
<a href="http://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/" class="v4-tease">Aww yeah, Bootstrap 4 is coming!</a>
<!-- Docs master nav -->
{% include nav/main.html %}

View File

@ -6,6 +6,7 @@
</head>
<body class="bs-docs-home">
<a id="skippy" class="sr-only sr-only-focusable" href="#content"><div class="container"><span class="skiplink-text">Skip to main content</span></div></a>
<a href="http://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/" class="v4-tease">Aww yeah, Bootstrap 4 is coming!</a>
<!-- Docs master nav -->
{% include nav/main.html %}

View File

@ -1607,3 +1607,18 @@ h1[id] {
-webkit-box-shadow: 0 0 8px rgba(82,168,236,.6);
box-shadow: 0 0 8px rgba(82,168,236,.6);
}
/* v4 notice above main navbar */
.v4-tease {
display: block;
padding: 15px 20px;
font-weight: bold;
color: #fff;
text-align: center;
background-color: #0275d8;
}
.v4-tease:hover {
color: #fff;
text-decoration: none;
background-color: #0269c2;
}