Difference between revisions of "Template:Uo2015-wikireset"

(Created page with "<html><style> * { box-sizing: border-box; } a:hover { text-decoration: underline !important; } body { font: 15px "Open Sans", Helvetica, sans-serif; margin: 0px; } h1...")
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html><style>
 
<html><style>
  
* {
+
/* ====== CSS Reset ====== */
   box-sizing: border-box;
+
/*html, body, div, span, applet, object, iframe,
}
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a:hover {
+
a, abbr, acronym, address, big, cite, code,
   text-decoration: underline !important;
+
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%;
 +
  font: inherit;
 +
  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 {
   font: 15px "Open Sans", Helvetica, sans-serif;
+
   line-height: 1;
  margin: 0px;
+
 
}
 
}
h1 {
+
ol, ul {
   color: #333;
+
   list-style: none;
  font: 28px Raleway;
+
 
}
 
}
h2 {
+
blockquote, q {
   color: #333;
+
   quotes: none;
  font: 22px Raleway;
+
 
}
 
}
.uocover {
+
blockquote:before, blockquote:after,
  background-repeat: no-repeat;
+
q:before, q:after {
  background-position: center bottom;
+
   content: '';
  background-size: cover;
+
   content: none;
  background-image: url("https://static.igem.org/mediawiki/2015/thumb/9/9f/Uo2015-cover.jpg/800px-Uo2015-cover.jpg");
+
  border-bottom: 2px solid #cd00cd;
+
  height: 700px;
+
   overflow: hidden;
+
   position: relative;
+
 
}
 
}
.uocover .uocover-content {
+
table {
  margin: auto;
+
   border-collapse: collapse;
  margin-top: 120px;
+
   border-spacing: 0;
  text-align: right;
+
  width: 700px;
+
}
+
.uocover .uocover-content span {
+
  background-color: rgba(240,240,240,0.75);
+
  padding: 0px 3px;
+
}
+
.uocover .uocover-content .big {
+
  color: #333;
+
  font: 800 46px Raleway;
+
}
+
.uocover .uocover-content .small {
+
  color: #90008f;
+
  font: 18px/24px "Open Sans";
+
}
+
.noborder nav {
+
   border-bottom: 0;
+
}
+
nav {
+
   border-bottom: 2px solid #cd00cd;
+
  font-family: Raleway;
+
  font-size: 17px;
+
  margin-bottom: 15px;
+
  padding: 10px;
+
  text-align: center;
+
}
+
nav.noborder {
+
  border-bottom: 0;
+
}
+
nav a {
+
  color: #ae00ae;
+
  margin-right: 30px;
+
  text-decoration: none;
+
}
+
nav a:last-child {
+
  margin-right: 0px;
+
}
+
.uowrapper {
+
  margin: auto;
+
  max-width: 1148px;
+
  width: 90%;
+
}
+
.uomenu {
+
  float: left;
+
  margin-top: 9px;
+
  padding-right: 15px;
+
  text-align: right;
+
  width: 24%;
+
}
+
.uomenu header {
+
  border-bottom: 1px dotted #666;
+
  font: 18px Raleway;
+
  padding: 15px 0px;
+
}
+
.uomenu a {
+
  color: #666;
+
  display: block;
+
  font: 14px Raleway;
+
  margin: 15px 0px;
+
  text-decoration: none;
+
}
+
.uocontent {
+
  float: left;
+
  width: 75%;
+
}
+
figure {
+
  border: 1px solid #999;
+
  border-radius: 7px;
+
  font-size: 0px;
+
  margin: 10px auto;
+
  max-width: 70%;
+
  padding: 7px;
+
  text-align: center;
+
}
+
figure img {
+
  max-width: 100%;
+
}
+
figure p {
+
  color: #666;
+
  font: 14px Raleway;
+
  text-align: center;
+
}
+
figure.full {
+
  max-width: 100%;
+
 
}
 
}
  
 +
/* ====== iGEM Wiki Reset ====== */
 +
body { top: -5px; } /* Body is offset down for some stupid reason */
 +
#mw-content-text > p {margin: 0px;} /* Wiki stupidly puts templates in <p> tags */
 +
#top-section, .firstHeading, #contentSub, #footer-box, #catlinks { display: none; }
 +
body, html, #globalWrapper, #content { padding: 0; margin: 0; width: 100%; border: 0; background: none; }
 +
#bodyContent{padding-top: 9px;}
 +
 +
#groupparts {width: 100% !important; }
 +
#partsTableContainer table {margin-left: auto; margin-right: auto; width: 100%; border: 1px solid #ae00ae;}
 +
table.pgrouptable th, table.pgrouptable td, table.pgrouptable tr {border: 0 !important; }
 +
table.pgrouptable thead th {background-color: #ae00ae; color: white; font-size: 14px; line-height: 18px; padding: 5px;}
 +
table.pgrouptable td {background-color: white; border-bottom: 1px solid #b3b3b3 !important; font-size: 14px; line-height: 18px; padding: 5px;}
  
 
</style></html>
 
</style></html>

Latest revision as of 19:12, 18 September 2015