Difference between revisions of "Template:SZMS 15 Shenzhen/indexsccss"
(Created page with "@charset "UTF-8"; →@font-face { font-family: NotoSansHans; src: url('../font-face/NotoSansHans-Thin.otf'); }: @media screen and (min-width:320px) and (max-width:780px) { #nav-...") |
|||
Line 1: | Line 1: | ||
+ | #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo { | ||
+ | display:none;} | ||
+ | #top-section { | ||
+ | border: none; | ||
+ | height: 0px;} | ||
+ | #content { | ||
+ | border: none; | ||
+ | width:100%;} | ||
+ | |||
+ | |||
@charset "UTF-8"; | @charset "UTF-8"; | ||
/*@font-face | /*@font-face | ||
Line 123: | Line 133: | ||
} | } | ||
.nav-logo { | .nav-logo { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 11:46, 3 September 2015
- contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
display:none;}
- top-section {
border: none; height: 0px;}
- content {
border: none;
width:100%;}
@charset "UTF-8";
/*@font-face
{
font-family: NotoSansHans;
src: url('../font-face/NotoSansHans-Thin.otf');
}*/
@media screen and (min-width:320px) and (max-width:780px) {
#nav-div {
width: 100%;
margin-left: -33px;
}
.nav-li { display:none; } .nav-button { display: block; } .sub{ width: 100%; margin-bottom: 5px; } .sub-heading{ height:896px; }
}
@media screen and (min-width:780px) and (max-width:1000px) { #nav-div { width: 100%; }
.nav-li { display: block; width: 14.5%; } .nav-button { display: none; } .sub{ width: 25%; } .sub-heading{ height:224px; }
}
@media screen and (min-width:1000px) {
#nav-div {
width:1000px;
margin-left: auto; margin-right: auto;
}
.nav-li { display: block; width: 150px; } .nav-button { display: none; } .sub{ width: 25%; } .sub-heading{ height:224px; }
}
body{
margin: 0px; padding: 0px; font-family: NotoSansHans, NotoSansHans-Thin, Calibri, Arial, sans-serif; /*change if necessary*/
}
- heading{
position: relative; z-index: 1; margin-bottom: 10px; cursor:pointer;
}
.nav-list{
display: block; margin: 0px;
}
.nav-li{
font-family: NotoSansHans, NotoSansHans-Thin, Calibri, Arial, sans-serif; float: left; list-style-type: none; text-align: center; line-height: 2.6;
} .nav-logo{
list-style-type: none;
} .nav-list li a{
text-decoration: none; display: block; color: #FFFFFF;
}
.nav-list li a:hover{
color: #BBBBBB;
}
- menubar{
background-color: rgba(16, 38, 67, 0.7); height: 42px; top:20px; width:100%; position: fixed; z-index: 3;
}
.nav-logo img{
width:200px; padding-top: 4px; margin: 0px;
} .nav-logo {