Template:Team:DukeHomePage/CSS
From 2014.igem.org
(Difference between revisions)
(131 intermediate revisions not shown) | |||
Line 82: | Line 82: | ||
border:none; | border:none; | ||
background-color:#000; | background-color:#000; | ||
- | color:#fff; | + | font-color:#fff; |
font-size: 1em; | font-size: 1em; | ||
+ | font-family: Futura, Helvetica; | ||
} | } | ||
+ | |||
+ | #bodyContent a { | ||
+ | text-decoration:none; | ||
+ | color:#fff; | ||
+ | } | ||
+ | |||
/*This formats the stuff at the bottom. */ | /*This formats the stuff at the bottom. */ | ||
body { | body { | ||
background-color:#000; | background-color:#000; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
/* Title font */ | /* Title font */ | ||
.big { | .big { | ||
- | font-size: | + | font-size: 4em; |
color:#fff; | color:#fff; | ||
text-transform:uppercase; | text-transform:uppercase; | ||
text-align:center; | text-align:center; | ||
float:center; | float:center; | ||
+ | padding-bottom:0px; | ||
} | } | ||
- | /* Makes the | + | /* Makes the square buttons */ |
- | . | + | .sq-button { |
display:block; | display:block; | ||
width:100px; | width:100px; | ||
height:100px; | height:100px; | ||
+ | border:none; | ||
line-height:50px; | line-height:50px; | ||
- | |||
- | |||
color:#f5f5f5; | color:#f5f5f5; | ||
text-align:center; | text-align:center; | ||
text-decoration:none; | text-decoration:none; | ||
- | opacity: | + | opacity: 1; |
- | background: # | + | background: #0736A4; |
- | + | font-size:16px; | |
- | font-size: | + | |
font-weight:bold; | font-weight:bold; | ||
overflow:hidden; | overflow:hidden; | ||
- | transition: | + | -webkit-transition: all 0.5s ease; |
+ | -moz-transition: all 0.5s ease; | ||
+ | -o-transition: all 0.5s ease; | ||
+ | /*margins must be half of the change in size*/ | ||
+ | margin: 5px 5px; | ||
+ | line-height:200%; | ||
+ | } | ||
- | + | .sq-button span { | |
- | - | + | display: table-cell; |
- | - | + | text-align: center; |
+ | vertical-align: middle; | ||
} | } | ||
- | . | + | .sq-button:hover { |
- | background: # | + | background-color: #0000ff; |
opacity: 1; | opacity: 1; | ||
width: 110px; | width: 110px; | ||
height: 110px; | height: 110px; | ||
- | + | /*margins must be negative half of the change in size*/ | |
- | + | margin: -5px -5px; | |
- | /* | + | /* Glow effect */ |
- | + | -webkit-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0); | |
- | + | -moz-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0; | |
- | + | box-shadow: 0px 0px 20px rgba(7, 54, 164, 0); | |
} | } | ||
Line 157: | Line 163: | ||
text-align:center; | text-align:center; | ||
} | } | ||
+ | |||
+ | img.mainpic { | ||
+ | display:block; | ||
+ | text-align:center; | ||
+ | float:center; | ||
+ | padding-bottom: 10px; | ||
+ | } | ||
+ | |||
</style> | </style> | ||
Line 164: | Line 178: | ||
</head> | </head> | ||
- | |||
<body> | <body> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<div class="main"> | <div class="main"> | ||
- | |||
- | |||
- | |||
<p class="big"> | <p class="big"> | ||
- | Demonstrating | + | Demonstrating Ultrasensitivity |
</p> | </p> | ||
- | < | + | <center><a href="https://2014.igem.org"><img class="mainpic" src="https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png" width="400px" height="400px" /></a></center> |
- | + | <!--https://2014.igem.org/File:Mattigemlogowhite.png or https://static.igem.org/mediawiki/2014/1/1a/Mattigemlogowhite.png --> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
</div> | </div> | ||
- | |||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 14:23, 28 August 2014