This commit is contained in:
2019-05-30 18:52:14 +08:00
commit aa360a22bf
341 changed files with 30369 additions and 0 deletions

View File

@ -0,0 +1,9 @@
.header-inner, .container .main-inner, .footer-inner {
+mobile() { width: auto; }
}
// embed tag
embed {
show();
margin: 0px auto 25px auto;
}

View File

@ -0,0 +1,25 @@
.custom-logo {
.site-meta-headline {
text-align: center;
}
.brand {
background: none;
}
.site-title {
margin: 10px auto 0;
font-size: 24px;
color: $black-deep;
a {
border: none;
}
}
}
.custom-logo-image {
margin: 0 auto;
padding: 5px;
max-width: 150px;
background: white;
}

View File

@ -0,0 +1,78 @@
.site-nav {
+mobile() {
position: absolute;
left: 0;
top: 52px;
margin: 0;
width: 100%;
padding: 0;
background: white;
border-bottom: 1px solid $gray-lighter;
z-index: $zindex-3;
}
}
.menu {
+mobile() { text-align: left; }
}
.menu-item-active a {
border-bottom-color: $menu-link-hover-border !important;
color: $black-deep;
+mobile() {
border-bottom: 1px dotted $gray-lighter !important;
}
}
.menu .menu-item {
+mobile() {
show();
margin: 0 10px;
vertical-align: top;
}
.badge {
display: inline-block;
padding: 1px 4px;
margin-left: 5px;
font-weight: 700;
line-height: 1;
text-align: center;
white-space: nowrap;
background-color: $gainsboro;
+mobile() {
float: right;
margin: 0.35em 0 0 0;
}
}
br {
+mobile() { display: none; }
}
a, span.exturl {
+mobile() {
padding: 5px 10px;
}
&:hover {
@extend .menu-item-active a;
}
// To prevent hover on external links with touch devices after click.
@media (hover:none) {
&:hover {
border-bottom-color: transparent !important;
}
}
}
.fa {
+tablet() {
width: 100%;
}
+desktop() {
width: 100%;
}
}
}

View File

@ -0,0 +1,5 @@
// Search
// --------------------------------------------------
.site-search form {
hide();
}

View File

@ -0,0 +1,5 @@
@import "_layout.styl";
@import "_logo.styl";
@import "_menu.styl";
@import "_search.styl";
@import "sidebar/sidebar-blogroll";

View File

@ -0,0 +1 @@
.links-of-blogroll-inline .links-of-blogroll-item { display: inline-block; }