Template:CINVESTAV-IPN-UNAM MXCSS

From 2012.igem.org

(Difference between revisions)
Line 2: Line 2:
<style>
<style>
-
/*
+
#globalwrapper {
-
Title: Master styles for screen media
+
    width:1000px;
-
Author: dan@simplebits.com
+
    padding:0px 0px;
-
*/
+
    margin: 0 auto;
-
 
+
    background-Color:#FFFFFF;
-
/* LESS variables
+
    background-attachment: fixed;
-
--------------------------------------------- */
+
    background-position: center;
-
 
+
    background-size:100% 100%;
-
@text-color: #3e4549;
+
}
-
@link-color: #2790ae;
+
-
@link-hover-color: #0f6780;
+
-
 
+
-
@font-mono: Monaco, monospace;
+
-
@font-small: 12px;
+
-
@font-medium: 13px;
+
-
@font-large: 18px;
+
-
 
+
-
/* LESS mixins
+
-
--------------------------------------------- */
+
-
 
+
-
.rounded (@radius: 6px) {
+
-
-webkit-border-radius: @radius;
+
-
  -moz-border-radius: @radius;
+
-
        border-radius: @radius;
+
-
}
+
-
.box-shadow (@x: 0, @y: 0, @blur: 2px, @color: #000) {
+
-
-webkit-box-shadow: @arguments;
+
-
  -moz-box-shadow: @arguments;
+
-
        box-shadow: @arguments;
+
-
}
+
-
.box-sizing (@type: border-box) {
+
-
-webkit-box-sizing: @type;
+
-
  -moz-box-sizing: @type;
+
-
    -o-box-sizing: @type;
+
-
        box-sizing: @type;
+
-
}
+
-
.transition (@property, @duration: .2s, @timing: ease-in-out) {
+
-
-webkit-transition: @arguments;
+
-
  -moz-transition: @arguments;
+
-
    -o-transition: @arguments;
+
-
        transition: @arguments;
+
-
}
+
-
.tab-size (@spaces: 2) {
+
-
-webkit-tab-size: @spaces;
+
-
  -moz-tab-size: @spaces;
+
-
    -o-tab-size: @spaces;
+
-
        tab-size: @spaces;
+
-
}
+
-
 
+
-
/* reset styles
+
-
--------------------------------------------- */
+
-
 
+
-
html, body, div, span, applet, object, iframe,
+
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+
-
a, abbr, acronym, address, big, cite, code,
+
-
del, dfn, em, img, ins, kbd, q, s, samp,
+
-
small, strike, strong, sub, sup, tt, var,
+
-
b, u, i, center,
+
-
dl, dt, dd, ol, ul, li,
+
-
fieldset, form, label, legend,
+
-
table, caption, tbody, tfoot, thead, tr, th, td,
+
-
article, aside, canvas, details, embed,
+
-
figure, figcaption, footer, header, hgroup,
+
-
menu, nav, output, ruby, section, summary,
+
-
time, mark, audio, video {
+
-
margin: 0;
+
-
padding: 0;
+
-
border: 0;
+
-
font-size: 100%;
+
-
vertical-align: baseline;
+
-
}
+
-
 
+
-
/* HTML5 display-role reset for older browsers */
+
-
article, aside, details, figcaption, figure,
+
-
footer, header, hgroup, menu, nav, section {
+
-
display: block;
+
-
}
+
body {
body {
-
line-height: 1;
+
    background: #CECECE;
-
}
+
    background-Color:#FFFFFF;
-
ol, ul {
+
    background-attachment: fixed;
-
list-style: none;
+
    background-position: center;
-
}
+
    height:100%;
-
blockquote, q {
+
    background-size:100% 100%;
-
quotes: none;
+
}
-
}
+
#p-logo {
-
blockquote:before, blockquote:after,
+
     height:0px;
-
q:before, q:after {
+
     overflow:hidden;
-
content: '';
+
     display: none;
-
content: none;
+
}
-
}
+
-
table {
+
-
border-collapse: collapse;
+
-
border-spacing: 0;
+
-
}
+
-
:focus {
+
-
outline: none;
+
-
}
+
-
 
+
-
/* general styles
+
-
--------------------------------------------- */
+
-
 
+
-
body {
+
-
padding: 0 0 15px 0;
+
-
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
+
-
color: @text-color;
+
-
font-size: 100%;
+
-
background: #e6eaec url(../images/tile.png);
+
-
}
+
-
 
+
-
/* links */
+
-
 
+
-
a:link, a:visited {
+
-
color: @link-color;
+
-
text-decoration: none;
+
-
outline: none;
+
-
}
+
-
a:hover {
+
-
color: @link-hover-color;
+
-
}
+
-
 
+
-
/* page structure
+
-
--------------------------------------------- */
+
-
 
+
-
div.wrap {
+
-
position: relative;
+
-
}
+
-
div.main {
+
-
margin-left: 160px;
+
-
padding: 0 20px;
+
-
.transition(margin, .4s, ease-in-out);
+
-
}
+
-
body.expanded div.main {
+
-
margin-left: 15px;
+
-
}
+
-
#nav {
+
-
font-size: @font-small;
+
-
.box-sizing(border-box);
+
-
}
+
-
#pears-footer {
+
-
margin: 10px 20px;
+
-
text-align: center;
+
-
}
+
-
 
+
-
/* header
+
-
--------------------------------------------- */
+
-
 
+
-
header[role="banner"] {
+
-
margin: 15px 20px 15px 20px;
+
-
.transition(margin, .4s, ease-in-out);
+
-
}
+
-
body.expanded header[role="banner"] {
+
-
margin-left: 35px;
+
-
}
+
-
#logo {
+
-
display: block;
+
-
min-height: 46px;
+
-
padding: 0 0 0 40px;
+
-
font-size: 25px;
+
-
line-height: 46px;
+
-
white-space: nowrap;
+
-
color: @text-color;
+
-
background: url(../images/pear.png) no-repeat 0 50%;
+
-
overflow: hidden;
+
-
}
+
-
#logo em {
+
-
padding: 0 0 0 0;
+
-
font-style: normal;
+
-
color: #91969a;
+
-
.transition(opacity, .4s, ease);
+
-
}
+
-
 
+
-
/* main styles
+
-
--------------------------------------------- */
+
-
 
+
-
div.mod {
+
-
margin: 0 0 20px 0;
+
-
padding: 20px;
+
-
background: #fff;
+
-
.rounded;
+
-
.box-sizing(border-box);
+
-
.box-shadow(1px, 1px, 2px, rgba(0,0,0,.1));
+
-
}
+
-
div.mod h3.label {
+
-
float: left;
+
-
margin: 0 0 10px -20px;
+
-
padding: 6px 10px;
+
-
font-size: @font-small;
+
-
font-weight: normal;
+
-
letter-spacing: 1px;
+
-
text-transform: uppercase;
+
-
color: #fff;
+
-
background: #a1cf32;
+
-
.rounded(4px);
+
-
border-top-left-radius: 0;
+
-
border-bottom-left-radius: 0;
+
-
}
+
-
div.mod h3.label a {
+
-
color: #fff;
+
-
}
+
-
div.mod h4 {
+
-
float: left;
+
-
width: 50%;
+
-
padding: 2px 15px;
+
-
font-size: @font-large;
+
-
font-weight: normal;
+
-
}
+
-
div.mod h4 span.sep {
+
-
color: #bbb;
+
-
}
+
-
div.mod a.clip {
+
-
float: left;
+
-
margin: 2px 0 0 10px;
+
-
opacity: 0;
+
-
.transition(opacity);
+
-
}
+
-
div.mod:hover a.clip {
+
-
opacity: .7;
+
-
}
+
-
div.mod:hover a.clip:hover {
+
-
opacity: 1;
+
-
}
+
-
div#pattern.mod div#pattern-wrap {
+
-
clear: left;
+
-
padding: 20px 60px;
+
-
}
+
-
div#markup.mod {
+
-
float: left;
+
-
width: 49%;
+
-
background: rgba(255,255,255,.6);
+
-
}
+
-
div#style.mod {
+
-
float: right;
+
-
width: 49%;
+
-
background: rgba(255,255,255,.6);
+
-
}
+
-
div.mod textarea.mod-ta {
+
-
width: 100%;
+
-
border: none;
+
-
height: 500px;
+
-
font-family: @font-mono;
+
-
font-size: @font-small;
+
-
line-height: 1.4;
+
-
white-space: pre;
+
-
color: @text-color;
+
-
background: none;
+
-
outline: none;
+
-
.tab-size;
+
-
}
+
-
 
+
-
/* pattern notes */
+
-
 
+
-
#pattern-notes h3.label {
+
-
background: #bac1c5;
+
-
}
+
-
#pattern-notes p {
+
-
clear: left;
+
-
line-height: 1.4;
+
-
color: #8b959a;
+
-
}
+
-
#pattern-notes code {
+
-
font-family: @font-mono;
+
-
font-size: @font-medium;
+
-
}
+
-
#pattern-notes pre {
+
-
display: block;
+
-
margin: 12px 0 0 0;
+
-
padding: 15px 0 0 0;
+
-
font-family: @font-mono;
+
-
font-size: @font-small;
+
-
line-height: 1.4;
+
-
white-space: pre;
+
-
color: @text-color;
+
-
border-top: 1px solid #ddd;
+
-
}
+
-
 
+
-
/* nav styles
+
-
--------------------------------------------- */
+
-
 
+
-
#nav {
+
-
position: absolute;
+
-
top: 0;
+
-
left: 0;
+
-
width: 160px;
+
-
margin: 0 0 15px 0;
+
-
padding: 20px 0;
+
-
background: #575d60;
+
-
.rounded;
+
-
border-top-left-radius: 0;
+
-
border-bottom-left-radius: 0;
+
-
-webkit-transition: left .4s ease-in-out;
+
-
-moz-transition: left .4s ease-in-out;
+
-
-o-transition: left .4s ease-in-out;
+
-
transition: left .4s ease-in-out;
+
-
}
+
-
body.expanded #nav {
+
-
left: -140px;
+
-
}
+
-
#nav-toggle {
+
-
position: absolute;
+
-
display: block;
+
-
top: 0;
+
-
right: 0;
+
-
width: 20px;
+
-
height: 100%;
+
-
text-indent: -9999px;
+
-
background: url(../images/min.png) no-repeat 6px 50%;
+
-
opacity: .3;
+
-
}
+
-
#nav-toggle:hover {
+
-
background-color: rgba(255,255,255,.15);
+
-
opacity: .6;
+
-
}
+
-
body.expanded #nav-toggle {
+
-
background-image: url(../images/max.png);
+
-
}
+
-
#nav h2 {
+
-
margin: 0 20px 4px 20px;
+
-
font-size: @font-small;
+
-
font-weight: normal;
+
-
text-transform: uppercase;
+
-
letter-spacing: 2px;
+
-
}
+
-
#nav h2 a {
+
-
color: #fff;
+
-
}
+
-
#nav ul {
+
-
margin: 0 20px 15px 0;
+
-
padding: 0 0 10px 0;
+
-
border-bottom: 1px solid rgba(255,255,255,.1);
+
-
}
+
-
#nav div.nav-item:hover ul {
+
-
display: block;
+
-
}
+
-
#nav ul:last-of-type {
+
-
margin-bottom: 0;
+
-
padding-bottom: 0;
+
-
border-bottom: none;
+
-
}
+
-
#nav ul li a {
+
-
display: block;
+
-
padding: 5px 8px 5px 20px;
+
-
color: rgba(255,255,255,.5);
+
-
background: transparent;
+
-
.rounded(4px);
+
-
border-top-left-radius: 0;
+
-
border-bottom-left-radius: 0;
+
-
}
+
-
#nav ul li a:hover {
+
-
color: rgba(255,255,255,.8);
+
-
background: rgba(255,255,255,.1);
+
-
}
+
-
 
+
-
/* footer
+
-
--------------------------------------------- */
+
-
 
+
-
#pears-footer p.cc {
+
-
margin: 8px 0 20px 0;
+
-
font-size: @font-medium;
+
-
}
+
-
#pears-footer #sb img {
+
-
opacity: .3;
+
-
.transition(opacity);
+
-
}
+
-
#pears-footer #sb:hover img {
+
-
opacity: .5;
+
-
}
+
-
 
+
-
/* misc.
+
-
--------------------------------------------- */
+
-
 
+
-
hr, .hide {
+
-
display: none;
+
-
}
+
-
a img {
+
-
border: none;
+
-
}
+
-
 
+
-
/* custom selection colors */
+
-
 
+
-
::-moz-selection {
+
-
     color: #fff;
+
-
     color: rgba(255,255,255,.85);
+
-
     background: #a1cf32;
+
-
    }
+
-
::selection {
+
-
    color: #fff;
+
-
    color: rgba(255,255,255,.85);
+
-
    background: #a1cf32;
+
-
    }
+
-
/* self-clear floats */
+
#top-section {
 +
    background-image:url('https://static.igem.org/mediawiki/2012/7/7f/HeaderCINVESTAV-IPN-UNAM_MX.png');
 +
    background-color:#FFFFFF;
 +
    background-position: top;
 +
    width:1000px;
 +
    height:219px;
 +
    background-repeat: no-repeat;
 +
    border-width:0px;
 +
    border-top-width:0px;
 +
    border: 10px solid rgba(255, 255, 255,0.4);
 +
    background-clip: padding-box;
 +
    margin-top: -10px;
 +
    margin-bottom: -50px;
 +
}
-
.group:after {
+
#footer-box{
-
content: ".";  
+
    height:0px;
-
     display: block;  
+
    overflow:hidden;
-
     height: 0;  
+
     display: none;
-
     clear: both;  
+
}
-
     visibility: hidden;
+
#catlinks{
-
     }
+
     height:0px;
 +
     overflow:hidden;
 +
}
 +
#menubar ul li a {
 +
     color: white;  
 +
     background-color: transparent;
 +
}
 +
#search-controls {
 +
display:none;
 +
margin-top:0px;
 +
}
-
/* IE patches
+
#content{
-
--------------------------------------------- */
+
    height:0px;
 +
    overflow:hidden;
 +
    display: none;
 +
}
 +
*{margin:0;padding:0;font-family:trebuchet ms;}
-
/* self-clear floats */
+
 +
.Contenido{
 +
margin:auto;
 +
width:700px;
 +
background-color:#f8ffe9;
 +
line-height: 1.5em;
 +
font-size: 150%;
 +
text-align:justify;
 +
margin-top: 30px;
 +
}
-
* html .group { /* IE6 */
+
.Logo{float: left;}
-
height: 1%;
+
-
}
+
.thumbailMenu{
-
*:first-child+html .group { /* IE7 */
+
position: fixed;
-
min-height: 1px;
+
margin-left: 0px;
-
}
+
margin-top: -40px;
 +
width: 10px;
 +
padding: 1px;
 +
z-index: 1;
 +
}
-
/* responsiveness
+
h1, h2, h3 {font-weight:bold;color:#000000}
-
--------------------------------------------- */
+
 +
aside{border:1px solid #ccc;box-shadow:3px 3px 10px #999; font-style:italic;float:right;width:250px;}
-
@media screen and (max-width: 700px) {
 
-
#logo em {
 
-
opacity: 0;
 
-
}
 
-
div.main {
 
-
margin-left: 0;
 
-
padding: 0 10px;
 
-
}
 
-
#nav {
 
-
position: static;
 
-
left: auto;
 
-
width: auto;
 
-
padding: 20px;
 
-
.rounded;
 
-
}
 
-
#nav-toggle {
 
-
display: none;
 
-
}
 
-
#nav h2 {
 
-
margin-left: 8px;
 
-
}
 
-
#nav ul {
 
-
margin-right: 0;
 
-
-webkit-column-count: 2;
 
-
-moz-column-count: 2;
 
-
column-count: 2;
 
-
}
 
-
#nav ul li a {
 
-
padding: 5px 8px;
 
-
.rounded(4px);
 
-
}
 
-
div#pattern.mod div#pattern-wrap {
 
-
padding: 10px 0;
 
-
}
 
-
div#markup.mod,
 
-
div#style.mod {
 
-
float: none;
 
-
width: 100%;
 
-
}
 
-
div.mod h4 {
 
-
width: auto;
 
-
}
 
-
}
 
</style>
</style>
</html>
</html>

Revision as of 15:12, 25 September 2012