css 这类似于主题安装,因为它具有多个专门针对不同layout.css关联的css页面。
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css 这类似于主题安装,因为它具有多个专门针对不同layout.css关联的css页面。相关的知识,希望对你有一定的参考价值。
<p> </p>
<p> </p>
<p style="text-align: center;"><iframe allowfullscreen="" frameborder="0" height="450" mozallowfullscreen="" src="//player.vimeo.com/video/38772314" webkitallowfullscreen="" width="80%"></iframe></p>
<p> </p>
<p> </p>
<h2 style="text-align: center;"><span class="cat-head">Phasellus fringilla neque</span></h2>
<p> </p>
<div class="row">
<div class="span6"><img alt="placeholder" src="https://placeimg.com/640/460/nature"></div>
<div class="span6">
<h3 style="text-align: center;"><span class="cat-head">Lorem Ipsum Dolar</span></h3>
<p> </p>
<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas odio dui, placerat ac sagittis non, rutrum a velit. Vestibulum molestie lacus nisl, nec tempor sapien ullamcorper sit amet. Sed aliquam, tellus sed condimentum feugiat, nulla eros viverra neque, eget sagittis sem lectus et tellus. Pellentesque commodo molestie justo, vel eleifend neque tincidunt at.</p>
<p style="text-align: center;">Phasellus fringilla neque quis congue ornare. In sed enim vitae massa elementum hendrerit eget eu ante. Cras nisi lorem, posuere tempor massa in, ultricies imperdiet enim. In hac habitasse platea dictumst. Donec id libero urna.</p>
<p style="text-align: center;"><a class="btn" href="#">View More</a></p>
</div>
</div>
<p> </p>
<div class="row" style="text-align: center;">
<div class="span4">
<p><img alt="placeholder" src="https://placeimg.com/640/360/nature"></p>
<h3>Lorem Ipsum Dolar</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas odio dui, placerat ac sagittis non, rutrum a velit. Vestibulum molestie lacus nisl, nec tempor sapien ullamcorper sit amet.</p>
</div>
<div class="span4">
<p><img alt="placeholder" src="https://placeimg.com/640/360/tech"></p>
<h3>Lorem Ipsum Dolar</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas odio dui, placerat ac sagittis non, rutrum a velit. Vestibulum molestie lacus nisl, nec tempor sapien ullamcorper sit amet.</p>
</div>
<div class="span4">
<p><img alt="placeholder" src="https://placeimg.com/640/360/people"></p>
<h3>Lorem Ipsum Dolar</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas odio dui, placerat ac sagittis non, rutrum a velit. Vestibulum molestie lacus nisl, nec tempor sapien ullamcorper sit amet.</p>
</div>
</div>
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);
/* Global Styling --------------------------*/
#camereta {
font-family: 'Open Sans', sans-serif;
}
#camereta h1, #camereta h2, #camereta h3, #camereta h4, #camereta h6 {
font-family: 'Open Sans', sans-serif;
font-weight: normal;
line-height: 1.1;
}
#camereta p {line-height: 1.4;}
/* Header --------------------------*/
#camereta .topbar {
background: #1d1d1d;
border: none;
}
#camereta .topbar p {
margin: 0;
color: #fff;
text-transform: uppercase;
padding: 10px;
}
#camereta .topbar .cart_details_3 {
border: none;
min-width: 215px;
margin-bottom: 0;
}
#camereta .topbar .cart_details_3 .cart_btn {
color: #fff;
background: none;
height: auto;
}
.topbar .cart_details_3 .cart_btn .items, .topbar .cart_details_3 .cart_btn .price {
border: none;
text-align: left;
font-size: 14px;
padding-top: 0;
margin-top: 11px;
}
.topbar .cart_details_3 .cart_btn .price:after {
content: "\f0d7";
font-family: 'FontAwesome';
float: right;
color: #fff;
font-size: 1.2em;
padding: 0 10px 0 0;
}
.topbar .cart_details_3 .cart_btn .icon {
background: none;
color: #fff;
font-size: 18px;
padding-top: 0 !important;
margin-top: 8px;
height: auto;
}
#camereta .cart_details_3 .details {border: 1px solid #e6e6e6;}
#header>.container {
padding: 0;
}
/* Navigation --------------------------*/
#camereta #navigation {
background: #fff;
border-bottom: 1px solid #ededed;
}
#camereta #navigation .navbar, #camereta #navigation .navbar-inner {
padding: 0;
background: #fff;
position: relative;
min-height: 65px;
}
#camereta #navigation .navbar nav.navigation ul {
background: #fff !important;
}
#camereta #navigation .navbar nav.navigation ul li {
padding: 20px 0;
-webkit-transition: .25s ease;
-moz-transition: .25s ease;
transition: .25s ease;
}
#camereta #navigation .navbar nav.navigation ul li a {
font-family: 'Open Sans', sans-serif;
font-weight: normal;
color: #000;
text-transform: uppercase;
font-size: 14px;
padding: 10px 20px;
-webkit-transition: .25s ease;
-moz-transition: .25s ease;
transition: .25s ease;
}
/* Slider --------------------------*/
.camera_wrap {float: none !important;display: block !important;}
.cameraContent div[id*='presentation_slide'], .imgLoaded {width: 100% !important;height: 100% !important;}
/* Content --------------------------*/
h2 span.cat-head {
border-bottom: 1px solid;
display: inline-block;
padding: 5px 35px 10px;
margin: 25px 0;
}
h3 span.cat-head {
display: inline-block;
padding: 6px 0;
margin-top: 15px;
border-top: 2px solid;
border-bottom: 2px solid;
}
#bonus-line {
background: #F9F9F9;
border-top: 1px solid #ccc;
color: #000;
}
#camereta .productSearchForm {position: relative;padding: 0 15px;}
#camereta .navbar .productSearchForm {
position: absolute;
top: 0;
right: 0;
}
#camereta .productSearchForm {
padding: 0 15px;
position: relative;
background: #000;
}
#camereta #menu .productSearchForm {
padding: 0 15px;
position: absolute;
top: 0;
right: 0;
}
#camereta .productSearchForm input.productSearchBox {
border: none;
outline: none;
width: 1px !important;
float: right;
margin: 15px;
padding: 15px 0 15px 30px !important;
font-size: 1em;
color: #333333;
transition: all .3s cubic-bezier(0,0,.5,1.5);
background: url(/images/search.png) no-repeat center right;
position: absolute;
right: 0;
background-color: #ffffff;
z-index: 100;
background-size: 15px;
box-shadow: none;
}
#camereta .productSearchForm input.productSearchBox:focus, #camereta .productSearchForm input.productSearchBox:active {
padding: 15px 0 15px 30px !important;
font-size: 1em;
background-position: calc(100% - 10px) center;
width: 200px !important;
min-width: 200px !important;
background-color: #F9F9F9;
right: 0;
border: 1px solid #E4E4E4;
box-shadow: none;
border-radius: 0;
}
#camereta .productSearchForm input.searchButton, #camereta form div.clear {display: none !important;}
/* Footer --------------------------*/
#camereta #footer ul {
list-style: none;
margin: 0;
padding: 0;
}
#camereta #footer ul li a, #camereta #footer nav.navigation ul li a {
float: left;
width: 100%;
padding: 1px 0;
font-weight: normal;
}
#footer-menu p {
margin: 0;
line-height: 2.2;
}
/* Ecommerce --------------------------*/
#camereta #categoryProductListing {padding: 0;}
#sidebar .product_list_pagination {display: none;}
/* Buttons --------------------------*/
.custom_form_input input[type="submit"], .btn {
padding: 10px 20px;
background: #008cba;
color: #fff;
font-size: 1.2em;
border: none;
border-radius: 3px;
border-bottom: 3px solid #007095;
}
.custom_form_input input[type="submit"]:hover, .btn:hover {
background: #333;
border-bottom-color: #000;
}
/* Forms --------------------------*/
.form_row {margin: 0;}
.form_row label {width: 100% !important;}
.form_row input[type="text"], .form_row textarea {padding: 10px;height: auto;}
.line_wrapper, .custom_form_input span input {cursor:pointer !important;}
.labels-inside iframe {display: none;}
.proPerPage select, .sortBy select, .categoryListPagination, .product_list_pagination select {width: auto !important;}
/* Social Media Icons --------------------------*/
.addthis_toolbox.addthis_32x32_style.addthis_default_style span {
display: none;
}
.addthis_32x32_style.addthis_default_style a[class*="addthis_button"]:before {
font-family: FontAwesome;
font-size: 1.4rem;
text-align: center;
line-height: 1.5;
width: 32px;
height: 32px;
float: left;
border-radius: 50%;
margin: 2px -2px 2px 2px;
}
.addthis_32x32_style.addthis_default_style .addthis_button_facebook_follow:before{content:"\f09a";color:#3b5998}.addthis_32x32_style.addthis_default_style .addthis_button_twitter_follow:before{content:"\f099";color:#00aced}.addthis_32x32_style.addthis_default_style .addthis_button_linkedin_follow:before{content:"\f0e1";color:#007bb6}.addthis_32x32_style.addthis_default_style .addthis_button_google_follow:before{content:"\f0d5";color:#dd4b39;font-size:1.3em!important;margin-top:4px!important}.addthis_32x32_style.addthis_default_style .addthis_button_youtube_follow:before{content:"\f16a";color:#b00}.addthis_32x32_style.addthis_default_style .addthis_button_vimeo_follow:before{content:"\f194";color:#aad450}.addthis_32x32_style.addthis_default_style .addthis_button_pinterest_follow:before{content:"\f0d2";color:#cb2027}.addthis_32x32_style.addthis_default_style .addthis_button_rss_follow:before{content:"\f09e";color:#FF9533}.addthis_32x32_style.addthis_default_style .addthis_button_foursquare_follow:before{content:"\f180";color:#0072b1}.addthis_32x32_style.addthis_default_style .addthis_button_instagram_follow:before{content:"\f16d";color:#517fa4}.social_links_toolbox.addthis_32x32_style .addthis_button_facebook_follow:hover:before{color:#3b5998}.social_links_toolbox.addthis_32x32_style .addthis_button_twitter_follow:hover:before{color:#00aced}.social_links_toolbox.addthis_32x32_style .addthis_button_linkedin_follow:hover:before{color:#007bb6}.social_links_toolbox.addthis_32x32_style .addthis_button_google_follow:hover:before{color:#dd4b39}.social_links_toolbox.addthis_32x32_style .addthis_button_youtube_follow:hover:before{color:#b00}.social_links_toolbox.addthis_32x32_style .addthis_button_vimeo_follow:hover:before{color:#aad450}.social_links_toolbox.addthis_32x32_style .addthis_button_pinterest_follow:hover:before{color:#cb2027}.social_links_toolbox.addthis_32x32_style .addthis_button_rss_follow:hover:before{color:#FF9533}.social_links_toolbox.addthis_32x32_style .addthis_button_foursquare_follow:hover:before{color:#0072b1}.social_links_toolbox.addthis_32x32_style .addthis_button_instagram_follow:hover:before{color:#517fa4}
/* Misc Items --------------------------*/
.google_map {width: 100% !important;}
a, span input, .submitButton, .custom_form_input input, input[type="submit"] {
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
}
/* Responsiveness --------------------------*/
@media (min-width: 601px) {
#header_zone_1 img[id^='logo'] {display: none;}
nav.navigation > ul {display: block !important;}
#camereta #navigation .navbar nav.navigation > ul > li:first-child {
padding: 0;
}
#camereta #navigation .navbar nav.navigation > ul > li:first-child > a {
padding: 0 15px;
margin-top: 12px;
}
#camereta #navigation .navbar nav.navigation > ul > li:first-child > a span {
display: none;
}
#camereta #navigation .navbar nav.navigation > ul > li:first-child > a:after {
content: '';
display: block;
width: 55px;
height: 55px;
background: url(/images/default-logo.png) center center no-repeat;
background-size: 100%;
}
}
@media (max-width: 979px) {
body {padding: 0 !important;}
#container, #bonus-line {padding: 0 20px;}
#sub_header_zone_1 {display: none;}
#camereta .topbar {padding: 0 0 7px;}
}
@media (max-width: 600px) {
#header_zone_1 {text-align: center;}
#header_zone_1 img[id^='logo'] {
max-width: 100px !important;
text-align: center;
margin: 10px 0 0;
}
#camereta .productSearchForm input.productSearchBox {
margin: 8px;
}
#camereta #navigation .navbar nav.navigation ul li {
padding: 0;
}
#camereta #navigation .navbar nav.navigation > ul > li {
border: 1px solid #ccc;
margin-bottom: -1px;
}
#camereta #navigation .navbar nav.navigation > ul > li:last-child {
margin-bottom: 5px;
}
#camereta #navigation .navbar nav.navigation > ul li:hover {
background: #3C3B3B;
}
#camereta #navigation .navbar nav.navigation > ul li:hover > a, #camereta #navigation .navbar nav.navigation > ul li > a:hover, #camereta #navigation .navbar nav.navigation > ul li:hover > a span {
color: #fff;
}
nav.navigation .menu-toggle-button a {padding: 20px;}
}
Theme Documentation
***** template.css *****
This css stylesheet is for the design as a whole targeting both normal elements as well as responsive elements. Pay attention to the media queries at the bottom as the target the header area to bring the most fluid impact that is both responsive and plain ole' looks good.
***** full-width-slider_layout.css *****
This is a hack as a sub-layout to NO-SIDEBAR to make a full-width slider without compromising the code to the rest of the site. Isolating situations like this to sub-themes is advised for both safe code and avoiding responsive issues between layouts.
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);
/* Global Styling --------------------------*/
#camereta {
font-family: 'Open Sans', sans-serif;
}
#camereta h1, #camereta h2, #camereta h3, #camereta h4, #camereta h6 {
font-family: 'Open Sans', sans-serif;
font-weight: normal;
line-height: 1.1;
}
#camereta p {line-height: 1.4;}
/* Header --------------------------*/
#camereta .topbar {
background: #1d1d1d;
border: none;
}
#camereta .topbar p {
margin: 0;
color: #fff;
text-transform: uppercase;
padding: 10px;
}
#camereta .topbar .cart_details_3 {
border: none;
min-width: 215px;
margin-bottom: 0;
}
#camereta .topbar .cart_details_3 .cart_btn {
color: #fff;
background: none;
height: auto;
}
.topbar .cart_details_3 .cart_btn .items, .topbar .cart_details_3 .cart_btn .price {
border: none;
text-align: left;
font-size: 14px;
padding-top: 0;
margin-top: 11px;
}
.topbar .cart_details_3 .cart_btn .price:after {
content: "\f0d7";
font-family: 'FontAwesome';
float: right;
color: #fff;
font-size: 1.2em;
padding: 0 10px 0 0;
}
.topbar .cart_details_3 .cart_btn .icon {
background: none;
color: #fff;
font-size: 18px;
padding-top: 0 !important;
margin-top: 8px;
height: auto;
}
#camereta .cart_details_3 .details {border: 1px solid #e6e6e6;}
#header>.container {
padding: 0;
}
/* Navigation --------------------------*/
#camereta #navigation {
background: #fff;
border-bottom: 1px solid #ededed;
}
#camereta #navigation .navbar, #camereta #navigation .navbar-inner {
padding: 0;
background: #fff;
position: relative;
min-height: 65px;
}
#camereta #navigation .navbar nav.navigation ul {
background: #fff !important;
}
#camereta #navigation .navbar nav.navigation ul li {
padding: 20px 0;
-webkit-transition: .25s ease;
-moz-transition: .25s ease;
transition: .25s ease;
}
#camereta #navigation .navbar nav.navigation ul li a {
font-family: 'Open Sans', sans-serif;
font-weight: normal;
color: #000;
text-transform: uppercase;
font-size: 14px;
padding: 10px 20px;
-webkit-transition: .25s ease;
-moz-transition: .25s ease;
transition: .25s ease;
}
/* Slider --------------------------*/
.camera_wrap {float: none !important;display: block !important;}
.cameraContent div[id*='presentation_slide'], .imgLoaded {width: 100% !important;height: 100% !important;}
/* Content --------------------------*/
h2 span.cat-head {
border-bottom: 1px solid;
display: inline-block;
padding: 5px 35px 10px;
margin: 25px 0;
}
h3 span.cat-head {
display: inline-block;
padding: 6px 0;
margin-top: 15px;
border-top: 2px solid;
border-bottom: 2px solid;
}
#bonus-line {
background: #F9F9F9;
border-top: 1px solid #ccc;
color: #000;
}
#camereta .productSearchForm {position: relative;padding: 0 15px;}
#camereta .navbar .productSearchForm {
position: absolute;
top: 0;
right: 0;
}
#camereta .productSearchForm {
padding: 0 15px;
position: relative;
background: #000;
}
#camereta #menu .productSearchForm {
padding: 0 15px;
position: absolute;
top: 0;
right: 0;
}
#camereta .productSearchForm input.productSearchBox {
border: none;
outline: none;
width: 1px !important;
float: right;
margin: 15px;
padding: 15px 0 15px 30px !important;
font-size: 1em;
color: #333333;
transition: all .3s cubic-bezier(0,0,.5,1.5);
background: url(/images/search.png) no-repeat center right;
position: absolute;
right: 0;
background-color: #ffffff;
z-index: 100;
background-size: 15px;
box-shadow: none;
}
#camereta .productSearchForm input.productSearchBox:focus, #camereta .productSearchForm input.productSearchBox:active {
padding: 15px 0 15px 30px !important;
font-size: 1em;
background-position: calc(100% - 10px) center;
width: 200px !important;
min-width: 200px !important;
background-color: #F9F9F9;
right: 0;
border: 1px solid #E4E4E4;
box-shadow: none;
border-radius: 0;
}
#camereta .productSearchForm input.searchButton, #camereta form div.clear {display: none !important;}
/* Footer --------------------------*/
#camereta #footer {
background-color: #3C3C3C;
padding: 35px 0 50px;
}
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
color: #fff;
font-size: 16px;
text-transform: uppercase;
}
#camereta #footer p {
color: #848484;
}
#camereta #footer ul {
list-style: none;
margin: 0;
padding: 0;
}
#camereta #footer ul li a, #camereta #footer nav.navigation ul li a, #footer #categoryNav .cat_path_node .cat_link {
float: left;
width: 100%;
padding: 1px 0;
font-weight: normal;
color: #848484;
font-size: 14px;
}
#camereta #footer ul li:hover a {
text-decoration: underline;
}
#footer #categoryNav, #footer .cat_path_node.nav_node {
padding: 0;
}
#footer-menu {
background: #1d1d1d;
font-size: inherit;
}
#footer-menu > .container {
padding: 10px 0;
}
#footer-menu p {
margin: 0;
line-height: 3.3;
font-size: 14px;
}
.footer-small {
text-align: center;
}
/* Ecommerce --------------------------*/
#camereta #categoryProductListing {padding: 0;}
#sidebar .product_list_pagination {display: none;}
/* Buttons --------------------------*/
.custom_form_input input[type="submit"], .btn {
padding: 10px 20px;
background: #008cba;
color: #fff;
font-size: 1.2em;
border: none;
border-radius: 3px;
border-bottom: 3px solid #007095;
-webkit-transition: all 0.25s ease;
-moz-transition: all 0.25s ease;
-o-transition: all 0.25s ease;
transition: all 0.25s ease;
}
.custom_form_input input[type="submit"]:hover, .btn:hover {
background: #333;
border-bottom-color: #000;
color: #fff;
}
/* Forms --------------------------*/
.form_row {margin: 0;}
.form_row label {width: 100% !important;}
.form_row input[type="text"], .form_row textarea {padding: 10px;height: auto;}
.line_wrapper, .custom_form_input span input {cursor:pointer !important;}
.labels-inside iframe {display: none;}
.proPerPage select, .sortBy select, .categoryListPagination, .product_list_pagination select {width: auto !important;}
/* Social Media Icons --------------------------*/
#footer-menu .addthis_toolbox.addthis_32x32_style.addthis_default_style span {
display: none;
}
#footer-menu .addthis_32x32_style.addthis_default_style a[class*="addthis_button"]:before {
font-family: FontAwesome;
font-size: 1.4rem;
text-align: center;
line-height: 1.5;
width: 32px;
height: 32px;
float: left;
border-radius: 50%;
margin: 2px -2px 2px 2px;
color: #ccc;
}
#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_facebook_follow:before{content:"\f09a";color:#3b5998}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_twitter_follow:before{content:"\f099";color:#00aced}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_linkedin_follow:before{content:"\f0e1";color:#007bb6}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_google_follow:before{content:"\f0d5";color:#dd4b39;font-size:1.3em!important;margin-top:2px!important}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_youtube_follow:before{content:"\f16a";color:#b00}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_vimeo_follow:before{content:"\f194";color:#aad450}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_pinterest_follow:before{content:"\f0d2";color:#cb2027}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_rss_follow:before{content:"\f09e";color:#FF9533}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_foursquare_follow:before{content:"\f180";color:#0072b1}#footer-menu .addthis_32x32_style.addthis_default_style .addthis_button_instagram_follow:before{content:"\f16d";color:#517fa4}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_facebook_follow:hover:before{color:#3b5998}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_twitter_follow:hover:before{color:#00aced}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_linkedin_follow:hover:before{color:#007bb6}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_google_follow:hover:before{color:#dd4b39}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_youtube_follow:hover:before{color:#b00}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_vimeo_follow:hover:before{color:#aad450}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_pinterest_follow:hover:before{color:#cb2027}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_rss_follow:hover:before{color:#FF9533}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_foursquare_follow:hover:before{color:#0072b1}.social_links_toolbox#footer-menu .addthis_32x32_style .addthis_button_instagram_follow:hover:before{color:#517fa4}
/* Misc Items --------------------------*/
.google_map {width: 100% !important;}
a, span input, .submitButton, .custom_form_input input, input[type="submit"] {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
}
/* Responsiveness --------------------------*/
@media (min-width: 601px) {
#header_zone_1 img[id^='logo'] {display: none;}
nav.navigation > ul {display: block !important;}
#camereta #navigation .navbar nav.navigation > ul > li:first-child {
padding: 0;
}
#camereta #navigation .navbar nav.navigation > ul > li:first-child > a {
padding: 0 15px;
margin-top: 12px;
}
#camereta #navigation .navbar nav.navigation > ul > li:first-child > a span {
display: none;
}
#camereta #navigation .navbar nav.navigation > ul > li:first-child > a:after {
content: '';
display: block;
width: 55px;
height: 55px;
background: url(/images/default-logo.png) center center no-repeat;
background-size: 100%;
}
.footer-small {
text-align: right;
}
}
@media (max-width: 979px) {
body {padding: 0 !important;}
#container, #bonus-line {padding: 0 20px;}
#sub_header_zone_1 {display: none;}
#camereta .topbar {padding: 0 0 7px;}
}
@media (max-width: 600px) {
#header_zone_1 {text-align: center;}
#header_zone_1 img[id^='logo'] {
max-width: 100px !important;
text-align: center;
margin: 10px 0 0;
}
#camereta .productSearchForm input.productSearchBox {
margin: 8px;
}
#camereta #navigation .navbar nav.navigation ul li {
padding: 0;
}
#camereta #navigation .navbar nav.navigation > ul > li {
border: 1px solid #ccc;
margin-bottom: -1px;
}
#camereta #navigation .navbar nav.navigation > ul > li:last-child {
margin-bottom: 5px;
}
#camereta #navigation .navbar nav.navigation > ul li:hover {
background: #3C3B3B;
}
#camereta #navigation .navbar nav.navigation > ul li:hover > a, #camereta #navigation .navbar nav.navigation > ul li > a:hover, #camereta #navigation .navbar nav.navigation > ul li:hover > a span {
color: #fff;
}
nav.navigation .menu-toggle-button a {padding: 20px;}
}
以上是关于css 这类似于主题安装,因为它具有多个专门针对不同layout.css关联的css页面。的主要内容,如果未能解决你的问题,请参考以下文章
vuejs 在单个文件 vue 组件中具有范围 css 的多个主题