Difference between revisions of "Template:SMMU-China/CSS main"

(Replaced content with " .big_framework { background-color:white; display:block; width: 100%; } .big_framework .medium_framework { margin:auto; max-width: 1400px; width:90%; }")
Line 1: Line 1:
/* Header */
 
 
#header {
 
background: #fff;
 
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.075);
 
color: inherit;
 
cursor: default;
 
font-size: 0.8em;
 
left: 0;
 
padding: 1em 1.5em;
 
position: fixed;
 
top: 0;
 
width: 100%;
 
z-index: 10000;
 
}
 
 
#header h1 {
 
font-weight: 900;
 
margin: 0;
 
}
 
 
#header h1 span {
 
font-weight: 300;
 
}
 
 
#header nav {
 
letter-spacing: 0.075em;
 
position: absolute;
 
right: 1.5em;
 
text-transform: uppercase;
 
top: 0.75em;
 
}
 
 
#header nav ul {
 
list-style: none;
 
padding-left: 0;
 
}
 
 
#header nav ul li {
 
display: inline-block;
 
margin-left: 1.5em;
 
padding-left: 0;
 
}
 
 
#header nav ul li > ul {
 
display: none;
 
}
 
 
#header nav ul li a {
 
border: solid 1px transparent;
 
color: inherit;
 
display: inline-block;
 
line-height: 1em;
 
padding: 0.6em 0.75em;
 
text-decoration: none;
 
}
 
 
#header nav ul li input[type="button"],
 
#header nav ul li input[type="submit"],
 
#header nav ul li input[type="reset"],
 
#header nav ul li button,
 
#header nav ul li .button {
 
font-size: 1em;
 
min-width: 0;
 
width: auto;
 
}
 
 
#header nav ul li.submenu > a {
 
text-decoration: none;
 
}
 
 
#header nav ul li.submenu > a:before {
 
-moz-osx-font-smoothing: grayscale;
 
-webkit-font-smoothing: antialiased;
 
font-family: FontAwesome;
 
font-style: normal;
 
font-weight: normal;
 
text-transform: none !important;
 
}
 
 
#header nav ul li.submenu > a:before {
 
content: '\f107';
 
margin-right: 0.65em;
 
}
 
 
#header nav ul li.active > a, #header nav ul li:hover > a {
 
-moz-transition: all 0.2s ease-in-out;
 
-webkit-transition: all 0.2s ease-in-out;
 
-ms-transition: all 0.2s ease-in-out;
 
transition: all 0.2s ease-in-out;
 
background: rgba(188, 202, 206, 0.15);
 
}
 
 
#header nav ul li.current > a {
 
font-weight: 900;
 
}
 
  
 
.big_framework {
 
.big_framework {

Revision as of 14:52, 8 July 2019

.big_framework { background-color:white; display:block; width: 100%; }

.big_framework .medium_framework { margin:auto; max-width: 1400px; width:90%; }