AndrewWild (Talk | contribs) |
AndrewWild (Talk | contribs) |
||
Line 228: | Line 228: | ||
font-size:150%; | font-size:150%; | ||
} | } | ||
− | + | .container ul, .container ol{ | |
− | + | font-size:140%; | |
− | + | padding-right:40px; | |
− | + | padding-left:60px; | |
− | + | padding-top:10px; | |
} | } | ||
/*Heading styles*/ | /*Heading styles*/ | ||
Line 241: | Line 241: | ||
padding-left: 40px; | padding-left: 40px; | ||
padding-right: 40px; | padding-right: 40px; | ||
+ | padding-top: 40px; | ||
+ | padding-bottom:0; | ||
} | } | ||
h1{font-size:340%;} | h1{font-size:340%;} | ||
Line 252: | Line 254: | ||
font-size:200%; | font-size:200%; | ||
padding-left:40px; | padding-left:40px; | ||
+ | padding-top: 20px; | ||
+ | padding-bottom:-10px; | ||
} | } | ||
− | + | /*Italics for Quotes using i tag*/ | |
q{ | q{ | ||
text-align:center; | text-align:center; | ||
Line 261: | Line 265: | ||
font-size:120%; | font-size:120%; | ||
font-style: italic; | font-style: italic; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
/*Styling for links*/ | /*Styling for links*/ | ||
Line 283: | Line 279: | ||
border-style:none; | border-style:none; | ||
} | } | ||
− | # | + | #Section_Link, #Section_Link:visited{ |
− | + | display:block; | |
− | + | margin:0 auto 10px auto; | |
− | + | width:14px; | |
− | + | ||
} | } | ||
− | # | + | #Section_Link:hover{ |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
#sectionGap, #sectionGap:focus, #contentTitle{ | #sectionGap, #sectionGap:focus, #contentTitle{ | ||
Line 314: | Line 307: | ||
padding:0; | padding:0; | ||
} | } | ||
− | . | + | .div_vl{ |
− | padding: | + | padding-top:2%; |
− | + | height:35vw; | |
+ | width:95vw; | ||
+ | display:block; | ||
+ | margin-left:auto; | ||
+ | margin-right:auto; | ||
+ | } | ||
+ | .div_vl.backgroundimage{ | ||
+ | background-image: url('https://static.igem.org/mediawiki/2016/9/93/T--Exeter--Home_Background1.png'); | ||
+ | background-repeat:no-repeat; | ||
+ | background-size: 100% auto; | ||
width:100%; | width:100%; | ||
− | + | height:88vh; | |
} | } | ||
#title{ | #title{ | ||
Line 327: | Line 329: | ||
font-size:400%; | font-size:400%; | ||
} | } | ||
− | . | + | .div_content{ |
− | + | padding:0; | |
− | height: | + | min-height:100vh; |
− | + | width:100%; | |
+ | background:#eeeeee; | ||
} | } | ||
− | /* | + | |
− | + | /*div_banner contains to links at the top of each page to link to*/ | |
− | + | /*each section of the page*/ | |
− | + | .div_banner{ | |
− | + | max-width:90vw; | |
+ | margin:12vh auto 5vh auto; | ||
+ | display:block; | ||
+ | height:8vh; | ||
} | } | ||
− | + | ||
− | + | /*Contains styling for the left and right pictures of the banner*/ | |
− | + | .subdiv_banner{ | |
− | /*Contains | + | height:8vh; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
padding:0; | padding:0; | ||
− | margin: | + | margin:auto; |
− | + | position:relative; | |
− | + | bottom:0; | |
− | + | right:0; | |
− | + | ||
− | + | ||
} | } | ||
− | + | .subdiv_banner.left{ | |
+ | float:left; | ||
display:block; | display:block; | ||
− | |||
− | |||
} | } | ||
− | . | + | .subdiv_banner.right{ |
− | + | float:right; | |
− | + | ||
− | + | ||
display:block; | display:block; | ||
− | |||
− | |||
} | } | ||
− | . | + | .subdiv_banner.middle{ |
− | + | height:100%; | |
− | + | } | |
− | + | /*Positions the images in correct place in the divs*/ | |
+ | .subdiv_banner.left img, .subdiv_banner.right img{ | ||
width:100%; | width:100%; | ||
− | + | position: relative; | |
+ | top: 38%; | ||
+ | -ms-transform: translateY(-50%) /* IE 9 */ | ||
+ | -webkit-transform: translateY(-50%) /* Chrome, Safari, Opera */ | ||
+ | transform: translateY(-50%); | ||
} | } | ||
− | . | + | .banner_link,.banner_link:visited{ |
− | + | position: relative; | |
− | padding:0.5vw; | + | height:100%; |
− | + | padding:0, 2px!important; | |
+ | color:#47BCC2; | ||
+ | text-align:center; | ||
+ | font-size:1.5vw; | ||
+ | /*Max font size where "section" and "1" don't appear on*/ | ||
+ | } | ||
+ | .banner_link span.oneline{ | ||
+ | position: relative; | ||
+ | top: 34.5%; | ||
+ | -ms-transform: translateY(-50%) /* IE 9 */ | ||
+ | -webkit-transform: translateY(-50%) /* Chrome, Safari, Opera */ | ||
+ | transform: translateY(-50%); | ||
+ | } | ||
+ | .banner_link span.twoline{ | ||
+ | position: relative; | ||
+ | top: 7.5%; | ||
+ | -ms-transform: translateY(-50%) /* IE 9 */ | ||
+ | -webkit-transform: translateY(-50%) /* Chrome, Safari, Opera */ | ||
+ | transform: translateY(-50%); | ||
+ | } | ||
+ | .banner_link:hover{ | ||
+ | text-decoration:none; | ||
+ | color:#339499; | ||
+ | } | ||
+ | .link_fix{ | ||
+ | display:block; | ||
+ | position:relative; | ||
+ | height:1px; | ||
+ | top:-15px; | ||
} | } | ||
/*Mobile and small screen css*/ | /*Mobile and small screen css*/ | ||
@media (max-width: 767px){ | @media (max-width: 767px){ | ||
+ | .link_fix{ | ||
+ | display:none; | ||
+ | } | ||
.div_vl.backgroundimage{ | .div_vl.backgroundimage{ | ||
− | + | background-image: url('#'); | |
+ | background:#ddd; | ||
+ | } | ||
+ | #title{ | ||
+ | font-size:150%; | ||
+ | } | ||
+ | /*Makes side pictures on banner invisible on small screens*/ | ||
+ | /*as it clutters screen*/ | ||
+ | .subdiv_banner.left, .subdiv_banner.right{ | ||
+ | display:none; | ||
} | } | ||
− | |||
− | |||
− | |||
} | } | ||
</style> | </style> |
Revision as of 13:30, 5 October 2016