Template:CINVESTAV-IPN-UNAM MXCSS

From 2012.igem.org

(Difference between revisions)
Line 2: Line 2:
<style>
<style>
-
#globalwrapper {
+
/*
-
    width:1000px;
+
Title: Master styles for screen media
-
    padding:0px 0px;
+
Author: dan@simplebits.com
-
    margin: 0 auto;
+
*/
-
    background-Color:#FFFFFF;
+
 
-
    background-attachment: fixed;
+
/* LESS variables
-
    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 {
-
    background: #CECECE;
+
line-height: 1;
-
    background-Color:#FFFFFF;
+
}
-
    background-attachment: fixed;
+
ol, ul {
-
    background-position: center;
+
list-style: none;
-
    height:100%;
+
}
-
    background-size:100% 100%;
+
blockquote, q {
-
}
+
quotes: none;
-
#p-logo {
+
}
-
     height:0px;
+
blockquote:before, blockquote:after,
-
     overflow:hidden;
+
q:before, q:after {
-
     display: none;
+
content: '';
-
}
+
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 {
+
.group:after {
-
    background-image:url('http://2012.igem.org/wiki/images/7/7f/HeaderCINVESTAV-IPN-UNAM_MX.png');
+
content: ".";  
-
     background-color:#FFFFFF;
+
     display: block;  
-
    background-position: top;
+
     height: 0;  
-
    width:1000px;
+
     clear: both;  
-
     height:219px;
+
     visibility: hidden;
-
    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;
+
-
}
+
-
#footer-box{
+
/* IE patches
-
    height:0px;
+
--------------------------------------------- */
-
    overflow:hidden;
+
-
    display: none;
+
-
}
+
-
#catlinks{
+
-
    height:0px;
+
-
    overflow:hidden;
+
-
}
+
-
#menubar ul li a {
+
-
    color: white;
+
-
    background-color: transparent;
+
-
}
+
-
#search-controls {
+
-
display:none;
+
-
margin-top:0px;
+
-
}
+
-
#content{
+
/* self-clear floats */
-
    height:0px;
+
-
    overflow:hidden;
+
-
    display: none;
+
-
}
+
-
*{margin:0;padding:0;font-family:trebuchet ms;}
+
-
+
* html .group { /* IE6 */
-
.Contenido{
+
height: 1%;
-
margin:auto;
+
}
-
width:700px;
+
*:first-child+html .group { /* IE7 */
-
background-color:#f8ffe9;
+
min-height: 1px;
-
line-height: 1.5em;
+
}
-
font-size: 150%;
+
-
text-align:justify;
+
-
margin-top: 30px;
+
-
}
+
-
.Logo{float: left;}
+
/* responsiveness
-
+
--------------------------------------------- */
-
.thumbailMenu{
+
-
position: fixed;
+
-
margin-left: 0px;
+
-
margin-top: -40px;
+
-
width: 10px;
+
-
padding: 1px;
+
-
z-index: 1;
+
-
}
+
-
h1, h2, h3 {font-weight:bold;color:#000000}
+
@media screen and (max-width: 700px) {
-
+
#logo em {
-
aside{border:1px solid #ccc;box-shadow:3px 3px 10px #999; font-style:italic;float:right;width:250px;}
+
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:11, 25 September 2012