Difference between revisions of "Team:British Columbia/Test/Custom CSS"
Line 14: | Line 14: | ||
<!-- ========================= Bootstrap core CSS ======================== --> | <!-- ========================= Bootstrap core CSS ======================== --> | ||
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"> | <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"> | ||
+ | |||
+ | <!-- ================ CUSTOM CSS (Making Media wiki look less shitty) ===================================== --> | ||
+ | |||
+ | <style type="text/css"> | ||
+ | |||
+ | |||
+ | #center_welcome{ | ||
+ | top: 50%; | ||
+ | } | ||
+ | |||
+ | #top-section { | ||
+ | width: 100%; | ||
+ | margin-left: 0px; | ||
+ | left: 0px; | ||
+ | } | ||
+ | |||
+ | .firstHeading { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | .panel-default { | ||
+ | border-color: transparent; | ||
+ | } | ||
+ | |||
+ | #ubc_igem_logo { | ||
+ | height: 100%; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | p { | ||
+ | font-family: 'PT Sans', sans-serif; | ||
+ | font-size: 110%; | ||
+ | } | ||
+ | |||
+ | body{ | ||
+ | margin: 0 0 0 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | header { | ||
+ | background-image: url('https://static.igem.org/mediawiki/2014/b/b9/Banner-01.png'); | ||
+ | background-repeat: no-repeat; | ||
+ | background-position: 50% 50%; | ||
+ | background-size: 2200px; | ||
+ | height: 200px; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | svg { | ||
+ | height: 200px; | ||
+ | } | ||
+ | |||
+ | img#sponsor_platinum{ | ||
+ | width: 500px; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | img#sponsor_gold{ | ||
+ | width: 400px; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | img#sponsor_silver{ | ||
+ | width: 250px; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | center-block { | ||
+ | display: block; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | } | ||
+ | |||
+ | #welcome { | ||
+ | display: inline-block; | ||
+ | vertical-align: middle; | ||
+ | float: none; | ||
+ | } | ||
+ | |||
+ | .vertical-align { | ||
+ | display: flex; | ||
+ | align-items: center; | ||
+ | } | ||
+ | |||
+ | |||
+ | .scrollup { | ||
+ | width: 40px; | ||
+ | height: 40px; | ||
+ | position: fixed; | ||
+ | bottom: 50px; | ||
+ | right: 50px; | ||
+ | float: right; | ||
+ | } | ||
+ | |||
+ | .scrollup:hover{ | ||
+ | opacity: 0.4; | ||
+ | } | ||
+ | |||
+ | </style> | ||
Revision as of 20:41, 30 March 2015