Add Tsu theme
This commit is contained in:
49
themes/hexo-theme-Tsu/source/styles/header.styl
Normal file
49
themes/hexo-theme-Tsu/source/styles/header.styl
Normal file
@@ -0,0 +1,49 @@
|
||||
@import url('https://fonts.googleapis.com/css?family=Montserrat');
|
||||
@font-face
|
||||
{
|
||||
font-family: "myFirstFont";
|
||||
src: url('/fonts/Montserrat-Light.otf');
|
||||
//url('Sansation_Light.eot'); /* IE9+ */
|
||||
}
|
||||
header {
|
||||
display: block
|
||||
box-shadow: 0 0 3px rgba(0,0,0,0.1)
|
||||
height: 65px
|
||||
margin-top: -5px
|
||||
line-height: 65px
|
||||
font-family: 'Montserrat Light'
|
||||
.title {
|
||||
float: left;
|
||||
position: relative;
|
||||
font-size: 26px;
|
||||
font-family: "myFirstFont";
|
||||
}
|
||||
.site-nav {
|
||||
float: right;
|
||||
margin-right: -12px;
|
||||
.menu{
|
||||
display: block;
|
||||
font-family: "myFirstFont";
|
||||
position: relative;
|
||||
font-family: "myFirstFont";
|
||||
padding-left: 0;
|
||||
padding-right: 0px;
|
||||
.menu-item {
|
||||
display: inline-block;
|
||||
margin-right: 15px;
|
||||
font-size: 16px;
|
||||
}}}
|
||||
}
|
||||
header:before, header:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
header:after {
|
||||
clear: both;
|
||||
}
|
||||
@media only screen and (max-width: 520px) {
|
||||
.title {
|
||||
display: none
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user