Difference between revisions of "Template:CSU CHINA"

Line 544: Line 544:
 
</head>
 
</head>
 
<style>
 
<style>
.navbar{
+
body{
font-size:16px;
+
padding:0;
 +
margin:0;
 +
background:#fff;
 +
position:relative;
 +
font-family: 'Raleway', sans-serif;
 
}
 
}
 +
body a{
 +
    transition:0.5s all;
 +
-webkit-transition:0.5s all;
 +
-moz-transition:0.5s all;
 +
-o-transition:0.5s all;
 +
-ms-transition:0.5s all;
 +
}
 +
a:hover{
 +
text-decoration:none;
 +
}
 +
h1,h2,h3,h4,h5,h6{
 +
margin:0;
 +
}
 +
p{
 +
margin:0;
 +
}
 +
ul{
 +
margin:0;
 +
padding:0;
 +
}
 +
label{
 +
margin:0;
 +
}
 +
img{
 +
width:100%;
 +
}
 +
div#top_title{
 +
        display:none;
 +
}
 +
/*--/navbar--*/
 +
.navbar {
 +
    padding: 0.8em 2em 0.5em;
 +
    font-size:16px;
 +
}
 +
nav.navbar.shrink {
 +
    width: 100%;
 +
    background-color: rgba(17, 17, 17, 0.73) !important;
 +
    transition: all 0.3s ease;
 +
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
 +
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
 +
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
 +
}
 +
a.navbar-brand {
 +
    font-size: 1em;
 +
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.37);
 +
    color: #fff;
 +
}
 +
 +
.navbar-light .navbar-brand {
 +
    color: #fff;
 +
    font-weight: 600;
 +
    letter-spacing: 1px;
 +
}
 +
.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
 +
    color: #fff;
 +
}
 +
li.nav-item {
 +
    margin: 0 15px;
 +
}
 +
 +
.navbar-light .navbar-nav .nav-link {
 +
    padding: 0.3em 0em;
 +
    color: #fff;
 +
    background: transparent;
 +
    letter-spacing: 1px;
 +
}
 +
 +
.navbar-light .navbar-nav .show > .nav-link,
 +
.navbar-light .navbar-nav .active > .nav-link,
 +
.navbar-light .navbar-nav .nav-link.show,
 +
.navbar-light .navbar-nav .nav-link.active,
 +
.navbar-light .navbar-nav .nav-link:hover,
 +
.navbar-light .navbar-nav .nav-link:focus {
 +
    background: transparent;
 +
    color: #fff;
 +
}
 +
 +
.dropdown-item {
 +
    padding: 0.5em 1.5rem;
 +
    margin: 0;
 +
}
 +
 +
.dropdown-menu {
 +
    margin: -1px;
 +
    padding: 0;
 +
}
 +
 +
/*---*/
 +
.tlinks{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
 +
/*---*/
 +
 +
.dropdown-toggle::after {
 +
    width: 0;
 +
    height: 0;
 +
    margin-left: 0;
 +
    content: "";
 +
    border-top: 0.3em solid;
 +
    border-right: 0.3em solid transparent;
 +
    border: 0px;
 +
}
 +
 +
li.nav-item.active,li.nav-item:hover {
 +
    border-bottom: 2px solid #4c6ef5;
 +
}
 +
 +
.dropdown-item:hover,
 +
.dropdown-item:focus {
 +
    color: #4c6ef5;
 +
    text-decoration: none;
 +
    background-color: #f0f0f1;
 +
}
 +
 +
/*-- //header --*/
 
</style>
 
</style>
 
<body>
 
<body>

Revision as of 11:33, 18 September 2019