Team:CU-Boulder/PageBasic
From 2014.igem.org
(Difference between revisions)
Jimmynovik (Talk | contribs) |
Jimmynovik (Talk | contribs) |
||
(7 intermediate revisions not shown) | |||
Line 13: | Line 13: | ||
h4 {font-size:100%;} | h4 {font-size:100%;} | ||
- | .dropdown-menu .sub-menu { left: 100%; position: absolute; | + | .dropdown-menu .sub-menu { left: 100%; position: absolute; ; visibility: hidden; margin-top: -1px; } |
.dropdown-menu li:hover .sub-menu { visibility: visible; display: block; } | .dropdown-menu li:hover .sub-menu { visibility: visible; display: block; } | ||
Line 76: | Line 76: | ||
.btn-toolbar {margin-top:10px; text-align:center;} | .btn-toolbar {margin-top:10px; text-align:center;} | ||
+ | |||
+ | /*BANNER*/ | ||
+ | |||
+ | .banner {position: relative; top: 0; width: 100%;} | ||
/*BODY*/ | /*BODY*/ | ||
Line 157: | Line 161: | ||
- | #content { position: relative; width: 100%; # margin-left: 10px; margin: 0 auto; padding: | + | #content { position: relative; width: 100%; # margin-left: 10px; margin: 0 auto; padding: 0px 0px 0px 0px; color: black; border-left: 0px solid #444444; border-right: 0px solid #444444; line-height: 1.5em; z-index: 2; } |
+ | |||
+ | #column-one { padding-top: 0px; position: absolute; right: 0px; padding: 100px 20px 0 0; } /*Changes were made for borders and padding. You may want to readjust it*/ | ||
/* the left column width is specified in class .portlet */ #siteSub { display: none; } #contentSub { font-size: 84%; line-height: 1.2em; margin: 0 0 1.4em 1em; color: #7d7d7d; width: auto; } span.subpages { display: block; } | /* the left column width is specified in class .portlet */ #siteSub { display: none; } #contentSub { font-size: 84%; line-height: 1.2em; margin: 0 0 1.4em 1em; color: #7d7d7d; width: auto; } span.subpages { display: block; } | ||
Line 182: | Line 188: | ||
/* ** Diff rendering */ table.diff, td.diff-otitle, td.diff-ntitle { background-color: white; } td.diff-addedline { background: #cfc; font-size: smaller; } td.diff-deletedline { background: #ffa; font-size: smaller; } td.diff-context { background: #eee; font-size: smaller; } span.diffchange { color: red; font-weight: bold; } | /* ** Diff rendering */ table.diff, td.diff-otitle, td.diff-ntitle { background-color: white; } td.diff-addedline { background: #cfc; font-size: smaller; } td.diff-deletedline { background: #ffa; font-size: smaller; } td.diff-context { background: #eee; font-size: smaller; } span.diffchange { color: red; font-weight: bold; } | ||
- | /* ** keep the whitespace in front of the ^=, hides rule from konqueror ** this is css3, the validator doesn't like it when validating as css2 */ #bodyContent a[href ^="http://"], #bodyContent a[href ^="gopher://"] { /* background: url(external.png) center right no-repeat; rdr */ /* padding-right: 13px; rdr */ } #bodyContent a[href ^="https://"], .link-https { background: url(lock_icon.gif) center right no-repeat; padding-right: 16px; } #bodyContent a[href ^="mailto:"], .link-mailto { background: url(mail_icon.gif) center right no-repeat; padding-right: 18px; } #bodyContent a[href ^="news://"] { background: url(news_icon.png) center right no-repeat; padding-right: 18px; } #bodyContent a[href ^="ftp://"], .link-ftp { background: url(file_icon.gif) center right no-repeat; padding-right: 18px; } #bodyContent a[href ^="irc://"], .link-irc { background: url(discussionitem_icon.gif) center right no-repeat; padding-right: 18px; } | + | /* ** keep the whitespace in front of the ^=, hides rule from konqueror ** this is css3, the validator doesn't like it when validating as css2 */ |
+ | |||
+ | #bodyContent a[href ^="http://"], #bodyContent a[href ^="gopher://"] { /* background: url(external.png) center right no-repeat; rdr */ /* padding-right: 13px; rdr */ } #bodyContent a[href ^="https://"], .link-https { background: url(lock_icon.gif) center right no-repeat; padding-right: 16px; } #bodyContent a[href ^="mailto:"], .link-mailto { background: url(mail_icon.gif) center right no-repeat; padding-right: 18px; } #bodyContent a[href ^="news://"] { background: url(news_icon.png) center right no-repeat; padding-right: 18px; } #bodyContent a[href ^="ftp://"], .link-ftp { background: url(file_icon.gif) center right no-repeat; padding-right: 18px; } #bodyContent a[href ^="irc://"], .link-irc { background: url(discussionitem_icon.gif) center right no-repeat; padding-right: 18px; } | ||
/* disable interwiki styling */ #bodyContent a.extiw, #bodyContent a.extiw:active { color: #36b; background: none; padding: 0; } | /* disable interwiki styling */ #bodyContent a.extiw, #bodyContent a.extiw:active { color: #36b; background: none; padding: 0; } |
Latest revision as of 04:01, 9 June 2014