Difference between revisions of "Template:ShanghaiTechChina B/css/main.css"

 
Line 3: Line 3:
 
@font-face{font-family:OpenSans; src:url("../fonts/OpenSans-Regular.ttf");}
 
@font-face{font-family:OpenSans; src:url("../fonts/OpenSans-Regular.ttf");}
 
#content{width:100%;margin:0;padding:0;background-color:#E7E6D4!important;color:#231F20!important;font-family:OpenSans,Microsoft Yahei!important;}
 
#content{width:100%;margin:0;padding:0;background-color:#E7E6D4!important;color:#231F20!important;font-family:OpenSans,Microsoft Yahei!important;}
 +
#globalWrapper{font-family:OpenSans,Microsoft Yahei!important;}
 
#sideMenu{display:none;}
 
#sideMenu{display:none;}
 
#top_title{display:none;}
 
#top_title{display:none;}
Line 15: Line 16:
 
header.navbar div.container div li ul.dropdown-menu{background-color:#231F20!important;}
 
header.navbar div.container div li ul.dropdown-menu{background-color:#231F20!important;}
 
header.navbar div.container div li ul.dropdown-menu li{}
 
header.navbar div.container div li ul.dropdown-menu li{}
 +
/*header.navbar-fixed-top{margin-top:16px;}*/
 
.dropdown-menu{box-shadow:none!important;padding:0 0!important;text-align:center!important;}
 
.dropdown-menu{box-shadow:none!important;padding:0 0!important;text-align:center!important;}
 
.dropdown-menu li a{}
 
.dropdown-menu li a{}
Line 32: Line 34:
  
 
.bs-docs-footer{border-top:1px solid #bdc3c7!important;}
 
.bs-docs-footer{border-top:1px solid #bdc3c7!important;}
.bs-docs-sidebar .nav li a{font-size:20px!important;}
+
.bs-docs-sidebar{width:150%;}
.bs-docs-sidebar .nav .active a, .bs-docs-sidebar .nav .active:hover a, .bs-docs-sidebar .nav .active:focus > a{color:#231F20!important;border-left-color:#231F20!important;}
+
.bs-docs-sidebar .nav li a{font-size:20px;}
 +
.bs-docs-sidebar .nav .active a, .bs-docs-sidebar .nav .active:hover a, .bs-docs-sidebar .nav .active:focus > a{color:#231F20;border-left-color:#231F20;}
 
.bs-docs-sidebar .nav > li > a:hover, .bs-docs-sidebar .nav > li > a:focus {
 
.bs-docs-sidebar .nav > li > a:hover, .bs-docs-sidebar .nav > li > a:focus {
color:#231F20!important;border-left-color:#231F20!important;
+
color:#231F20;border-left-color:#231F20;
 
}
 
}
 +
.back_to_top{margin-top:15px;border-top:1px solid #bdc3c7;border-top-width:89%;}
 +
.back_to_top:hover{border-left-color:#E7E6D4!important;}
 +
.back_to_top:focus{border-left-color:#E7E6D4!important;}
 +
  
  
Line 47: Line 54:
  
 
div.division{margin-bottom:50px!important;}
 
div.division{margin-bottom:50px!important;}
div.intro{border-top:1px solid #bdc3c7!important;}
+
div.intro{}
  
 
div.circle{width:114px!important;height:114px!important;border-radius:100%!important;}
 
div.circle{width:114px!important;height:114px!important;border-radius:100%!important;}
Line 57: Line 64:
 
div.sistfore{background-color:#004098!important;}
 
div.sistfore{background-color:#004098!important;}
  
div.content{margin:0;padding:0;width:100%!important;}
+
div.content{/*margin-top:66px;*/margin-bottom:0;margin-left:0;margin-right:0;padding:0;width:100%!important;}
  
 
+
div.p{font-size:16px!important;line-height:1.75!important;margin:0 0 10px!important;font-family:OpenSans,Microsoft Yahei!important;}
h1{margin: .67em 0!important;font-size: 2em!important;}
+
div.h1{font-size:40px!important;line-height:1.75!important;margin:20px 0!important;font-family:OpenSans,Microsoft Yahei!important;border-bottom:1px solid #bdc3c7!important;}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{font-family: inherit!important;font-weight: 500!important;line-height: 1.1!important;color: inherit!important;}
+
div.h2{font-size:30px!important;line-height:1.1!important;margin:20px 0!important;font-family:OpenSans,Microsoft Yahei!important;}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small{font-weight: normal!important;line-height: 1!important;color: #777!important;}
+
div.h3{font-size:24px!important;line-height:1.1!important;margin:20px 0!important;font-family:OpenSans,Microsoft Yahei!important;}
h1, .h1, h2, .h2, h3, .h3{margin-top: 20px!important;margin-bottom: 10px!important;}
+
div.h4{font-size:18px!important;line-height:1.1!important;margin:20px 0!important;font-family:OpenSans,Microsoft Yahei!important;}
h1 small, .h1 small, h2 small, .h2 small, h3 small, .h3 small, h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small {font-size: 65%!important;}
+
div.h5{font-size:14px!important;line-height:1.1!important;margin:20px 0!important;font-family:OpenSans,Microsoft Yahei!important;}
h4, .h4, h5, .h5, h6, .h6{margin-top: 10px!important;margin-bottom: 10px!important;}
+
div.h6{font-size:12px!important;line-height:1.1!important;margin:20px 0!important;font-family:OpenSans,Microsoft Yahei!important;}
h4 small, .h4 small, h5 small, .h5 small, h6 small, .h6 small, h4 .small, .h4 .small, h5 .small, .h5 .small, h6 .small, .h6 .small{font-size: 75%!important;}
+
h1, .h1{font-size: 40px!important;}
+
h2, .h2 {font-size: 30px!important;}
+
h3, .h3 {font-size: 24px!important;}
+
h4, .h4 {font-size: 18px!important;}
+
h5, .h5 {font-size: 14px!important;}
+
h6, .h6 {font-size: 12px!important;}
+
p{margin: 0 0 10px!important;font-size: 16px!important;}
+
h2, h3{orphans: 3!important;widows: 3!important;}
+
h2, h3{page-break-after: avoid!important;}
+
  
  
 +
img, video{max-width:100%!important;}
  
 
@media (min-width: 768px) {
 
@media (min-width: 768px) {
Line 84: Line 82:
 
.dropdown-menu{clip:inherit!important;overflow:inherit!important;height:inherit!important;width:inherit!important;transform:translate(-50%, 0)!important;left:50%!important;margin:inherit!important;}
 
.dropdown-menu{clip:inherit!important;overflow:inherit!important;height:inherit!important;width:inherit!important;transform:translate(-50%, 0)!important;left:50%!important;margin:inherit!important;}
 
.dropdown-right{left:50%!important;right:inherit!important;}
 
.dropdown-right{left:50%!important;right:inherit!important;}
 +
header.navbar div.container div li a{font-size:12px!important;padding:0 8px!important;}
 
}
 
}
 +
@media (min-width: 950px) {
 +
header.navbar div.container div li a{font-size:14px!important;padding:0 10px!important;}
 +
}
 +
@media (min-width: 1270px) {
 +
header.navbar div.container div li a{font-size:20px!important;padding:0 15px!important;}
 +
}
 +
 +
div.ref{font-weight:900!important;}
 +
div.parts{font-weight:900!important;}
 +
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 23:45, 19 October 2016