1 Star 1 Fork 0

zengxiaoluan / loquat

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
style.css 6.77 KB
一键复制 编辑 原始数据 按行查看 历史
zengxiaoluan 提交于 2017-05-16 12:06 . 支持多级菜单
/*
Theme Name: Loquat
Theme URI: http://zengxiaoluan.com/loquat
Author: zengxiaoluan
Author URI: http://zengxiaoluan.com
Version: 1.0
Description: Let me think think.
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-header, custom-menu, featured-images, flexible-header
Text Domain: loquat
*/
.current-menu-item > a{
font-weight: 700;
color: #0e8ece;
}
.wp-caption {
margin-bottom: 1.75em;
max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
display: block;
margin: 0;
}
.wp-caption .wp-caption-text {
color: #686868;
font-size: 13px;
font-size: 0.8125rem;
font-style: italic;
line-height: 1.6153846154;
padding-top: 0.5384615385em;
}
.sticky{
}
.screen-reader-text{
}
.gallery-caption{
}
.bypostauthor{
}
.alignleft {
float: left;
margin: 0.375em 1.75em 1.75em 0;
}
.alignright {
float: right;
margin: 0.375em 0 1.75em 1.75em;
}
.aligncenter {
clear: both;
display: block;
margin: 0 auto 1.75em;
}
blockquote.alignleft {
margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
}
blockquote.alignright {
margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
}
blockquote.aligncenter {
margin-bottom: 1.473684211em;
}
/********************* normalize *********************************/
/****** header.php ******/
#nav{
position: relative;
}
.header-top{
border-bottom: 1px solid #e9e9e9;
}
.header-top .search-form{
margin-top: 1em;
}
.header-top a{
color: #d9d9d9;
font-size: 1em;
margin-right: 1em;
line-height: 4em;
}
/*大屏*/
@media (min-width: 1200px) {
html,body{
font-size: 14px;
}
#header{
height: 83px;
}
#header #menu{
display: block !important;
}
#header #nav{
margin: 0 auto;
width: 1200px;
text-align: center;
}
#header ul.primary-menu > li{
display: inline-block;
position: relative;
line-height: 80px;
padding-left: 1em;
padding-right: 1em;;
}
#header .sub-menu .sub-menu{
position: absolute;
top: 0;
left: 100%;
}
#header ul.sub-menu{
display: none;
position: absolute;
left: 0%;
top: 83px;
z-index: 1;
padding-left: 0;
width: 84px;
white-space:nowrap;
text-overflow:ellipsis;
background: black;
}
#header ul.sub-menu li{
line-height: 50px;
height: 50px;
position: relative;
}
#header #nav #menu{
float: right;
}
#menu-toggle{
display: none;
}
}
/*小屏*/
@media (max-width: 1200px) {
html, body{
font-size: 12px;
}
#header .menu{
display: none;
padding-top: 80px;
width: 100%;
text-align: left !important;
}
#header .menu li.menu-item{
padding: 0.5em 0;
}
.menu-toggle{
display: block;
height: 40px;
margin-top: 25px;
margin-right: 10px;
}
#header #logo img{
height: 2em;
margin-top: 1.7em;
}
#header .logo{
width: 100%;
height: 80px;
}
.header-top{
display: none;
}
.header-top .search-submit{
width: 100%;
margin-top: 1em;
}
}
#header{
width: 100%;
transition: all 0.5s;
z-index: 100;
min-height: 80px;
transition: all .5s;
}
#header:hover{
box-shadow: 0px 1px 15px #d2d0d0,0px -1px 15px #d2d0d0;
}
#header ul{
list-style: none;
font-size: 14px;
margin-bottom: 0;
}
#header .logo img{
margin-top: 1.3em;
height: 50px;
width: auto;
}
/****** header.php ******/
/******************************************* index.php *****************************/
.news,.cooperation,.platform,.team,.qualify,.core,.products{
padding:2em auto;
margin: 2em auto;
}
/*banner*/
.section{
overflow: hidden;
}
.banner{
height:100%;
margin: 0 auto;
width: 100%;
}
.banner img{
width: 100%;
}
.details{
color: white;
height: 200px;
margin: 0 auto;
margin-top: -100px;
position: absolute;
top: 50%;
text-align: center;
width: 100%;
}
/* platform */
.platform img{
width: 100%;
}
/*products*/
.products{
perspective: 1000px;
transform-style: preserve-3d;
}
.architecture,.commerce{
transform-style: preserve-3d;
backface-visibility: hidden;
transform: translateZ(0);
}
.architecture:hover,.commerce:hover{
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
.title{
padding: 0 1rem;
font-size: 3rem;
}
/*products end*/
/*team*/
.team{
max-width: 160px;
box-sizing: border-box;
position: relative;
}
.team img{
width: 100%;
height: auto;
transition: all .3s;
}
.team:hover img{
transform: scale(0.9);
}
.team .border{
position: absolute;
top: 0px;
left: 0px;
border: 10px solid #0e8ece;
border-left: 10px solid #4bf358;
border-top: 10px solid #4bf358;
box-sizing: border-box;
width: 160px;
height: 160px;
border-radius: 50%;
transition: all .3s ease-in;
outline: none;
}
.team:hover .border{
transform: rotate(180deg);
}
/*team end*/
/* news */
.news{
background: url('./images/news_bg.jpg') no-repeat center center;
}
.article{
margin-bottom: 20px;
}
.news-left,.news-right{
font-size: 20px;
cursor: pointer;
margin-top: 50%;
height: 100%;
}
.news .carousel-control{
width: 45px;
}
.news .carousel-control{
background-image: none !important;
color: #333 !important;
}
.news .carousel-inner{
padding: 0 45px;
}
/* news end */
/*************************************************** index.php ***************************/
/*************************************************** single.php ***************************/
.screen-reader-text{
background-color: #0e8ece;
height: 5px;
color: #0e8ece;
overflow: hidden;
width: 100%;
}
.post{
font-size: 1.2em;
margin-bottom: 2em;
transition: all .5s;
}
.post i{
margin-left: 0.5em;
}
.post .article{
}
.post .wp-post-image{
margin-bottom: 1em;
}
.post-navigation .nav-previous{
float: left;
}
.post-navigation .nav-next{
float: right;
}
.post-navigation a span{
margin: 20px;
}
/*************************************************** single.php ***************************/
.page-numbers{
display: inline-block;
border: solid 1px #eee;
margin: 0.5em;
padding: 0.5em;
}
.product-title{
font-family: '方正兰亭超细黑简体';
font-size: 50px;
color: #35acff;
margin: 4rem 0;
}
.product-desc{
font-family: '方正兰亭超细黑简体';
font-size: 30px;
color: white;
}
video{
clear: both;
}
.retailer{
background: #00050d;
padding-bottom: 8rem;
}
1
https://gitee.com/zengxiaoluan/loquat.git
git@gitee.com:zengxiaoluan/loquat.git
zengxiaoluan
loquat
loquat
master

搜索帮助