Content Index
[Hide]
So long a time, I didn’t update my blog’s theme. But this time it was greatly revisied , and I renew for one year for my host.
1.Google Fonts
2.MulitLuange Support
It should adapt to client’s default language automatically.
3.pdf
You can download the post as a pdf file.But some post including MathJax’s Latex will not be converted as the orginal html.
4.CSS optimization
All navigation bar in gradient
#nav-above {
background-color: #004979;
background: -ms-linear-gradient(top, #0000ff 0%, #7d7fc8 40%, #0000ff 100%);
background: linear-gradient(top, #0000ff 0%, #7d7dc8 40%, #0000ff 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0000ff', endColorstr='#7d7dc8', GradientType=0 );
background: -moz-linear-gradient(top, blue, rgba(125, 125, 200, 0.5));
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#0000ff), to(rgba(125, 125, 200, 0.5)));
background: -o-linear-gradient(top, blue, rgba(125, 125, 200, 0.5));
}
Compatible with IE, Firefox and Chrome
Dynamic retractable Search box
in ‘include/general-template.php’ edit ‘get_search_form’ function add ‘placeholder’ attribution.
#s:focus { width: 80%; }
.widget_search #s {
float: left;
-webkit-transition-duration: 400ms;
-webkit-transition-property: width, background;
-webkit-transition-timing-function: ease;
-moz-transition-duration: 400ms;
-moz-transition-property: width, background;
-moz-transition-timing-function: ease;
-o-transition-duration: 400ms;
-o-transition-property: width, background;
-o-transition-timing-function: ease;
width: 60%;
}