Add "unreleased" type note

This commit is contained in:
Parker Moore 2014-02-17 15:58:55 -05:00
parent 1c4974f6ea
commit d203554e84
2 changed files with 35 additions and 1 deletions

View File

@ -904,6 +904,19 @@ code.option, code.flag, code.filter, code.output {
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 ); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9e2812', endColorstr='#6f0d0d',GradientType=0 );
} }
.unreleased {
background: rgb(205,146,57); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NkOTIzOSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhMjc1MjgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(205,146,57,1) 0%, rgba(162,117,40,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(205,146,57,1)), color-stop(100%,rgba(162,117,40,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(205,146,57,1) 0%,rgba(162,117,40,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cd9239', endColorstr='#a27528',GradientType=0 ); /* IE6-8 */
}
.info:before { .info:before {
border-color: transparent #00617f #00617f transparent; border-color: transparent #00617f #00617f transparent;
} }
@ -912,6 +925,10 @@ code.option, code.flag, code.filter, code.output {
border-color: transparent #6f0d0d #6f0d0d transparent; border-color: transparent #6f0d0d #6f0d0d transparent;
} }
.unreleased:before {
border-color: transparent #664719 #664719 transparent;
}
.note:after { .note:after {
content: "★"; content: "★";
color: #fc0; color: #fc0;
@ -945,6 +962,17 @@ code.option, code.flag, code.filter, code.output {
text-shadow: 0 -1px 0 rgba(0,0,0,.5); text-shadow: 0 -1px 0 rgba(0,0,0,.5);
} }
.unreleased:after {
content: "⚒";
color: #2b2a12;
position: absolute;
top: 12px;
left: 15px;
font-size: 32px;
font-weight: bold;
text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
/* Responsive tables */ /* Responsive tables */
@media (max-width: 768px){ @media (max-width: 768px){

View File

@ -24,7 +24,7 @@ behind [GitHub Pages](http://pages.github.com), which means you can use Jekyll
to host your projects page, blog, or website from GitHubs servers **for to host your projects page, blog, or website from GitHubs servers **for
free**. free**.
## ProTips™, Notes, and Warnings ## ProTips™, Notes, Warnings, and Unreleased Features
Throughout this guide there are a number of small-but-handy pieces of Throughout this guide there are a number of small-but-handy pieces of
information that can make using Jekyll easier, more interesting, and less information that can make using Jekyll easier, more interesting, and less
@ -46,6 +46,12 @@ hazardous. Heres what to look out for.
<p>Be aware of these messages if you wish to avoid certain death.</p> <p>Be aware of these messages if you wish to avoid certain death.</p>
</div> </div>
<div class="note unreleased">
<h5>You'll see this by a feature that hasn't been released</h5>
<p>Some pieces of this website are for future versions of Jekyll that
are not yet released.</p>
</div>
If you come across anything along the way that we havent covered, or if you If you come across anything along the way that we havent covered, or if you
know of a tip you think others would find handy, please [file an know of a tip you think others would find handy, please [file an
issue]({{ site.repository }}/issues/new) and well see about issue]({{ site.repository }}/issues/new) and well see about