Difference between revisions of "Template:BIOSINT Mexico"

Line 1,136: Line 1,136:
  
 
 
 
+
ul, ol {
 
+
list-style:none;
 
+
/* Intro */
+
 
+
#intro .logo {
+
border-bottom: 0;
+
display: inline-block;
+
margin: 0 0 1em 0;
+
overflow: hidden;
+
position: relative;
+
width: 11em;
+
 
}
 
}
 
+
.nav li a {
#intro .logo:before {
+
padding:0px 12px;
background-position: top left;
+
display:block;
background-repeat: no-repeat;
+
background-size: 100% 100%;
+
content: '';
+
display: block;
+
height: 100%;
+
left: 0;
+
position: absolute;
+
top: 0;
+
width: 100%;
+
}
+
 
+
#intro .logo img {
+
display: block;
+
margin-left: -0.15em;
+
width: 9em;
+
}
+
 
+
#intro header h2 {
+
font-size: 2em;
+
font-weight: 900;
+
 
}
 
}
 
+
#intro header p {
+
.nav li a:hover {
font-size: 0.8em;
+
 
}
 
}
 
+
@media screen and (max-width: 1280px) {
+
.nav li ul {
 
+
display:none;
#intro {
+
position:absolute;
margin: 0 0 3em 0;
+
}
text-align: center;
+
}
+
.nav li:hover > ul {
 
+
background-color:#4E4444;
#intro header h2 {
+
display:block;
font-size: 2em;
+
}
}
+
 
+
.nav li ul li {
#intro header p {
+
position:relative;
font-size: 0.7em;
+
}
+
  
 
}
 
}
  
@media screen and (max-width: 736px) {
 
  
#intro {
 
margin: 0 0 1.5em 0;
 
padding: 1.25em 0;
 
}
 
  
#intro > :last-child {
+
/* Intro */
margin-bottom: 0;
+
}
+
  
#intro .logo {
+
margin: 0 0 0.5em 0;
+
}
+
 
+
#intro header h2 {
+
font-size: 1.25em;
+
}
+
 
+
#intro header > :last-child {
+
margin-bottom: 0;
+
}
+
 
+
}
+
  
 
/* Footer */
 
/* Footer */

Revision as of 09:23, 19 October 2016

WIKI IGEM 2016