Difference between revisions of "Template:Cooper Union/CSS"
(Created page with "body { background-color:pink; }") |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Template_All_Teams}} | ||
+ | <html> | ||
+ | <style type="text/css"> | ||
body { | body { | ||
− | + | ||
+ | font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; | ||
} | } | ||
+ | body { | ||
+ | font-size: 15px; | ||
+ | background: #dddddd; | ||
+ | } | ||
+ | |||
+ | |||
+ | h1 { | ||
+ | margin-left:30px; | ||
+ | border:none !important; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | h2 { | ||
+ | border: none; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | .page-body-content { margin:30px; } | ||
+ | |||
+ | .text { | ||
+ | margin-left:100px; | ||
+ | margin-right:100px; | ||
+ | } | ||
+ | |||
+ | ul { | ||
+ | list-style:disc; | ||
+ | list-style-position:inside; | ||
+ | } | ||
+ | |||
+ | table, td { | ||
+ | border: 1px solid black; | ||
+ | padding: 5px 10px; | ||
+ | } | ||
+ | |||
+ | table { | ||
+ | border-collapse: collapse; | ||
+ | margin:25px; | ||
+ | } | ||
+ | |||
+ | .center { | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .right { | ||
+ | text-align: right; | ||
+ | margin-right: 1em; | ||
+ | } | ||
+ | |||
+ | a:link, a:visited, a:active { | ||
+ | color: #383838; | ||
+ | font-family: Helvetica, Arial, sans-serif; | ||
+ | text-decoration: underline; | ||
+ | } | ||
+ | |||
+ | a:hover { | ||
+ | color: #383838; | ||
+ | font-family: Helvetica, Arial, sans-serif; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | sup, sub { | ||
+ | vertical-align: baseline; | ||
+ | position: relative; | ||
+ | top: -0.4em; | ||
+ | } | ||
+ | sub { top: 0.4em; } | ||
+ | |||
+ | |||
+ | .data table, td { | ||
+ | border: 1px solid black; | ||
+ | padding: 5px; | ||
+ | margin:10px; | ||
+ | border-collapse: collapse; | ||
+ | font: -1; | ||
+ | } | ||
+ | |||
+ | .wallotext { | ||
+ | background-color: #CCCCFF; | ||
+ | } | ||
+ | |||
+ | /* Bio Pictures */ | ||
+ | .headshot { | ||
+ | float: left; | ||
+ | margin-right: 15px; | ||
+ | margin-bottom: 15px; | ||
+ | } | ||
+ | |||
+ | .bio { | ||
+ | clear: left; | ||
+ | margin-bottom: 15px; | ||
+ | float: left; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* Removes auto wiki parameters */ | ||
+ | |||
+ | |||
+ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading {display: none;} /*-- hides default wiki settings --*/ | ||
+ | |||
+ | #globalWrapper, #content { /*-- changes default wiki settings --*/ | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | border: 0px; | ||
+ | background-color: transparent; | ||
+ | margin: 0px; | ||
+ | padding: 0px; | ||
+ | } | ||
+ | |||
+ | html, body, .wrapper { /*-- changes default wiki settings --*/ | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | background-color: #ffffff; | ||
+ | |||
+ | } | ||
+ | |||
+ | #top-section-bar { /*-- styling full width bar which hides behind default menu bar (edit, page, history, etc.) --*/ | ||
+ | background-color: #ffffff; | ||
+ | height: 14px; | ||
+ | display: block; | ||
+ | z-index: 10; | ||
+ | position: fixed; | ||
+ | width: 100%; | ||
+ | top: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | #menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/ | ||
+ | color: #727272; | ||
+ | text-decoration: none; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /* Top Menu Bar */ | ||
+ | |||
+ | #menubar > ul > li:last-child { | ||
+ | display: none;} | ||
+ | #menubar { | ||
+ | width: auto;} | ||
+ | |||
+ | body { | ||
+ | margin: 10px 0 0 0; | ||
+ | padding: 0;} | ||
+ | #top-section { | ||
+ | width: 100%; | ||
+ | height: 0; | ||
+ | margin: 0 auto; | ||
+ | padding: 0; | ||
+ | border: none;} | ||
+ | #menubar { | ||
+ | font-size: 65%; | ||
+ | top: -14px;} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* Main Page specialty format */ | ||
+ | |||
+ | .menu-parent { width:100%; height:50px; background-color:#ffffff; position:relative; top:0; } | ||
+ | .menu-top-logo { position:absolute; top:0; right:0; height: 50px; } | ||
+ | |||
+ | .parent-container { width:100%; } | ||
+ | .sponsors { font-weight:bold; } | ||
+ | .sponsors img { height:50px; margin-bottom:10px; } | ||
+ | |||
+ | .footer { margin:30px 0; width:100% } | ||
+ | .footer div { float:left; width:27%; margin:0 0 0 3%; } | ||
+ | .footer br.clear-left { clear:left; } | ||
+ | |||
+ | .footer div ul { list-style-type:none !important; list-style-image:none; padding:0; margin:0; } | ||
+ | .footer div ul li { list-style-type:none !important; list-style-image:none; padding:0; margin:0; } | ||
+ | .footer-blurb p { font-size:0.9em; color:#444; } | ||
+ | .footer em { font-weight:bold; } | ||
+ | |||
+ | .hero-image { width:100%; height:300px; overflow:hidden; padding:0; margin:0 0 30px 0; } | ||
+ | .hero-image img { width:100%; margin:0; /*position:fixed; z-index:-1; top:0; left:0;*/ } | ||
+ | |||
+ | |||
+ | /* Hardware Alignment */ | ||
+ | |||
+ | .hardware { display:inline-block; white-space: nowrap; margin-right: 10px; } | ||
+ | .hardware span {display: inline; font: 16px; font-family: Arial, Hevletica, Sans-Serif; } | ||
+ | |||
+ | /* Footer Alignment */ | ||
+ | .cu-footer { width:100%;} | ||
+ | .bottom-left { vertical-align: top; margin: 5px 0px 0px 150px; float: left; display: inline-block; white-space: nowrap; } | ||
+ | .bottom-center { vertical-align: top; margin: 5px 90px 0px 90px; align: center; display: inline-block; white-space: nowrap; } | ||
+ | .bottom-right { vertical-align: top; margin: 5px 150px 0px 0px; float: right; display: inline-block; white-space: nowrap; } | ||
+ | |||
+ | |||
+ | /* dropdown menu */ | ||
+ | |||
+ | ul.menu { | ||
+ | font: bold 18px san-serif; | ||
+ | text-align: left; | ||
+ | color: #272727; | ||
+ | display: inline; | ||
+ | margin: 0; | ||
+ | padding: 15px 4px 17px 0; | ||
+ | list-style: none; | ||
+ | -webkit-box-shadow: 0 0 0px rgba(0, 0, 0, 0.15); | ||
+ | -moz-box-shadow: 0 0 0px rgba(0, 0, 0, 0.15); | ||
+ | box-shadow: 0 0 0px rgba(0, 0, 0, 0.15); | ||
+ | } | ||
+ | ul.menu li { | ||
+ | font: 18px sans-serif; | ||
+ | color: #272727; | ||
+ | display: inline-block; | ||
+ | margin-right: -4px; | ||
+ | position: relative; | ||
+ | padding: 15px 20px; | ||
+ | background: #ffffff; | ||
+ | cursor: pointer; | ||
+ | -webkit-transition: all 0.2s; | ||
+ | -moz-transition: all 0.2s; | ||
+ | -ms-transition: all 0.2s; | ||
+ | -o-transition: all 0.2s; | ||
+ | transition: all 0.2s; | ||
+ | } | ||
+ | |||
+ | ul.menu li:hover { background: #696969; color: #ffffff; } | ||
+ | ul.menu li.menu-project:hover { background: #000036; color: #ffffff; } | ||
+ | ul.menu li.menu-safety:hover { background: #BF0029; color: #ffffff; } | ||
+ | ul.menu li.menu-outreach:hover { background: #FFC500; color: #ffffff; } | ||
+ | ul.menu li.menu-notebook:hover { background: #027D00; color: #ffffff; } | ||
+ | ul.menu li.menu-team:hover { background: #00A9FF; color: #ffffff; } | ||
+ | |||
+ | ul.menu li ul { | ||
+ | padding: 0; | ||
+ | position: absolute; | ||
+ | top: 48px; | ||
+ | left: 0; | ||
+ | width: 150px; | ||
+ | -webkit-box-shadow: none; | ||
+ | -moz-box-shadow: none; | ||
+ | box-shadow: none; | ||
+ | display: none; | ||
+ | opacity: 0; | ||
+ | visibility: hidden; | ||
+ | -webkit-transiton: opacity 0.2s; | ||
+ | -moz-transition: opacity 0.2s; | ||
+ | -ms-transition: opacity 0.2s; | ||
+ | -o-transition: opacity 0.2s; | ||
+ | -transition: opacity 0.2s; | ||
+ | } | ||
+ | ul.menu li ul li { | ||
+ | background: #ffffff; | ||
+ | display: block; | ||
+ | font: 12px sans-serif; | ||
+ | color: #272727; | ||
+ | text-shadow: 0 -1px 0 #000000; | ||
+ | margin:0; | ||
+ | } | ||
+ | ul.menu li ul li:hover { background: #cccccc; } | ||
+ | ul.menu li.menu-project ul li:hover { background: #000036; color: #ffffff; } | ||
+ | ul.menu li.menu-safety ul li:hover { background: #BF0029; color: #ffffff; } | ||
+ | ul.menu li.menu-outreach ul li:hover { background: #FFC500; color: #ffffff; } | ||
+ | ul.menu li.menu-notebook ul li:hover { background: #027D00; color: #ffffff; } | ||
+ | ul.menu li.menu-team ul li:hover { background: #00A9FF; color: #ffffff; } | ||
+ | ul.menu li:hover ul { | ||
+ | display: block; | ||
+ | opacity: 1; | ||
+ | visibility: visible; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* menu link style */ | ||
+ | a.menu:link { color: #272727; font-family: Helvetica, Arial, sans-serif; text-decoration: none; } | ||
+ | a.menu:visited { color: #272727; font-family: Helvetica, Arial, sans-serif; text-decoration: none; } | ||
+ | a.menu:hover { color: #ffffff; font-family: Helvetica, Arial, sans-serif; text-decoration: none; } | ||
+ | a.menu:active { color: #ffffff; font-family: Helvetica, Arial, sans-serif; text-decoration: none; } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | .cu-footer .bottom-center a { font-size:1.2em; font-weight:bold; text-decoration:none; display:block; width:100px; height:100px; float:left; margin:6px; padding:0; text-align:center; } | ||
+ | .cu-footer .bottom-center a span { /* visibility:hidden; */ display:block; } | ||
+ | .cu-footer .bottom-center a { opacity: 0.5; filter: alpha(opacity=50); } | ||
+ | .cu-footer .bottom-center a:hover { opacity: 1; filter: alpha(opacity=100); color:#000 !important; } | ||
+ | .cu-footer .bottom-center a:hover span { visibility:visible; text-align:center; } | ||
+ | |||
+ | .cu-footer .bottom-center .black { color:Black; } | ||
+ | .cu-footer .bottom-center .red { color:red; } | ||
+ | .cu-footer .bottom-center .yellow { color:yellow; } | ||
+ | .cu-footer .bottom-center .green { color:green; } | ||
+ | .cu-footer .bottom-center .blue { color:lightblue; } | ||
+ | |||
+ | |||
+ | .cu-footer .bottom-center .blue { color:lightblue; } | ||
+ | |||
+ | .cu-footer{ position:relative; } | ||
+ | .cu-footer .bottom-left {float:none; margin:0 !important; position:absolute; top:0; left:0; } | ||
+ | .cu-footer .bottom-right {float:none; margin:0 !important; position:absolute; top:0; right:20px; } | ||
+ | .cu-footer .bottom-center {float:none; margin:0 !important; position:absolute; top:0; left:50%; margin-left:-222px !important; width:565px; } | ||
+ | |||
+ | @media only screen and (max-width:830px){ | ||
+ | .cu-footer .bottom-left { top:180px; } | ||
+ | .cu-footer .bottom-right { top:180px; } | ||
+ | } | ||
+ | |||
+ | |||
+ | .cooper-home-banner { width:100%; overflow:hidden; height:400px; position:relative; z-index:0; } | ||
+ | .cooper-home-banner .banner-bg { position:absolute; bottom:0; left:0; width:100%; min-width:740px; z-index:1; } | ||
+ | .cooper-home-banner .org-logo { z-index:9; position:absolute; top:0; right:70%; width:25%; max-width:400px; } | ||
+ | .cooper-home-banner .org-logo img { width:100%; } | ||
+ | .cooper-home-banner .banner-text { z-index:9; position:absolute; top:0; margin-top:5%; left:35%; width:48%; } | ||
+ | .cooper-home-banner .banner-text p { font-family:verdana; font-weight:bold; font-size:3.7em; color:white; margin:0; text-shadow: 4px 4px #000; line-height:1.1em; } | ||
+ | |||
+ | .cooper-home-banner .banner-text p.project { color:red; font-size:4.5em; } | ||
+ | |||
+ | @media only screen and (max-width:1000px){ | ||
+ | .cooper-home-banner {height:280px; } | ||
+ | } | ||
+ | @media only screen and (min-width:1200px){ | ||
+ | .cooper-home-banner .banner-text p { font-size:4.5em; } | ||
+ | .cooper-home-banner .banner-text p.project { color:red; font-size:5.2em; } | ||
+ | } | ||
+ | @media only screen and (min-width:1601px){ | ||
+ | .cooper-home-banner .banner-text p { font-size:6.2em; } | ||
+ | .cooper-home-banner .banner-text p.project { color:red; font-size:8em; } | ||
+ | } | ||
+ | |||
+ | ul.menu { z-index:999; } | ||
+ | |||
+ | ul.menu li, | ||
+ | ul.menu li a { font-family:arial !important; text-shadow:none !important; font-size:1.1em !important; } | ||
+ | ul.menu li ul.menu li a { font-size:0.8em !important; } | ||
+ | |||
+ | #slideshow { | ||
+ | margin: 50px auto; | ||
+ | position: relative; | ||
+ | width: 720px; | ||
+ | height: 480px; | ||
+ | padding: 10px; | ||
+ | padding-left: -20px; | ||
+ | box-shadow: 0 0 20px rgba(0,0,0,0.4); | ||
+ | } | ||
+ | #slideshow div{ | ||
+ | float:right; | ||
+ | margin-top: 2cm; | ||
+ | clear:left; | ||
+ | } | ||
+ | |||
+ | #slideshow > div { | ||
+ | position: absolute; | ||
+ | top: 10px; | ||
+ | left: 10px; | ||
+ | right: 10px; | ||
+ | bottom: 10px; | ||
+ | } | ||
+ | #slideshow img{ | ||
+ | padding-top: 2cm; | ||
+ | } | ||
+ | |||
+ | </style> | ||
+ | |||
+ | <title>Cooper Union 2015 iGEM</title> |
Latest revision as of 19:43, 18 September 2015